postfix

package
v0.0.0-...-ffe3fa0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2013 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QMGR_REQ_SCAN_DEFERRED = 'D' // scan deferred queue
	QMGR_REQ_SCAN_INCOMING = 'I' // scan incoming queue
	QMGR_REQ_FLUSH_DEAD    = 'F' // flush dead xport/site
	QMGR_REQ_SCAN_ALL      = 'A' // ignore time stamps
)

postfix-2.10.1/src/global/mail_proto.h

View Source
const (
	VmailerExtraOffs = iota
	Postfix10DataOffset
	Postfix10RecipientCount
	Postfix21qmgrFlags
	Postfix24ContentLength
)

postfix-2.10.1/src/global/rec_type.h postfix-2.10.1/src/global/record.c

Variables

This section is empty.

Functions

func MailTrigger

func MailTrigger(service string, request rune, timeout time.Duration) (err error)

postfix-2.10.1/src/global/mail_trigger.c postfix-2.10.1/src/util/unix_trigger.c

Types

type PostfixMail

type PostfixMail struct {
	// contains filtered or unexported fields
}

func NewPostfixMail

func NewPostfixMail(filePath string) *PostfixMail

func (*PostfixMail) Close

func (m *PostfixMail) Close() error

func (*PostfixMail) Content

func (m *PostfixMail) Content() io.Reader

func (*PostfixMail) From

func (m *PostfixMail) From() *mail.Address

func (*PostfixMail) Name

func (m *PostfixMail) Name() string

func (*PostfixMail) Parse

func (m *PostfixMail) Parse() (err error)

func (*PostfixMail) Path

func (m *PostfixMail) Path() string

func (*PostfixMail) String

func (m *PostfixMail) String() string

func (*PostfixMail) Subject

func (m *PostfixMail) Subject() string

func (*PostfixMail) To

func (m *PostfixMail) To() []*mail.Address

type PostfixMailFileFactory

type PostfixMailFileFactory struct{}

func (*PostfixMailFileFactory) Create

func (p *PostfixMailFileFactory) Create(filePath string) mailfile.Mail

type RecordReader

type RecordReader struct {
	// contains filtered or unexported fields
}

func NewRecordReader

func NewRecordReader(reader io.Reader) *RecordReader

func (*RecordReader) Read

func (r *RecordReader) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL