Re: [Exim] custom variables in exim?

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: Matthew Dunham
CC: exim-users
Assunto: Re: [Exim] custom variables in exim?
On Tue, 12 Feb 2002, Matthew Dunham wrote:

> ideally i'd like to be able to set this "-q" flag via a custom variable
> i can set in a director:
>
>    mandatory_local_delivery_director:
>      driver = smartuser
>      deliver_flag = "-q"  ${if { eq{$sender_address}{sysadmin} } )
>      transport = mandatory_local_delivery_transport
>      unseen

>
> so that my transport could look like this:
>
>    mandatory_local_delivery_transport:
>      driver = pipe
>      command = "deliver ${deliver_flag} ${local_part}"

>
> anyone know if and how i could do something like this? thanks in advance.


In Exim 4 you can do this sort of thing by using the "address_data"
option in a router to associate data with an address. Exim 4 is likely
to be released next week. A pre-release is already out; I'm just doing
final tidies/fixes/documentation.

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