[prev in list] [next in list] [prev in thread] [next in thread] 

List:       spamassassin-users
Subject:    RE: adding score for email from noreply@
From:       Bowie Bailey <Bowie_Bailey () BUC ! com>
Date:       2008-08-27 13:15:26
Message-ID: 4766EEE585A6D311ADF500E018C154E302B4D618 () bnifex ! cis ! buc ! com
[Download RAW message or body]

mouss wrote:
> Bowie Bailey wrote:
> > Curtis LaMasters wrote:
> > > I'm having a pretty hard time with this one for some reason,
> > > mainly because I don't understand regex.  I have a large number
> > > of emails that are getting past my spamassassin setup (Maia
> > > Mailguard 1.02a) as well as my Barracuda.  I would like to add a
> > > score to email from noreply@*.  I'm not asking for anyone to
> > > write the rule for me (though that would be nice), but general
> > > guidance on how to go about doing this *easily*.
> > 
> > Try this:
> > 
> > header FROM_NOREPLY ToCc =~ /\bnoreply\@/i
> > 
> 
> I guess he wants From or Reply-To, not ToCc.

Umm...right...

header FROM_NOREPLY From =~ /\bnoreply\@/i

I guess I was focused too much on the regex and not enough on the
target.

-- 
Bowie
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic