Documentation ¶
Index ¶
Constants ¶
View Source
const ( None = iota Incoming Quarantine )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheEntry ¶
type CacheEntry struct {
// contains filtered or unexported fields
}
type CachingProxy ¶
type CachingProxy struct {
// contains filtered or unexported fields
}
func NewCachingProxy ¶
func NewCachingProxy(target Filter, size int) *CachingProxy
func (*CachingProxy) String ¶
func (cf *CachingProxy) String() string
type ContentInspectionFilter ¶
type ContentInspectionFilter struct {
// contains filtered or unexported fields
}
func NewContentInspectionFilter ¶
func NewContentInspectionFilter(next Filter, allPass bool, anlz analyzer.Analyzer) *ContentInspectionFilter
func (*ContentInspectionFilter) Filter ¶
func (cif *ContentInspectionFilter) Filter(mail mailfile.Mail) Result
func (*ContentInspectionFilter) Key ¶
func (cif *ContentInspectionFilter) Key(mail mailfile.Mail) string
func (*ContentInspectionFilter) String ¶
func (cif *ContentInspectionFilter) String() string
type DefaultDestinationFilter ¶
type DefaultDestinationFilter struct {
// contains filtered or unexported fields
}
func NewDefaultDestinationFilter ¶
func NewDefaultDestinationFilter() *DefaultDestinationFilter
func (*DefaultDestinationFilter) Filter ¶
func (ddf *DefaultDestinationFilter) Filter(mail mailfile.Mail) Result
func (*DefaultDestinationFilter) String ¶
func (ddf *DefaultDestinationFilter) String() string
type DeliverFilter ¶
type DeliverFilter struct {
// contains filtered or unexported fields
}
func NewDeliverFilter ¶
func NewDeliverFilter(next Filter, paths map[Result]string) *DeliverFilter
func (*DeliverFilter) String ¶
func (df *DeliverFilter) String() string
type FileHandlerAdapter ¶
type FileHandlerAdapter struct {
// contains filtered or unexported fields
}
func NewFileHandlerAdapter ¶
func NewFileHandlerAdapter(filter Filter, factory mailfile.MailFileFactory) *FileHandlerAdapter
func (*FileHandlerAdapter) Handle ¶
func (fha *FileHandlerAdapter) Handle(filePath string)
type RelayOnlyFilter ¶
type RelayOnlyFilter struct {
// contains filtered or unexported fields
}
func NewRelayOnlyFilter ¶
func NewRelayOnlyFilter(next Filter, localDomain string) *RelayOnlyFilter
func (*RelayOnlyFilter) String ¶
func (sof *RelayOnlyFilter) String() string
type SubjectPrefixMatchFilter ¶
type SubjectPrefixMatchFilter struct {
// contains filtered or unexported fields
}
func NewSubjectPrefixMatchFilter ¶
func NewSubjectPrefixMatchFilter(next Filter, subjectPrefixes []string) *SubjectPrefixMatchFilter
func (*SubjectPrefixMatchFilter) Filter ¶
func (spmf *SubjectPrefixMatchFilter) Filter(mail mailfile.Mail) Result
func (*SubjectPrefixMatchFilter) String ¶
func (spmf *SubjectPrefixMatchFilter) String() string
Click to show internal directories.
Click to hide internal directories.