Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2000 19:02:39 +0100
From:      "Leif Neland" <leifn@neland.dk>
To:        <freebsd-isp@FreeBSD.ORG>
Subject:   460-status-mail-rejects
Message-ID:  <018101bf8ddf$91667e60$0e00a8c0@neland.dk>

next in thread | raw e-mail | index | archive | help
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<jnmk@jnmklj.net>, relay=3Dyoro1.yoroz.co.jp [210.196.67.114], =
reject=3D501 <jnmk@jnmklj.net>... 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?018101bf8ddf$91667e60$0e00a8c0>