Per-domain filtering using Bogofilter

Noor Dawod noor at comrax.com
Mon Aug 25 17:26:57 CEST 2003


|
| Calling bogofilter from a shell script is going to be a little slower,
| but not by much. On most modern systems, a frequently executed program
| would be cached in memory so there's very little slowdown due to disk
| reads. Try it. You'd be surprised at how fast it really is.
|

I guess you have a point there..

|
| hmm. Sounds like you're using qmail, which means you'll need to exec
| several programs in order to filter and deliver the mail anyway.
|

I'm using Postfix, but that's not the matter. A simple shell that do
(bogofilter -p | sendmail -i "$@") is enough to wrap Postfix's normal
SMTP traffic, but it's harder to do a per-domain filtering.

|
| I strongly disagree with adding this feature when a shell
| script can do the job just as well.
|

As you like... but I think it's a good and demanding idea.

Noor





More information about the bogofilter-dev mailing list