WIP: Moved postfix to use the emailprimary attribute instead of mail #1
Loading…
Reference in New Issue
No description provided.
Delete Branch "bugfix/fix-duplicated-emails"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue I ran into setting up my own similar system. When Postfix gets multiple values for the destination email from an LDAP lookup, it duplicates the incoming email for each result and tries to store each one in a mailbox for each of those emails. Since Dovecot is probably only configured to use the primary email address as a mailbox, this fails, and a bounce message is sent for every email that isn't the one Dovecot has a mailbox for. If Dovecot does have a mailbox for the alias, that's likely unintended because the intended recipient of the message will not see the email (since it's in a different mailbox).
Probably shouldn't merge it yet, since this should also probably be extended to the LDAP search queries for mail and alias lookups.
asdf
Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.