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

Add variable to choose whether to bounce or reject email when recipient is unknown. Fixes #583 #626

Merged

Conversation

ofthesun9
Copy link
Contributor

As described in #583, Mailu bounces email when recipient is unknown.
This PR add a variable (in .env) to choose whether to reject or to bounce.

If the variable is not set, the current Mailu behaviour is kept (equivalent to set it to "no")
To REJECT mail, the .env file has to set the variable to yes

@ofthesun9 ofthesun9 changed the title Add variable to choose whether to bounce or reject email when recipient is unknown. Fixes #583nlisted recipient Add variable to choose whether to bounce or reject email when recipient is unknown. Fixes #583 Oct 4, 2018
Copy link
Member

@kaiyou kaiyou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, anyone else available for a review?

@muhlemmer
Copy link
Member

Perhaps it's wise to indicate in .env that no / bounce is the default?

@mergify mergify bot merged commit 2b1c94d into Mailu:master Oct 6, 2018
@ofthesun9 ofthesun9 deleted the feature-smtpd_reject_unlisted_recipient branch October 6, 2018 18:18
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

Successfully merging this pull request may close these issues.

None yet

4 participants