

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
14 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] filters only work som...| From | Sent On | Attachments |
|---|---|---|
| Robert Stoeber | Feb 25, 2003 10:19 am | |
| Devin Rubia | Feb 25, 2003 12:23 pm | |
| Robert Stoeber | Feb 25, 2003 4:02 pm | |
| Devin Rubia | Feb 26, 2003 5:20 am | |
| Robert Stoeber | Feb 26, 2003 12:18 pm | |
| Devin Rubia | Feb 26, 2003 12:43 pm | |
| Robert Stoeber | Feb 26, 2003 2:23 pm | |
| Devin Rubia | Feb 27, 2003 6:27 am | |
| Robert Stoeber | Feb 28, 2003 9:36 am | |
| Devin Rubia | Feb 28, 2003 10:24 am | |
| Sam Varshavchik | Feb 28, 2003 2:28 pm | |
| Robert Stoeber | Feb 28, 2003 3:54 pm | |
| Robert Stoeber | Feb 28, 2003 5:54 pm | |
| Sam Varshavchik | Feb 28, 2003 7:18 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [maildropl] filters only work sometimes? | Actions... |
|---|---|---|
| From: | Robert Stoeber (Rob...@usabusiness.net) | |
| Date: | Feb 26, 2003 2:23:59 pm | |
| List: | net.sourceforge.lists.courier-maildrop | |
At 01:43 PM 2/26/2003, Devin Rubia wrote:
By the looks of these logs, that incoming e-mail is hitting another rule in your filters before it hits the one we have been talking about.
What are the contents of the rule that delivers to:
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
That would be the one stopping that e-mail from being deleted.
I attached the whole filter below which ends up sending 'good' messages to spamassassin (spamc) for processing before final delivery. That all works great - my own mail gets filtered and every message has the X-Spam header, so I know the filter is working.
But the rule that's failing sometimes (apparently) is the very first thing. I wanted to trap that junk before wasting any further processor cycles on it.
Here's something that might be a clue. I must have sent 100 test messages to the 'bad' address now. Every single one gets trapped by the filter rule. Messages that seem to fail/miss the test are true junk mail with goofy headers. Is it possible that maildrop isn't seeing such headers properly?
Here's the mailfilter file:
import HOME import EXT import HOST
VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
logfile "/tmp/junkmail/Maildir/maildrop.log"
if ( /jsmith/:h ) { log "Rule 1: $MATCH" EXITCODE=0 exit }
if ( $SIZE < 262144 ) { exception { xfilter "/usr/bin/spamc -f -u $EXT@$HOST" } } if (/^X-Spam-Flag: *YES/) { exception { to $VHOME/Maildir/.SPAM/ } exception { include $VHOME/Maildir/.mailfilter } exception { to "$VPOP" exit } } else { exception { include $VHOME/Maildir/.mailfilter } exception { to "$VPOP" exit } }
-- Robert Stoeber USA Business Networks, LLC Rob...@USABusiness.net P.O. Box 682402 435.901.3222 UT Park City, UT 84068-2402 973.735.2102 NJ www.usabusiness.net 435.615.7260 fax







