2 messages in net.sourceforge.lists.courier-users[courier-users] Courier & Maildrop: B...
FromSent OnAttachments
Joe EmenakerSep 8, 2003 6:40 pm 
Mitch (WebCob)Sep 8, 2003 9:11 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:[courier-users] Courier & Maildrop: Best way to auto-respond without getting bounces?Actions...
From:Joe Emenaker (jo@emenaker.com)
Date:Sep 8, 2003 6:40:44 pm
List:net.sourceforge.lists.courier-users

I'm using Courier with Maildrop and SpamAssassin. When I get something that SpamAssassin *really* thinks is spam, it deletes it. However, when it's in that grey area, it puts it into a "ProbableSpam" folder. Now, every now and then, some legitimate mail gets tossed in there. However, since I only check that folder about once a week, I often miss the legit ones.

So, I started sending out a sort of "Your message was tagged as spam" reply to everything that ends up in ProbableSpam. The problem is, however, I'm getting lots of bounces, even though I'm tagging the messages with "Precedence: junk" or "Precedence: bulk". Some of these messages are coming from the local Courier MTA when it can't even find a match for the domain. Does anybody have a good way of doing something like this?

Here's the relevant portion of my .mailfilter file:

# Egregeous spam (score of over 8 or so) gets tossed if (/^X-Spam-Level: ......../) to /dev/null

# Anything with spam score of 5 or more that's not from the daemon or from this routine... if (/^X-Spam-Level: ...../ && ! /^FROM_DAEMON/ && ! /^X-Loop: joes@spam.notify/) { cc "| (reformail -r -I\"Subject: Mail not received ($SUBJECT)\" -I\"Errors-To: nobody@nowhere\" -I\"Precedence: junk\" -A\"X-Loop: joes@spam.notify\" ; \ echo \"Greetings!\" \ echo \"\"; \ echo \"It appears that you recently sent some mail to Joe Emenaker. The address that you\"; \ echo \"sent to seems to be '$TO' and it looks like the subject was:\"; \ echo \" '$SUBJECT'\"; \

[snip]

) | $SENDMAIL -t" }

Regards, - Joe