rob...@digitalphx.com writes:
rob...@digitalphx.com writes:
Im using SA 3.0.1 with qmail, qmail-scanner and maildrop. Here is the
maildrop script:
if (/^X-Spam-Status: *Yes/)
{
to "$VHOME/Maildir/.Spam"
}
else
{
to "$VPOP"
Now 9 out of 10 times this works. But an email here and there gets
tagged
as spam but still gets delivered to the mailbox. Any suggestions? If you
need the header from the email with this issue then let me know.
Yes, because this is the only way to figure it out.
Also, if this is just a portion of your maildrop recipe, other portions of
your maildrop recipe may be responsible.
The full header from one of the email with this issue is attached. Below
is the full maildrop script:
SHELL="/bin/sh"
import EXT
import HOST
VERBOSE=0
NORMAL=yes
REG_CASE=no
VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
VHOME=`/home/vpopmail/bin/vuserinfo -d ***@****`
if (/^X-Spam-Status: *Yes/)
{
to "$VHOME/Maildir/.Spam"
}
else
{
to "$VPOP"
}
I * out information I didnt want to show here. But thats it. Also if you
Works for me.
see a better way of doing it Im all up for it. Also is there something I
can add to the maildrop script to automatically drop email addresses with
no to address? I notice in my qmail queue I have these types of records:
23 Nov 2005 22:05:27 GMT #949646 4697 <>
remote ***@****
The <> is blank so I assume that the to or from address is blank?
This is the message's return address. The return address is blank for
bounces.