On Mon, Nov 18, 2002 at 02:33:53PM -0500, devel wrote:
> I have spam assassin and maildrop setup with vpopmail but I do not
> want to enable for the entire domain. How could I add filters per a
> user basis? 
> 
> I want to filter my email and a few others but not the entire 500+
> email accounts. What would I need to do to do this. ? 

That's exactly what I do on my system; I'm probably the only person
using SpamAssassin. I installed SpamAssassin (not system-wide). Then,
in ~/.qmail I have:

|/var/qmail/bin/preline /usr/local/bin/maildrop

And in ~/.mailfilter (the maildrop configuration file), I have:

exception {
        xfilter "/usr/bin/spamassassin"
}
if (/^X-Spam-Flag: *YES/)
{
        exception {
                to Mail/killed
        }
}

The first block processes the mail using SpamAssassin. The second
block checks whether the mail has X-Spam-Flag set to YES; if it does,
it gets moved to the ~/Mail/killed folder (which is where I put
suspected spam).


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to