Zimbra domain aliasing and all outgoing mail carrying alias domain for Alpha
Objective[edit]
1. All the users needs to be mapped seemlessly to newsnation.in along with nationtoday.in ( original domain is nationtoday.in)
2. All the mails address needs to be from email address user@newsnation.in instead of user@nationtoday.in.This mapping should be seem less without any changes on or from user side .
Solution[edit]
http://wiki.zimbra.com/wiki/Managing_Domains
1. Creation of DNS entry for newsnation.in on both the Active and passive Server . ( not explained here )
2. domain aliasing nationtoday.in ( primary ) to newsnation.in ( secondary )
su - zimbra zmprov createAliasDomain newsnation.in nationtoday.in zimbraMailCatchAllForwardingAddress @nationtoday.in
Check via opening the Admin Panel --> Domains , you should see another domain newsnation.in as aliased domain
2. Domain Masqurading - want mail from user@nationtoday.in to appear to come from user@newsnation.in
zmprov md nationtoday.in zimbraMailCatchAllAddress @nationtoday.in zimbraMailCatchAllCanonicalAddress @newstoday.in
Lastly[edit]
we automatically accept email for alias domains and then generate a bounce.
This has the potential for backscatter abuse and we'd like to close this hole for hosted and still be able to offer alias domains without adding aliases to each account.
zmlocalconfig -e postfix_enable_smtpd_policyd=yes zmprov mcf +zimbraMtaRestriction "check_policy_service unix:private/policy" postfix stop postfix start