From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Cian O'Sullivan Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: What is using sendmail Date: Mon, 10 Jun 2002 11:56:26 -0300 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1023722477 24769 127.0.0.1 (10 Jun 2002 15:21:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Jun 2002 15:21:17 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17HQyq-0006RG-00 for ; Mon, 10 Jun 2002 17:21:16 +0200 Original-Received: (qmail 24267 invoked by uid 5); 10 Jun 2002 15:00:59 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 24259 invoked from network); 10 Jun 2002 15:00:59 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 10 Jun 2002 15:00:59 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GXH00AJGWDMAY@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 10 Jun 2002 11:00:59 -0400 (EDT) Original-Received: from postal.logic-iit.bm (postal.logic.bm [198.207.16.146]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GXH008QCWDHH9@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 10 Jun 2002 11:00:57 -0400 (EDT) Original-Received: from unity.LOGIC-IIT.BM ([198.207.16.3]) by postal.logic-iit.bm with Microsoft SMTPSVC(5.0.2195.4453); Mon, 10 Jun 2002 11:56:27 -0300 Original-To: "Dunix \(E-mail\)" X-MIMEOLE: Produced By Microsoft Exchange V6.0.5762.3 Thread-Topic: SUMMARY: What is using sendmail Thread-Index: AcIQjwZVBWhkEXpeEdailQAA+HkJOQ== Content-Class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 10 Jun 2002 14:56:27.0303 (UTC) FILETIME=[FF379B70:01C2108E] Xref: main.gmane.org gmane.os.tru64.managers:498 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:498 Thanks to Jay Leafey Lucio Chiappetti Derek Tegler Kresimir Kudumija Prithwish Chatterjee Everyone indicated formmail as a culprit. Further as a result of some = suggestions I cross referenced the /var/adm/syslog.dated/[date]/mail.log = files with the access.log files. I also used netstat, and set the box = up as a honey pot, trapping the culprit in the middle of the use of the = formmail script. I set up a /usr/sbin/route add -net ip/24 127.0.0.1 = as the culprit was a dsl user, so I wanted the whole subnet blocked. = Spam has stopped and the ISP has been notified with all the logs. = Surprising but in 3 days, they had spawned of 1 million messages to = nearly 45,000 independent domains. I found the new script at www.worldwidemart.com/scripts/, and also = upgraded the sendmail. I just now need to talk to the WebDEV team to = see what vhost domains need this script. The major fix in it, is that = it wont send mail to domains that are not pre-defined in the script = itself. Further it wont allow remote servers from using it as a = gateway. I was also told to write a wrapper on my sendmail binary, which was a = good idea, that would then take a ps snappshot, or I could use it to = call lsof, etc etc. I may actually do that anyway. I have also enabled = a logwatcher on the mail.log for activity that is greater then one = message every 5 minutes. Thanks Again. Cian ORIG Question Gurus, =20 I have an old 4.0D box that has been a web server since the titanic was = built. Unfortunately it is still being used, and the handful of = customers have all sorts of individual customized chi's. =20 Spam Cop has indicated that this box may have been compromised, and = being used as a relay, however a telnet mail.server 25 still gives a 550 = relay reject error. So I think someone is routing the mail through a = local cgi. =20 I chmod -x /usr/lib/sendmail, however I need to have that enabled for = legit mail. Can someone please give me guidance in determining where = this mail might be spawning from. I dont want this /24 ending up on a = spam list.