procmail
[Top] [All Lists]

Re: spambouncer: headers and subjet

2003-05-17 01:54:03
On Fri, 16 May 2003 the voices made Andrew Edelstein write:

AE> On Fri, May 16, 2003 at 10:35:13AM +0200, Tony L. Svanstrom wrote:
AE> > :0fh
AE> > * ^X-SBClass: Spam
AE> > * ^Subject:\/.*
AE> >         | formail -I "Subject: [SPAM]$MATCH"
AE>
AE> Nitpicky style issue, but I'd do
AE>     | formail -I "Subject: [SPAM] $MATCH

 Look at what I'm matching, in almost all cases there'll already be a space
between ] and the subject; if you want to do it your way you'd also want to use
this:

* ^Subject:[     ]*\/[^ ].*


-- 
  .-------------------------------------------------------------------.
  | Per scientiam ad libertatem! (Through knowledge towards freedom!) |
  `-------------------------------------------------------------------´
                   << ©1998-2003 tony(_at_)svanstrom(_dot_)com >>


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


<Prev in Thread] Current Thread [Next in Thread>