P
perler
Guest
hi,
i try to filter some accounts for spam. i use 4PSA SpamGuard here, but it should work with PSA's solution too - but it doesn't..
here is what i have. mail messages are looked at and marked as they should, i.e. the X-Spam-Status: Yes/No tag gets into the header.
i changed the .qmail file of the account in question this way:
and put a .procmail file into the same directory. it looks like this:
as you can see, for testing purposes, i try to filter messages which are NOT spam here. but it doesn't work, all mail is delivered to the users Inbox, nothing to the SPAM folder.
when i change the .procmail file to
everything is delivered to the SPAM folder, as it should.
what is wrong here? why is the first procmail rule not working?
thanks in advance,
PAT
i try to filter some accounts for spam. i use 4PSA SpamGuard here, but it should work with PSA's solution too - but it doesn't..
here is what i have. mail messages are looked at and marked as they should, i.e. the X-Spam-Status: Yes/No tag gets into the header.
i changed the .qmail file of the account in question this way:
PHP:
| /usr/bin/odeiavir
| /usr/bin/spamc -f -u [email protected] -U /tmp/spamd_full.sock | /usr/bin/maildir ./Maildir/
| preline procmail /var/qmail/mailnames/domain.com/temp1/.procmail
| /usr/bin/sguardstat [email][email protected][/email] 0
| true
|autoresponder
and put a .procmail file into the same directory. it looks like this:
PHP:
MAILDIR=/var/qmail/mailnames/domain.com/temp1/Maildir/
:0:
* ^X-Spam-Status: No
$MAILDIR/SPAM/
as you can see, for testing purposes, i try to filter messages which are NOT spam here. but it doesn't work, all mail is delivered to the users Inbox, nothing to the SPAM folder.
when i change the .procmail file to
PHP:
MAILDIR=/var/qmail/mailnames/domain.com/temp1/Maildir/
:0:
*
$MAILDIR/SPAM/
everything is delivered to the SPAM folder, as it should.
what is wrong here? why is the first procmail rule not working?
thanks in advance,
PAT