#
#  Enabling this will make the server non-rfc compliant
#  require verify = header_sender
#

    accept  hosts = : +loopback : +recent_authed_mail_ips : +backupmx_hosts

    accept
            authenticated = *
            hosts = *

    accept
            condition = ${extract{size}{${stat:/etc/trustedmailhosts}}}
            hosts = +trustedmailhosts

    accept
            condition = ${extract{size}{${stat:/etc/trustedmailhosts}}}
            condition = ${if match_ip{$sender_host_address}{net-iplsearch;/etc/trustedmailhosts}{1}{0}}


