I am splitting up my postfix mail server into separate instances - outgoing and incoming. Both mail servers handle mail for multiple domains using a sql database and the
The incoming mail server is setup with
amavisd-new as a content-filter. The instance of
amavisd-new should assume all mail is not outgoing and do all the appropriate checks. Currently I am having to do the sql lookup again in
amavisd-new to get the desired behavior.
Is there a way to configure
amavisd-new to assume all mail is not outgoing?
#amavisd.conf use strict; $max_servers = 24; $mydomain = 'catzo.com'; $enable_dkim_verification = 1; @local_domains_maps = ( [".$mydomain"] ); @mynetworks = qw( 127.0.0.1 ); @inet_acl = qw( 127.0.0.1 ); $inet_socket_port = 10026 # #normal spam tag stuff # # redundant lookup @lookup_sql_dsn = ( ['DBI:mysql:database=;host=;port=3306','user','password'] ); $sql_select_policy = 'SELECT domain_name FROM view_email_domains WHERE CONCAT("@",domain_name) IN (%k)'; # No Policy Banks # standard clamav options.