The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

POP3 command-handlers:

commandUSER
commandPASS
commandLIST
commandSTAT
commandRETR
commandDELE
commandRSET
commandQUIT
commandNOOP
commandUIDL
commandTOP

new

Takes config hash-ref.

start

Takes input, output filehandles, and client IP.

load_class

Loads class - function, not method.

bad_user

Handles bad user.

peer_lookup

Reverse lookup.

log_user_open

Optional per-user brief logging of connection times

log_user_close

log_user_entry

Record mpopd conversations in the individual mailbox log.

send_to_user

Takes $text, $log_suppress.

CRLF is added here, and also logged if $log_suppress is false

force_shutdown

# Close the mailbox in a sane state and close the connection

log_entry

Write something in the main mpopd log

shutdown

Clean up and exit