Re: [exim] Exim Filter, access to envelope

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Rainer Sigl
Data:  
Para: exim-users
Assunto: Re: [exim] Exim Filter, access to envelope
$original_local_part, $original_domain, $local_part, $domain seem to be empty !?
my system filter file looks like:


#Exim filter
logfile  /var/log/exim4/filter.log 644
if $h_to: does not contain "mpg.de" and
   $h_x-spam-level: begins "***"
then
    logwrite "$message_id | $h_x-spam-level | $original_local_part @ $original_domain | $sender_address "
endif


Many thanks for your answer.
Rainer Sigl




Tony Finch schrieb:

>On Tue, 19 Feb 2008, Rainer Sigl wrote:
>
>
>
>>how to access the envelope-to/ -from in an exim filter?
>>
>>
>
>$sender_address $original_local_part $original_domain
>or $local_part $domain if you want the recipient after
>redirections.
>
>Tony.
>
>


-- 
-----------------
Rainer Sigl,                      | email: sigl@???
MPI f. extraterrestrische Physik, | phone: +49 (89) 30000-3557
Postfach 1312,                    | fax:   +49 (89) 30000-3569
D-85741 Garching, Germany         | web:   http://www.mpe.mpg.de/~sigl/