Hi,

> /var/qmail/bin/spam_filter
> -------------<SNIP>----------------
> LOGDIR="/tmp"
> 
> logfile "$LOGDIR/maildroprc.log"
> log "Filter start"
> 
> `test -d ./Maildir/.SPAM`
> if ( $RETURNCODE == 1 )
> {
>       log "Create SPAM box"
>         `/usr/local/bin/maildirmake -f SPAM ./Maildir`
>       `echo INBOX.SPAM > ./Maildir/courierimapsubscribed`
> }
> 
> if ( /^X-Spam-Status: Yes/ )
> {
>         exception {
>                 log "Deliver to $USER"
>                 to "./Maildir/.SPAM/"
>         }
> 
>         exception {
>                 to "./Maildir"

Not a maildrop expert but it look like to me that it should read :
to "./Maildir/" 

>         }
> }
> else
> {
>         to "./Maildir/"
> }
> 
> log "Filter finish"

Thomas

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to