Documentation ¶
Overview ¶
Package exim implements some stuff around the Exim SMTP server.
Currently this is limited to a mainlog processor.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mainlog ¶
Mainlog represent the collection of mainlog files
func (Mainlog) Parse ¶
func (mainlog Mainlog) Parse(messages chan<- *MessageLog) error
Parse walks the Mainlogs and sends completed MessageLogs to the messages channel.
type MainlogLine ¶
type MainlogLine struct {
// contains filtered or unexported fields
}
mainlogLine represents a mainlog line
func (*MainlogLine) String ¶
func (ml *MainlogLine) String() string
String represents the Mainlog line as a string
type MessageLog ¶
type MessageLog struct {
TimeReceived, TimeDone time.Time
ID string
Sender string
Client string
Proto string
Completed bool
Recipients []string
// contains filtered or unexported fields
}
MessageLog represents the logs of a single message
func (MessageLog) Fields ¶
func (m MessageLog) Fields() (fields []string)
Fields returns the list of exported fields
Click to show internal directories.
Click to hide internal directories.