The domains in question are generic, so that the quilty are not seen.
This is a requirement from our legal counsel. I must redirect all incoming email from external domains (they are not in our network, but outside on the internet and we do not have control of these domains); domain1.com, domain2.com, & domain3.org to a single email box in my mail server, i.e. legal@mydomain.org
My mail server: Release 6.0.5_GA_2214.RHEL4_20100202202825 RHEL4 32bit.
I have done this in the past with other PostFix implementations (Postfix alone, not Zimbra). And, per previous forum: Email Redirect... this can be done.
Modified the following file: /opt/zimbra/conf/postfix_header_checks.in
/^From:*domain1.*/ REDIRECT legal@mydomain.org
/^From:*domain2.*/ REDIRECT legal@mydomain.org
Performed: zmmtactl restart
Performed test;
telnet localhost 25
220 mail.mydomain.org ESMTP Postfix
helo postmaster.domain1.com
250 mail.mydomain.org
mail to from: postmaster@domain1.com
250 2.1.0 Ok
rcpt to: postmaster@mydomain.org
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
disregard. this is a test only of redirecting email.
.
250 2.0.0 Ok: queued as 0CC4F930001
quit
221 2.0.0 Bye
Connection closed by foreign host.
Result was the message was not redirected. Observed that the file; postfix_header_checks was modified after restart of the mta, but the postfix_header_checks.db does not appear to have changed.
performed: postmap postfix_header_checks
Verified that the db was updated. Restarted the mta. Tested. Mail from the domains in questions are still not being redirected to the single mail box. Please help as this is a requirement.
Just updated to the latest Release 6.0.6_GA_2325.RHEL4_20100406120250 RHEL4 NETWORK edition.
As expected the postfix_header_checks.in file was modified w/o the regex redirect that I need.
I modified the file per previously and restarted zmmtactl.
Tested.
No joy![]()


LinkBack URL
About LinkBacks

