Main

C functions and wrappers around them

setResGid

setResUid

low-level, Posix-specific functions

openIfNExist

withMailFile

getUserIDs

getUniqueName

utility functions

forceEitherMsg

warning

mkError

Program config

data Config

getConfig

deal with addresses

validateAddr

handleAddr

whopping big monolithic funcs

deliverMail

main

testing

test