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: [EMAIL PROTECTED]/)
{
cc "| (reformail -r -I\"Subject: Mail not received ($SUBJECT)\" -I\"Errors-To: [EMAIL PROTECTED]" -I\"Precedence: junk\" -A\"X-Loop: [EMAIL PROTECTED]" ; \
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
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
