Hey all,

   Is it supported to override virtual_alias_maps in master.cf; rather than 
using receive_override_options to disable all address rewriting?

  I want to do some alias expansion prior to content_filter, and a different 
alias expansion on re-injection.

  Right now I have to do all alias expansion pre content_filter, by specifying 
virtual_alias_maps in main.cf.

  Some users forward mail offsite, and I want that expansion to go last.  Final 
delivery is over LMTP to another host.

  The brute force solution would be to run a second Postfix instance for 
re-injection.

  Content filter at 127.0.0.1:10033 re-injects to Postfix on 127.0.0.1:10032.

  postconf -P:

127.0.0.1:28/inet/content_filter = filter:[127.0.0.1]:10033                     
127.0.0.1:28/inet/virtual_alias_maps = cdb:/etc/postfix/virtual                 
127.0.0.1:10032/inet/alias_database =                                           
127.0.0.1:10032/inet/alias_maps =                                               
127.0.0.1:10032/inet/content_filter =                                           
127.0.0.1:10032/inet/mynetworks_style = host                                    
127.0.0.1:10032/inet/receive_override_options = 
no_unknown_recipient_checks,no_header_body_checks                               
                                
127.0.0.1:10032/inet/smtpd_authorized_xforward_hosts = 127.0.0.0/8              
127.0.0.1:10032/inet/smtpd_client_restrictions =                                
127.0.0.1:10032/inet/smtpd_helo_restrictions =                                  
127.0.0.1:10032/inet/smtpd_recipient_restrictions = permit_mynetworks,reject    
127.0.0.1:10032/inet/smtpd_sender_restrictions =                                
127.0.0.1:10032/inet/virtual_alias_maps = proxy:ldap:/etc/postfix/ldap.cf       
                                           


----
André Dalle
Systems Administrator
National Capital FreeNet [http://www.ncf.ca]

Reply via email to