[Exim] Re: Exim with AMAVIS-NG config?

Top Page
Delete this message
Reply to this message
Author: Everton da Silva Marques
Date:  
To: exim-users
Subject: [Exim] Re: Exim with AMAVIS-NG config?
> Is anyone running exim with amavis-ng? The README.exim
> which shows a config example does not work. So Im
> wondering if anyone is running amavis-ng and can
> paste their exim config.



This works for me (irrelevant parts have been supressed):


exim.conf
---------

local_interfaces = 0.0.0.0.25 : 127.0.0.1.10026

domainlist relay_to_domains = /local/mailscan/etc/exim/relay-domains

relay_only:
        driver        = manualroute
        transport     = remote_smtp
        route_data    = ${lookup{$domain}lsearch{/local/mailscan/etc/exim/relay-only-map}}
        condition     = "${if eq {$interface_port}{10026} {0}{1}}"
        verify_sender = false


from_external_to_amavis:
        driver        = manualroute
        transport     = amavis
        domains       = /local/mailscan/etc/exim/scan-domains
        condition     = "${if eq {$interface_port}{10026} {0}{1}}"
        route_list    = * localhost
        self          = send
        verify_sender = false


from_amavis:
        driver        = manualroute
        transport     = remote_smtp
        route_data    = ${lookup{$domain}lsearch{/local/mailscan/etc/exim/amavis-relay-map}}
        condition     = "${if eq {$interface_port}{10026} {1}{0}}"
        verify_sender = false



amavis-ng.conf
--------------

[global]

mail-transfer-agent = SMTP

virus-scanner = CLAM

extractors = Mail,ARC,RAR,COMPRESS,GZIP,LHA,TNEF,ZOO,Zip,BZIP2,Tar

[SMTP]

input address = localhost
input port = 10025
output address = localhost
output port = 10026