[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mail filtering / qmail - tangent to "spam mail question"



Do you know if maildrop can use qmail's variables?  I'd like to avoid
separate filter files for every .qmail-ext I have.

Thanks!
-Paul

On Mon, 3 Jun 2002 22:18:46 -0500
"Jamin W. Collins" <jcollins@asgardsrealm.net> wrote:

> On Mon, 3 Jun 2002 23:00:42 -0400
> "Paul Miller" <paul@pinheiro.tcimet.net> wrote:
> 
> > I'm using qmail/rblsmtpd, qmailscanner, and spamassassin.  All my
> > incoming mail are marked with "X-Spam-Status:" and I'd like to have
> > mail with spam status of "Yes" put into a separate maildir.  I'm
> > using qmail maildirs, and I'd like to continue using maildirs.  How
> > can I filter my mail using dot-qmail files?
> 
> I do this with maildrop and a ~/.mailfilter file like so:
> 
> xfilter "spamassassin -P"
> 
> if ( /^X-Spam-Flag: YES/ )
> {
>    to $DEFAULT/.Spam/
> }
> 
> and the following in your ~/.qmail file:
> 
> | /usr/bin/maildrop
> 
> -- 
> Jamin W. Collins
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: