Don't remove the address extension in postfix
Currently when the mail address is looked up by Postfix (using the admin part) the address extension is removed. This is due to the address extension being removed to look up the user, and afterwards returning the users mail address. But by not returning the mail address including the address extension it also isn't part anymore in the LMTP communication to Dovecot. So Dovecot doesn't know about the extension, and in turn the address extension can't be used in Sieve mail filtering. This change fixes that by returning the original address by just concatinating the "localpart" and domain again when the user is found. Fixes #982master
parent
5d20f2893a
commit
989e4d5db5
Loading…
Reference in New Issue