zimbraMailCatchAllCanonicalAddress outbound rewrite?
Posted: Wed Oct 03, 2018 9:45 pm
awhile back I asked a question about domain rewrites for outbound when i did 8.6->8.7, and discovered that i had to do per-account modifications for outbound rewrites to work properly. Just yesterday I had to add a different domain to a FOSS/OSE zimbra install and created the looping email setup again, because I followed the documentation I found on the zimbra wiki.
My setup:
postfix MTA on mailhub.company.com. Completely independent, accepts email for "user@company.com". Redirects to user@zimbra.company.com and via postfix transport, sends to zimbra.company.com host. Redirects some other other users to "user@host2.company.com" and via postfix transport, sends to zimbra.company.com.
Zimbra Free-Edition running on zimbra.company.com. With a couple domains, "zimbra.company.com" and "host2.company.com".
I ran the following to generat the loop:
mail would loop between my external MTA and the zimbra server.
Previously I solved this for a handful of accounts by modifying each account and manually setting the "zimbraPrefFromAddress" for each one in the zimbra.company.com domain.
I just undid the above code and instead just ran:
This appears to have done the right thing, inbound mail is delivered, and outbound mail appears to have the from address rewritten from "user@host2.company.com" to "user@company.com".
My question, what exactly is this command doing/modifying? I can't find documentation on either of these settings to read, and I'm wary of just running random re-write commands and hoping they work. So any help, or pointers to documents would be greatly appreciated.
My setup:
postfix MTA on mailhub.company.com. Completely independent, accepts email for "user@company.com". Redirects to user@zimbra.company.com and via postfix transport, sends to zimbra.company.com host. Redirects some other other users to "user@host2.company.com" and via postfix transport, sends to zimbra.company.com.
Zimbra Free-Edition running on zimbra.company.com. With a couple domains, "zimbra.company.com" and "host2.company.com".
I ran the following to generat the loop:
Code: Select all
zmprov md zimbra.company.com zimbraMailCatchAllAddress @host2.company.com zimbraMailCatchAllCanonicalAddress @company.com
Previously I solved this for a handful of accounts by modifying each account and manually setting the "zimbraPrefFromAddress" for each one in the zimbra.company.com domain.
I just undid the above code and instead just ran:
Code: Select all
zmprov md zimbra.company.com zimbraMailCatchAllCanonicalAddress @company.com
My question, what exactly is this command doing/modifying? I can't find documentation on either of these settings to read, and I'm wary of just running random re-write commands and hoping they work. So any help, or pointers to documents would be greatly appreciated.