Re: Can not get a filter recognised for one email source

"N.J. Mann" <[email protected]>
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
In message <[email protected]>,
	N.J. Mann ([email protected]) wrote:
> In message <[email protected]>,
> 	Anne Wilson ([email protected]) wrote:
> > On Wednesday 16 February 2011 12:13:34 N.J. Mann wrote:
> > > In message <[email protected]>,
> > > 
> > > 	Anne Wilson ([email protected]) wrote:
> > > > I get regular emails from one list, that always end up in my Inbox, no
> > > > matter
> > > > 
> > > > what I put in the recipes.  At the moment these two recipes are in place:
> > > > :0
> > > > 
> > > > * (^From|^To|^Subject): .*(Janome|embroidery|Embroidery|emblibrary|
> > > > empressmills)
> > > > ${MAILDIR}.INBOX.Sewing/
> > > > 
> > > > :0
> > > > 
> > > > * ^From: .*Debra\@emblibrary.com
> > > > ${MAILDIR}.INBOX.Sewing/
> > > 
> > > You have a space character in both recipes which should not be there.
> > > Try:
> > > 
> > >  * (^From|^To|^Subject):.*(Janome|embroidery|Embroidery|emblibrary|
> > > 
> > > and
> > > 
> > >  * ^From:.*Debra\@emblibrary.com
> > > 
> > OK, I've made the change.  Now I wait a few days for the next message :-)
> > 
> > Funny, though.  All my recipes have a space there, and the others all work.

Sorry, but I was wrong!  My memory was in error as to what .* means, or
more importantly what * means in procmail regexps.  If I had read
(again) the friendly manual page I would have not made this mistake.  In
procmail regexps * means zero or more of the previous character - in the
regexp - not 'any' character as I wrote.  So, this does not explain why
your recipe does not work. :-(

To go any further I really need more information, such as verbose logs
for a relevant session and a sample message.  You can send these
off-line if you wish.


Cheers,
       Nick.
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.