Your solution will never work.
I recommend you to install procmail and do something like this:

.qmail-default:
|preline procmail -p -m /etc/procmailrules


/etc/procmailrules:

0fw
* < 250000
| spamc

:0:
*^X-Spam-Flag: YES
/home/spam

:0w
|/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox


This works fine for me.




----- Original Message ----- 
From: "Neo Wee Teck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 13, 2003 4:31 PM
Subject: [vchkpw] Qmail + vpopmail + Spamassassin


> I tried to setup spammassassin with spamd/spamc but seems it doesn't work
> 
> /var/qmail/rc
> 
> #!/bin/sh
> 
> # Using splogger to send the log through syslog.
> # Using qmail-local to deliver messages to ~/Mailbox by default.
> 
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start "`cat /var/qmail/control/defaultdelivery`"
> 
> ---
> 
> /var/qmail/control/defaultdelivery
> 
> | spamc | maildir ./Maildir/
> 
> ---
> 
> I only would like to filter mail sent to local mailboxes
> 
> Any help?
> 
> 
> 
> 


Reply via email to