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

smtpsrv: return proper errors and limit RCPT TO #3251

Merged
merged 13 commits into from
Aug 31, 2023
Merged

Conversation

mastercactapus
Copy link
Member

Description:
This PR adds the proper error code responses in the validation logic for the SMTP server.
Additionally, multiple RCPT TO fields are now rejected by default (the current behavior is to only create the alert for the last one). A new flag --smtp-max-recipients can be used to increase this limit.

allending313
allending313 previously approved these changes Aug 30, 2023
allending313
allending313 previously approved these changes Aug 30, 2023
@mastercactapus mastercactapus merged commit 31a1da5 into master Aug 31, 2023
@mastercactapus mastercactapus deleted the smtp-errors branch August 31, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants