FelixSchwarz / mailqueue-runner

sends emails stored in a maildir repository via SMTP
MIT License
3 stars 0 forks source link

`mq-sendmail` should use the same exit codes like `sendmail` #47

Open FelixSchwarz opened 2 months ago

FelixSchwarz commented 2 months ago

I am actually not 100% sure which exit codes are used by sendmail. msmtp claims full compatibility so maybe I need to read their source code.

Maybe only use compatible exit codes if called as sendmail (not mq-sendmail) if we want detailed error reporting?

From the Exim command line specification:

FelixSchwarz commented 2 months ago

Exit code 2 implemented in cd9b684a6925921f4b43024c415fa48f049e1664.