Hi, On 19 Aug 2003 07:06:46 +0100 Yorkshire Dave <[EMAIL PROTECTED]> wrote: > On Tue, 2003-08-19 at 03:39, John P Verel wrote: > > I've got my .procmailrc set up to generate an exit code 67 to bounce > > spam back to the sender. Problem is the user and domain are not what I > > want, which is [EMAIL PROTECTED]
You should probably fix bounce messages independently of how you dispose of spam. Your problem is a sendmail issue and there are far better resources than the SATalk list for getting Sendmail configuration advice. Having said that, the following may be what you need (add/change the relevant lines in /etc/sendmail.cf): # my official domain name # ... define this only if sendmail cannot automatically determine your domain # Dj$w.example.com Djsample.example.com > > Relevant recipe of my .procmailrc: > > > > -- > > > > :0 H > > * ^X-Spam-Status:.*Yes > > { > > EXITCODE=67 > > :0: > > spam > > } > > > There needs to be a page somewhere to explain why bouncing spam is bad. The anecdote from 8/24/2002 on http://www.linux.org/about/spam.html should convince anyone with a brain larger than a pistachio. > The person you're bouncing spam to is more than likely to not be the > spammer at all. > > It could be someone the spammer wants to mailbomb with bounces > > It could be [EMAIL PROTECTED], thats a known spammer technique > > It could even be the intended recipient and you're just acting as a spam > reflector, which is as bad as being an open relay. > > Once the spam reaches procmail, it's yours, it's too late to reject it > and you cant bounce it or you will be spamming. Please consider sending > it to /dev/null rather than spraying it all over the internet. Rather, find some way to summarize To:, From:, Subject: and (possibly) the first few lines of textual content, passing that on to the recipient with a note saying the message was blocked and that the recipient should contact the sender to set up some alternate means of delivery. MIMEDefang does that with infected and disallowed files. If you need to accept and discard spam but alert *someone* that the message was dropped, alert the recipient, not the alleged sender. -- Bob ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk