Re: [Exim] user filters

Góra strony
Delete this message
Reply to this message
Autor: Ron McKeating
Data:  
Dla: Peter Bowyer
CC: Exim-Users (E-mail)
Temat: Re: [Exim] user filters
On Wed, 2004-04-07 at 15:04, Peter Bowyer wrote:
> 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.


Thanks do you use the whole email address to match, ie
userbod@??? or can you match on just "userbod"?
>
> Peter
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##

--
Ron McKeating
Senior IT Services Specialist
Internet Services and Software Solutions
Loughborough University
01509 222329