Date: Sat, 4 Jan 2003 14:02:46 +1030 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Roman Neuhauser <neuhauser@bellavista.cz> Cc: FreeBSD Questions <questions@FreeBSD.org> Subject: Re: What are the SMTP rules for sending mail to FreeBSD Message-ID: <20030104033246.GC12462@wantadilla.lemis.com> In-Reply-To: <20030102155305.GL348@freepuppy.bellavista.cz> 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> <20030102155305.GL348@freepuppy.bellavista.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 2 January 2003 at 16:53:05 +0100, Roman Neuhauser wrote: > # neuhauser@bellavista.cz / 2003-01-02 16:40:45 +0100: >> # 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: > > ... > > plus, you stuff the output in $myfile, and get the input from it as > well. How's that supposed to work? :) Heh. You're looking at this section, no doubt: cat > $myfile server=`egrep -i < $myfile "In: [HE][HE]LO"|sed 's/^.*LO *//' ` if [ "$server" = "" ]; then server=`egrep -i < $myfile "^Subject.*errors from "|sed 's/^Subject.*errors from //; s:\[.*::g' ` fi Confusing, isn't it? The thing is, this program is a filter. The first line copies stdin to $myfile for future (multiple) readings. If it weren't a filter, the cat command would still read from stdin, so if it were a terminal, it would just appear to hang. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030104033246.GC12462>