Re: mail filtering / qmail - tangent to "spam mail question"
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
Reply to: