From owner-freebsd-questions Thu Jan 2 15:51: 3 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1BEE37B401 for ; Thu, 2 Jan 2003 15:51:01 -0800 (PST) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F20743EA9 for ; Thu, 2 Jan 2003 15:51:00 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 6836051955; Fri, 3 Jan 2003 10:20:58 +1030 (CST) Date: Fri, 3 Jan 2003 10:20:58 +1030 From: Greg 'groggy' Lehey To: freebsd-questions@freebsd.org Subject: Re: What are the SMTP rules for sending mail to FreeBSD Message-ID: <20030102235058.GG57152@wantadilla.lemis.com> References: <3E0DBCFC.5040907@quadtelecom.com> <5.1.1.6.2.20021228111607.0243f108@mail.go2france.com> <20021229002511.GD92510@wantadilla.lemis.com> <20021229174612.GR348@freepuppy.bellavista.cz> <20021230005622.GE19243@wantadilla.lemis.com> <20030102154044.GK348@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030102154044.GK348@freepuppy.bellavista.cz> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thursday, 2 January 2003 at 16:40:45 +0100, Roman Neuhauser wrote: > # grog@FreeBSD.org / 2002-12-30 11:26:22 +1030: >> On Sunday, 29 December 2002 at 18:46:12 +0100, Roman Neuhauser wrote: >>> # grog@FreeBSD.org / 2002-12-29 10:55:11 +1030: >>> >>> ... >>> >>>> For more information, take a look at the following, which is a message >>>> I send to systems which appear to be bona fide attempts from broken >>>> reverse addresses. Looking at the name of the sender, I'm sure this >>>> one is not bona fide, and I didn't really send the message. Most of >>>> my double bounces come from spammers. >>> >>> do you have that script publically available? I'd like to use >>> that, too. >> >> Yes, it's at http://www.lemis.com/B. > > Is that the version you actually use? I believe I found a bug: > > --- B.orig Thu Jan 2 16:25:28 2003 > +++ B Thu Jan 2 16:37:08 2003 > @@ -59,7 +59,7 @@ > postmaster=postmaster@$domain > fi > if [ "$hostmaster" = "" ]; then > - hostmaster=`nslookup -q=soa wantech.de|grep "mail addr"|sed 's:.*= ::; s:\.:@:'` > + hostmaster=`nslookup -q=soa $domain|grep "mail addr"|sed 's:.*= ::; s:\.:@:'` > fi > if [ "$hostmaster" = "" ]; then > hostmaster=hostmaster@$domain Heh. Guess who'd been giving me problems lately. Yes, I found that bug this morning and fixed it. I've also put in a check for completely unidentifiable domains. Take another look. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message