Possibilities for future improvement
Have a separate ìincomingî queue directory from the spool of messages for which at least one delivery attempt has already been made
- Avoids lock contention between new incoming mail and existing mail that is currently being processed
- Also allows for incoming queue on SSD, with long-lasting messages to be migrated to rotating media