Re: [Exim] user filters

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Peter Bowyer
Data:  
Para: Exim-Users \(E-mail\)
Asunto: Re: [Exim] user filters
Ron McKeating wrote:
> The link "Exim's interfaces to mail filtering" in the only docs in
> section 3.3 user filters gives an error. Is this now not available?
>
> I am trying to filter off email from a particular user and it just
> does not work. I have file called .username in the users home dir. It
> contains the following filter
>
> # Exim filter
>
> if $sender_address matches "madeupuser@???"
> then
>         save "$home/Maildir/.Allumni/"
>         seen finish
> endif

>
> but when I get mail from madeupuser it does not save it in that
> folder. The folder does exist, and I can drag and drop email into it
> with a client (evolution) so the permissions should be ok. Any
> thoughts appreciated. Exim 4.3 by the way.


Not sure if $sender_address is available in a user filter - we use $h_from:
for exactly this task which does the job.

Peter