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