From owner-freebsd-isp Tue Mar 14 10: 3: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 6ADC237B7DE for ; Tue, 14 Mar 2000 10:03:47 -0800 (PST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.9.2/8.9.3) with UUCP id TAA23189 for freebsd-isp@FreeBSD.ORG; Tue, 14 Mar 2000 19:03:45 +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 TAA47061 for ; Tue, 14 Mar 2000 19:02:57 +0100 (CET) (envelope-from leifn@neland.dk) Message-ID: <018101bf8ddf$91667e60$0e00a8c0@neland.dk> Reply-To: "Leif Neland" From: "Leif Neland" To: Subject: 460-status-mail-rejects Date: Tue, 14 Mar 2000 19:02:39 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" 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'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