From owner-freebsd-isp Tue Mar 14 10:32:44 2000 Delivered-To: freebsd-isp@freebsd.org Received: from b-ainc.com (cs9344-170.austin.rr.com [24.93.44.170]) by hub.freebsd.org (Postfix) with ESMTP id 3DCF637B711 for ; Tue, 14 Mar 2000 10:32:40 -0800 (PST) (envelope-from freebsdlist@b-ainc.com) Received: from jbender (jbender.b-ainc.com [10.1.1.8]) by b-ainc.com (8.9.3/8.9.3) with SMTP id MAA35334; Tue, 14 Mar 2000 12:33:21 -0600 (CST) Message-Id: <3.0.5.32.20000314123153.041bb100@b-ainc.com> X-Sender: freebsdlist@b-ainc.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Tue, 14 Mar 2000 12:31:53 -0600 To: freebsd-isp@freebsd.org From: FreeBSD List recipient Subject: Re: 460-status-mail-rejects Cc: "Leif Neland" In-Reply-To: <018101bf8ddf$91667e60$0e00a8c0@neland.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. Hope it helps, Jeremy Bender jbender@b-ainc.com 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= | > perl -ne "print \"\$2\n\" > if /^$start.*ruleset=check_\S+,\s+arg1=(<[^@]+@)?([^>,]+).*reject=/o;" | > sort | uniq -c | sort -nr > >Mar 14 18:45:24 smtp sendmail[10098]: SAA10098: ruleset=check_mail, arg1=, relay=yoro1.yoroz.co.jp [210.196.67.114], reject=501 ... 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 > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message