10 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Maildrop script not f...
FromSent OnAttachments
rob...@digitalphx.comNov 23, 2005 2:13 pm 
Sam VarshavchikNov 23, 2005 3:24 pm 
rob...@digitalphx.comNov 23, 2005 3:37 pm.txt
Sam VarshavchikNov 23, 2005 3:50 pm 
rob...@digitalphx.comNov 23, 2005 3:52 pm 
Sam VarshavchikNov 23, 2005 4:38 pm 
rob...@digitalphx.comNov 25, 2005 8:35 am 
rob...@digitalphx.comNov 25, 2005 8:37 am 
Thorsten HaudeNov 25, 2005 9:30 am 
Ron JohnsonNov 25, 2005 12:47 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Maildrop script not filtering properly?Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Nov 23, 2005 3:50:39 pm
List:net.sourceforge.lists.courier-maildrop

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.