Re: [Exim] Amavis & 4.10 (simplified question)

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: Larry Rosenman
CC: exim-users
Asunto: Re: [Exim] Amavis & 4.10 (simplified question)
On 5 Aug 2002, Larry Rosenman wrote:

> How do I convert the following transport/director pair from Exim3 to
> Exim4?


Here's an idea:

Make it into a complete Exim 3 configuration file, and try the
convert4r4 script on it. To make it into an Exim 3 config file you need
to create something like this


###############TRANSPORTS
amavis:
driver = pipe
command = "/usr/sbin/amavis <${sender_address}> ${pipe_addresses}"
prefix =
suffix =
check_string =
escape_string =
# 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"


########### DIRECTORS
amavis_director:
condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
driver = smartuser
transport = amavis



Then fish out the router and transport that the script creates.



--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.