Re: [Exim] Exim with AMavIS - virus scanning

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Niels Dettenbach
Datum:  
To: Jay Klesitz, exim-users
Betreff: Re: [Exim] Exim with AMavIS - virus scanning
Hello Jay,

im using exim 4.x and the following config is working fine for me.

in main config file "configure" add the following lines (change paths as
required for your machine):

----snip-----------------------

# trusted users
trusted_users = amavis
----snap----------------------

Routers:
----snip-----------------------
# in routers:

# Amavis Mail Virenscanner

amavis_router:
condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
driver = accept
transport = amavis
-----snap---------------------

Transports - after

remote_smtp:
driver = smtp

-----snip---------------------

### mein amavis

amavis:
driver = pipe
command = "/usr/sbin/amavis -f <${sender_address}> -d ${pipe_addresses}"
# for debugging change return_output to true
return_output = false
return_path_add = false
user = amavis
group = amavis
path = "/bin:/sbin:/usr/bin:/usr/sbin"
current_directory = "/var/amavis"

-----snap---------------------

hope that helps...

best regards,

Niels Dettenbach
http://syndicat.com