Search the links to gordon messemers bad-from filter - if the domain or sender is bogus, the mail is never accepted to begin with.
m/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joe Emenaker Sent: Monday, September 08, 2003 6:47 PM To: [EMAIL PROTECTED] Subject: [courier-users] Courier & Maildrop: Best way to auto-respond without getting bounces? 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: > [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 ------------------------------------------------------- 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
