Expand description
The filesystem implementation of the queue manager,
writing mails (MailContext and MessageBody)
to the /var/spool/vsmtp directory (path configurable).
The structure of the spool is the following:
$> tree -L 2 /var/spool/vsmtp
/var/spool/vsmtp
├── dead # fatal error happened
├── delegated # [`delegation flow`] (smtp ping/pong with another service)
├── deliver # to deliver (first attempt)
├── deferred # to deliver (1..N) times (at least one error occurred before)
├── mails # the message body (received between DATA and "<CRLF>.<CRLF>"
│ ├── <msg-id>.eml # * stored as received (not modified)
│ └── <msg-id-2>.json # * parsed and stored in .json (possibly modified)
└── working # mail to be processed (after taking its responsibility bu issuing a "250 Ok")