Re: [Exim] user filters

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: Exim-Users \(E-mail\)
Subject: 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