Koozali.org: home of the SME Server

How do I get rid of spam bounces??!

David Hardy

How do I get rid of spam bounces??!
« on: July 03, 2002, 06:26:26 PM »
My e-smith collects mail by multidrop (thats SME 5.5b9), and seems to be returning to sender the spam that I'm getting direct into my ISP pop3 account, some of this seems to bounce back to me as undeliverable.

I guess anybody who's email address has been forged as the return address is going to be getting crap they don't want, and I don't want to send them.

Anybody know what I can do to prevent this happening?

Here's an example of what I'm getting back in my email:

Hi. This is the qmail-send program at ********.net.
I tried to deliver a bounce message to this address, but the bounce bounced!

:
208.45.133.107 does not like recipient.
Remote host said: 550 : User unknown
Giving up on 208.45.133.107.

--- Below this line is the original bounce.

Return-Path: <>
Received: (qmail 30153 invoked for bounce); 3 Jul 2002 11:40:04 -0000
Date: 3 Jul 2002 11:40:04 -0000
From: MAILER-DAEMON@********.net
To: akalmans@excite.com
Subject: failure notice

Hi. This is the qmail-send program at ********.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

:
Sorry. Although I'm listed as a best-preference MX or A for that host,
it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)

--- Below this line is a copy of the message.

Return-Path:
Received: (qmail 30151 invoked from network); 3 Jul 2002 11:40:04 -0000
Received: from mungo.********.net (HELO localhost) (192.168.216.5)
  by mungo.********.net (192.168.***.***) with ESMTP; 03 Jul 2002 11:40:04 -0000
Received: from pop3.my-isp.co.uk
by localhost with POP3 (fetchmail-5.9.0)
for Undisclosed Recipients@192.168.***.*** (multi-drop); Wed, 03 Jul 2002 12:40:04 +0100 (BST)
Received: from lilith (unverified [80.71.1.11]) by my-isp.co.uk
 (Rockliffe SMTPRA 5.2.4) with ESMTP id for <********@my-isp.co.uk>;
 Wed, 3 Jul 2002 12:31:56 +0100
Received: from anikkserver.staging.local ([66.46.135.26]) by lilith ; Wed, 03 Jul 2002 12:40:16 -0100
Received: from xmxpita.excite.com ([203.163.155.122]) by anikkserver.staging.local with Microsoft SMTPSVC(5.0.2195.4905);
Wed, 3 Jul 2002 07:29:27 -0500
Message-ID: <00000874480f$00005418$000027f4@xmxpita.excite.com>
To:
From: akalmans@excite.com
Subject: Was last month's highlight that Big Burp? See what these guys did!
Date: Wed, 03 Jul 2002 07:23:47 -1600
MIME-Version: 1.0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Reply-To: akalmans@excite.com
X-OriginalArrivalTime: 03 Jul 2002 12:29:29.0816 (UTC) FILETIME=[47161D80:01C2228D]


TIA,

David.

Zaphod Beeblebrox

Re: How do I get rid of spam bounces??!
« Reply #1 on: July 10, 2002, 06:58:54 PM »
Procmail is your friend.

http://www.procmail.org

Greg Zartman

Re: How do I get rid of spam bounces??!
« Reply #2 on: July 11, 2002, 07:33:44 PM »
Yes, procmail is your friend, but is not entirely intuative.  

I'd highly recommend using one of the pre-made spam filters out there.   No need to reinvent the wheel twice right?  A good GPL solution can be  can be found at http://junkfilter.zer0.org/  

Darrell May has put together a commercial version of the junkfilter with server-manager panels and a bit of support.  www.myezserver.com   I personally use Darrell's commercial version and it works wonderfully.