Documentation
¶
Index ¶
- Constants
- type BounceMail
- type Config
- type DatabaseConfig
- type Driver
- func (driver *Driver) BlacklistRecipients(senderdomain string, reasons []string, softbounce *bool, limit uint64, ...) (recipients []string, err error)
- func (driver *Driver) Close()
- func (driver *Driver) IsBounced(name string, value string, senderdomain string) (bounced bool, err error)
- func (driver *Driver) RecentlyBounced(name string, value string, senderdomain string) (bounced []BounceMail, err error)
- type Flags
- type Server
- type UserConfig
Constants ¶
View Source
const (
DefaultConfig = "config.tml"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BounceMail ¶
type BounceMail struct { Id int32 Timestamp time.Time Lhost string Rhost string Alias string Listid string Reason string Action string Subject string Messageid string Smtpagent string Softbounce uint8 Smtpcommand string Destination string Senderdomain string Feedbacktype string Diagnosticcode string Deliverystatus string Timezoneoffset string Addresser string Recipient string Digest string CreatedAt time.Time `db:"created_at"` UpdatedAt time.Time `db:"updated_at"` Whitelisted uint8 }
type DatabaseConfig ¶
type Driver ¶
type Driver struct {
DbMap *gorp.DbMap
}
func (*Driver) BlacklistRecipients ¶ added in v0.1.6
func (*Driver) RecentlyBounced ¶
type UserConfig ¶ added in v0.1.6
Click to show internal directories.
Click to hide internal directories.