Text.ParserCombinators.Parsec.Rfc2821

# ESMTP State Machine

data SessionState

data Event

type SmtpdFSM

smtpdFSM

handleSmtpCmd

# Data Types for SMTP Commands

data SmtpCmd

data Mailbox

nullPath

postmaster

# Data Types for SMTP Replies

data SmtpReply

data SmtpCode

data SuccessCode

data Category

reply

isSuccess

isFailure

isShutdown

# Command Parsers

type SmtpParser st

smtpCmd

smtpData

rset

mail

ehlo

helo

turn

quit

rcpt

expn

vrfy

saml

soml

send

help

noop

# Argument Parsers

from_path

to_path

path

mailbox

local_part

domain

a_d_l

at_domain

address_literal

ipv4_literal

ipv4addr

subdomain

dot_string

atom

snum

number

word

# Helper Functions

fixCRLF

mkCmd0

mkCmd1

tokenList