Hi exmnick,
I have this solved. There is a little config change from my previous post.
I can route internal zimbra mails to a external smtp server and back to the local inbox. If that is what you are trying, let me post the config files for you. I am not an expert, but if it helps you, it will be great.
Change postfix files
1) main.cf
smtpd_sender_restrictions = check_sender_access hash:/opt/zimbra/postfix-2.4.7.5z/conf/filter_recipient_domains, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_sender, check_sender_access regexp:/opt/zimbra/postfix-2.4.7.5z/conf/filter-catchall.regexp, permit
2) The contents of filter_recipient_domains file is (please put the domain names configured on your server):
domain1.org FILTER smtp:[202.xxx.xxx.xx1]
domain2.com FILTER smtp:[202.xxx.xxx.xx2]
domain3.com FILTER smtp:[202.xxx.xxx.xx1]
Please make a db by using the command (change the file path according to your setting):
postmap /opt/zimbra/postfix-2.4.7.5z/conf/filter_recipient_domains
3)The contents of filter-catchall.regexp
/^/ FILTER smtp-amavis:[127.0.0.1]:10024
4)Also make an entry of the domains in /etc/hosts
72.xx.xx1.xx2 domain1.org domain1.org
72.xx.x31.xx2 domain2.com domain2.com
72.xx.x41.xx2 domain3.com domain3.com
4) execute the command:
reload postfix
5) Test the settings by sending a mail.
Explanation is given here:
amavisd-new documentation bits and pieces
If there are any questions,please post back. If at all there is something missing I can help out if possible.
All the best!!