postmaster-0.1: Postmaster ESMTP ServerContentsIndex
Network.Postmaster.FSM
PortabilityHaskell 2-pre
Stabilityprovisional
Maintainersimons@cryp.to
Description
Synopsis
mkEvent :: HostName -> FilePath -> EventHandler
announce :: String -> EventT
queryA :: HostName -> Smtpd (Maybe [HostAddress])
queryPTR :: HostAddress -> Smtpd (Maybe [HostName])
queryMX :: HostName -> Smtpd (Maybe [(HostName, HostAddress)])
feed :: DataHandler
isEhloPeer :: Smtpd Bool
trigger :: Event -> Smtpd SmtpReply
myHeloName :: Smtpd HostName
getMailFrom :: Smtpd Mailbox
getMailID :: Smtpd ID
getPeerAddr :: Smtpd (Maybe SockAddr)
getPeerHelo :: Smtpd HostName
getSessionState :: Smtpd SessionState
Documentation
mkEvent :: HostName -> FilePath -> EventHandler
Generate the standard ESMTP event handler. The parameters are the path to the spool directory and our HELO name.
announce :: String -> EventT
Append the given ESMTP keyword to the reply produced during SayEhlo.
queryA :: HostName -> Smtpd (Maybe [HostAddress])
queryPTR :: HostAddress -> Smtpd (Maybe [HostName])
queryMX :: HostName -> Smtpd (Maybe [(HostName, HostAddress)])
feed :: DataHandler
isEhloPeer :: Smtpd Bool
trigger :: Event -> Smtpd SmtpReply
Trigger the given event.
myHeloName :: Smtpd HostName
Will fail when HELONAME is not set.
getMailFrom :: Smtpd Mailbox
getMailID :: Smtpd ID
Will fail when MailID is not set.
getPeerAddr :: Smtpd (Maybe SockAddr)
getPeerHelo :: Smtpd HostName
Will fail when PEERHELO is not set.
getSessionState :: Smtpd SessionState
Produced by Haddock version 2.1.0