From owner-freebsd-isp Tue Mar 14 13:45:54 2000 Delivered-To: freebsd-isp@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 8A1F437B80A for ; Tue, 14 Mar 2000 13:45:46 -0800 (PST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.9.2/8.9.3) with UUCP id WAA29426; Tue, 14 Mar 2000 22:45:37 +0100 (CET) (envelope-from leifn@neland.dk) Received: from gina (gina.neland.dk [192.168.0.14]) by arnold.neland.dk (8.9.3/8.9.3) with SMTP id WAA93226; Tue, 14 Mar 2000 22:45:16 +0100 (CET) (envelope-from leifn@neland.dk) Message-ID: <004101bf8dfe$a247fe60$0e00a8c0@neland.dk> Reply-To: "Leif Neland" From: "Leif Neland" To: "FreeBSD List recipient" Cc: References: <3.0.5.32.20000314123153.041bb100@b-ainc.com> Subject: Re: 460-status-mail-rejects Date: Tue, 14 Mar 2000 22:44:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I didn't phrase my question correctly, it seems. While I can scan the log and read the reason for the rejects, I'd like = the reason listed in the daily mail. Instead of just: 129 mail.spam.org 84 fsjdsae.dsds.tw I'd like 129 mail.spam.org 551 Blocked by rrs 84 fjsdsae.dsds.tw 501 Domain must exist Why should I have to scan through the log, when the machine already has = scanned it, but just not extracted enough information? It tells me which hosts I should just ignore, and which hosts I should = check. Eg sometimes the relaying server has been fixed, but the admin = has not reported it to mail-abuse.org, so it is still listed. Leif =20 ----- Original Message -----=20 From: "FreeBSD List recipient" To: Cc: "Leif Neland" Sent: Tuesday, March 14, 2000 7:31 PM Subject: Re: 460-status-mail-rejects > It looks like the mail was rejected because the domain jnmklj.net does = not > exist, sendmail by default rejects mail when the domain name given by = the > sender will not resolve. By the way, the sender domain appears very > similar to the domains used on a lot of the spam mail I have been = receiving > lately, most likely your system trashed a bit of unsolicited = commercial > email. *btw, yoro1.yoroz.co.jp appears to be an open relay, if anyone > cares. As for the lines from the daily script, i'm at a loss on that = one > too. =20 >=20 > Hope it helps, >=20 > Jeremy Bender > jbender@b-ainc.com >=20 > At 07:02 PM 3/14/00 +0100, you wrote: > >I'd like to see the reason why the mail was rejected, not just the > domainname. > > > >I'm not fluent not in regexp's to decode this: > > > > zcat -fc /var/log/mail.log.0* /var/log/mail.log | grep reject=3D | > > perl -ne "print \"\$2\n\" > > if > = /^$start.*ruleset=3Dcheck_\S+,\s+arg1=3D(<[^@]+@)?([^>,]+).*reject=3D/o;"= | > > sort | uniq -c | sort -nr > > > >Mar 14 18:45:24 smtp sendmail[10098]: SAA10098: ruleset=3Dcheck_mail, > arg1=3D, relay=3Dyoro1.yoroz.co.jp [210.196.67.114], > reject=3D501 ... Sender domain must exist > > > >Why is it "$2"? > > > >Leif > > > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-isp" in the body of the message > > > > >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message