Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FelixSchwarz opened this issue Sep 9, 2024 · 1 comment
Open

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

FelixSchwarz opened this issue Sep 9, 2024 · 1 comment
Milestone

Comments

@FelixSchwarz
Copy link
Owner

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:

  • -oem: the return code is 2 if the problem is that the original message has no recipients, or 1 for any other error.
@FelixSchwarz FelixSchwarz added this to the LATER milestone Sep 9, 2024
@FelixSchwarz
Copy link
Owner Author

Exit code 2 implemented in cd9b684.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant