I do what you said ... but I dont have spam in .spam folder ...
How can I test uf the maildrop ys working ?? How can I test the spamassassin
??

Thanx !

-----Mensaje original-----
De: CG [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 28 de Marzo de 2005 03:01 p.m.
Para: Alan Glait; users@spamassassin.apache.org
Asunto: Re: Help with qmail



Here's how I'd do it:

You need one more peice to your puzzle: maildrop.
http://www.courier-mta.org/maildrop/

install maildrop then create your .qmail and .mailfilter files:

[EMAIL PROTECTED]:~$ cat .qmail
| spamassassin | /var/qmail/bin/preline /usr/local/bin/maildrop
[EMAIL PROTECTED]:~$ cat .mailfilter
if (/^X-Spam-Status: Yes.*$/)
        {
                to ./Maildir/.spam/
        }
to ./Maildir/
[EMAIL PROTECTED]:~$

.spam would be the "Spam" folder within your maildir. You can use
maildirmake
to create the folder ($ maildirmake ~/Maildir/.spam).

Make sure your permissions on .mailfilter are 0600 ...

When you get it how you want it, consider using spamd and calling spamc in
place of spamasssassin.

HTH,

CG

--- Alan Glait <[EMAIL PROTECTED]> wrote:
> I have compiled the spamassassin and a qmail with Maildir working ...
> How I have to do to enable the spamassassin to 1 mailbox to test it ? ?
>
> Thanx in advance
>



__________________________________
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs

Reply via email to