On 9/15/2009 12:34 PM, Jeff Grossman wrote:
I am running Postfix 2.5.6 as a front-end gateway to an Exchange server and a Mailman server. I currently have about 25 domains that I receive mail for. Of those 25, 23 of them forward to the Exchange server and the other 2 forward to the Mailman server. I was using a "check_recipient_access hash:/etc/postfix/recipient_access" line in smtpd_restrictions which did a reject_unverified_recipient for all of the domains to avoid any backscatter situation. I have decided to create a local relay_recipient map file from the Exchange server to avoid all of the lookups. This seems to be working pretty well. But, my question is, can I still use the reject_unverified_recipient option for the two domains that forward to the Mailman server but use the local relay_recipient map for the other domains? My current setup does not appear to work, but maybe I have it configured wrong.
Add the mailman domains as wildcard entries in your relay_recipient_maps table. Then use reject_unverified_recipient in your access table for only those domains.
#relay_recipient_maps @mailman1 OK @mailman2 OK ...
Here is a copy of my postconf -n
(ignored) -- Noel Jones
