Re: [Exim] Amavis-perl and Exim 4.10, somebody get it to wor…

Pàgina inicial
Delete this message
Reply to this message
Autor: Dan Egli
Data:  
A: Jose de Paula Eufrasio Junior
CC: Lista Exim
Assumpte: Re: [Exim] Amavis-perl and Exim 4.10, somebody get it to work (or other solution to virus scanning)
Jose de Paula Eufrasio Junior wrote:

>Hello..
>
>I did a search on the list and don't find any help on getting amavis to
>work in the 4.10 version of Exim.
>
>Anyone has a .conf or something? I tried to adapt the old config
>sugested on README.exim but that doesn't work too...
>
>Any tip is appreciated.
>
>${}s
>core
>
>
>--
>
>## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>
>

Here's my .conf entry for amavis:

[main secttion]
trusted_users = amavis

[routers]
amavis_router:
driver = manualroute
condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
domains = ! +local_domains
transport = remote_smtp


amavis_director:
# converted from a v3 config file
driver = accept
condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
retry_use_local_part
transport = amavis

[transport]
amavis:
#!!# prefix renamed message_prefix
#!!# suffix renamed message_suffix
driver = pipe
check_string =
command = "/usr/sbin/amavis <${sender_address}> ${pipe_addresses}"
current_directory = "/var/amavis"
escape_string =
group = amavis
message_prefix =
message_suffix =
path = "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin"
return_output
no_return_path_add
user = amavis
# for debugging change return_output to true


this works grand for me using exim 4.10