Philip Mak writes:
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).

Not sure I follow what your saying...
This is our setup.
We have multiple virtual domains using vpopmail.
So lets say user [EMAIL PROTECTED] wants mail filtering. I only want to set him up to use filters which I have to add because I don't want them breaking their stuff :).. So how will I add this to just this user?
I sort of found a way do it this by making /home/vpopmail/domains/domain.com/.qmail-bleh file (even though it is a real pop account also) and adding to that file
|maildrop
Now I ran a few tests and it seems to work ok just wondering if this ok and if not how would i do this?
OH WAIT.... hehe... Your not running spamassassin as a daemon?
you added .qmail file in the vpopmail users dir? is that correct?
Just to let ya know the reason I have to know exactly what is going on because we have a fully running qmail+vpopmail+sqwebmail and qmail-scanner server running now. I made a new server so i can add filtering but only if users ask for it. I wanted it more probably then anyone...
Anyways thanks for the help...
Frank


-------------------------------------------------------
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