Re: [Exim] user filters

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ron McKeating
Date:  
À: Peter Bowyer
CC: Exim-Users (E-mail)
Sujet: 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