Skip to content

Fix allow sending emails from regexp aliases when spoof protection is enabled#1032

Merged
johansmitsnl merged 1 commit intodocker-mailserver:masterfrom
Birkenstab:master
Sep 12, 2018
Merged

Fix allow sending emails from regexp aliases when spoof protection is enabled#1032
johansmitsnl merged 1 commit intodocker-mailserver:masterfrom
Birkenstab:master

Conversation

@Birkenstab
Copy link
Copy Markdown
Contributor

How to reproduce

After adding /etc/postfix/regexp to smtpd_sender_login_maps it worked as expected.

For LDAP this probably has to be fixed in a similar way.

Before I discovered this bug I set a alias for a whole domain in postfix-virtual.cf: @domain.tld [email protected]. This worked for receiving mails as expected but not for sending mails. The sending was rejected with same error as above. Although the file /etc/postfix/virtual is included in the smtpd_sender_login_maps so this might be a bug in Postfix?

Sidenote

When I was trying to build this project, I first got a error message from docker that it couldn't find a file. Until I realized that there is git submodule I hadn't cloned yet. I suggest adding it to the Readme (maybe create a build section with additional infos?) in case someone stumbles upon the same problem.

@johansmitsnl
Copy link
Copy Markdown
Contributor

Thanks for the contribution!

Please add a PR for the readme and I'll accept it.

@johansmitsnl johansmitsnl merged commit a198ea8 into docker-mailserver:master Sep 12, 2018
@markusstephanides
Copy link
Copy Markdown

Good work, thanks!

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.

3 participants