Individual user database on MTA [was: Teching bogofilter by forwarding messages]

Michal Wieja mwieja at poczta.onet.pl
Thu Dec 18 22:52:22 CET 2003


On Thursday 18 December 2003 20:44, Gyepi SAM wrote:
> On Thu, Dec 18, 2003 at 10:57:15AM -0800, Chris Wilkes wrote:
> > On Thu, Dec 18, 2003 at 09:32:49PM +0100, Michal Wieja wrote:
> > Why not do this on an individual basis, with each user getting their own
> > wordlist.db?
> >
> > If you're wondering how people can train their own filter, you can put
> > some routing information into your procmailrc that looks for the
> > sender's address and then updates that user's wordlist.db only.  You can
> > do so by spitting the email out to a seperate program that grabs the
> > From: address and matches that up to a list of your usernames.
>
> Better yet, if you use qmail or postfix, then take advantage of extension
> addresses: each user sends registrations/corrections to themselves. Then
> you don't need to have to figure out which user it is. Messages to the
> following addresses will "do the right thing".
>
>   #registration
>   user-bogofilter-register-spam at example.net
>   user-bogofilter-register-nonspam at example.net
>
>   #corrections
>   user-bogofilter-spam at example.net
>   user-bogofilter-nonspam at example.net
>
> See the docs/integrating-with-{qmail,postfix} files for further
> explanations and ideas. Note that both of those documents assume a central
> database so you'll have to make the necessary adjustments. Note also, that
> you don't want those addresses to be accessible to the world. Imagine the
> fun spammers can have with your database!
>
>
> -Gyepi
>

Gyepi,

I'm using sendmail at the moment, but I have postfix/qmail in my future plans, 
then I can use functionality you're talking about.

Another question I have is: should I do registration address separately as you 
described, if I use '-u' option for incoming mail ?

--
Michal Wieja





More information about the Bogofilter mailing list