Re: [exim] Conditional forward suggestions

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Gary Stainburn
Data:  
Para: exim-users
Asunto: Re: [exim] Conditional forward suggestions
The code I tried was:

  warn    condition     = ${if exists{/home/$local_part/.forward-disable}{yes}
{no}}
          add_header    =  X-forward-disable: yes
       log_message   =  forwarding disabled for $local_part $home


The problem is that the header always get set even when the file doesn't
exist, but the log entry doesn't appear in the log file

--
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk