On Mon, Nov 18, 2002 at 03:04:09PM -0500, devel wrote:
> >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
> >     }
> >} 
>
> 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? 

So, I'm guessing you have a system-wide configuration file for
maildrop that runs spamassassin. Then, people who want spam filtering
have "|maildrop" in their .qmail file, and people who don't want spam
filtering don't run maildrop.

That works. It may be problematic if someone wants to run maildrop
*without* running spamassassin, though. (Maybe maildrop has a switch
to allow them to override the system-wide configuration file for
maildrop. Or maybe no one on your site needs to run maildrop without
running spamassassin.)

> OH WAIT.... hehe... Your not running spamassassin as a daemon?

That's right. I didn't bother setting it up as a daemon, since I'm the
only one using SpamAssassin, and judging by recent e-mails on the
list, spamd might be somewhat broken.

> you added .qmail file in the vpopmail users dir? is that correct? 

That's right.


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