Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-08-2010, 01:28 PM
Intermediate Member
 
Posts: 15
Post Redirect incoming email from domains to single mail box

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

Last edited by mtlhead089; 04-09-2010 at 12:09 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.