Bogofilter Tuning Issues...

Greg Louis glouis at dynamicro.on.ca
Mon May 5 20:26:12 CEST 2003


On 20030505 (Mon) at 1242:03 -0400, Matt Garretson wrote:
> Quoting Greg Louis <glouis at dynamicro.on.ca>:
> > procmail recipe, which is just
> >   :0
> >   * RECIPIENT ?? (list|of|users|who|opted|out)
>
>
> This might be off-topic on this list but in the above
> procmail recipe, you probably want to anchor your regex:
>
> * RECIPIENT ?? ^^(list|of|users|who|opted|out)^^
>
> Otherwise, if smith opts out, them smithj and nesmith
> will implicitly be opted out, too.
  
Good point, thanks.  Note that doing that means you have to give the   
full recipient address; in some circumstances, you might be able to get
away with anchoring the beginning and terminating the localpart with @ 
in each case.  For example, you can do
  ^^(user1 at biglongdomainname|user2 at biglongdomainname)^^
or 
  ^^(user1@|user2@)
which is useful if you have both a public and a private domain name;
if not, and if you want to be really careful,
  ^^(user1@|user2@)biglongdomainname^^

-- 
| G r e g  L o u i s          | gpg public key: finger     |
|   http://www.bgl.nu/~glouis |   glouis at consultronics.com |
| http://wecanstopspam.org in signatures fights junk email |




More information about the Bogofilter mailing list