Date: Tue, 14 Mar 2000 22:44:49 +0100 From: "Leif Neland" <leifn@neland.dk> To: "FreeBSD List recipient" <freebsdlist@b-ainc.com> Cc: <freebsd-isp@FreeBSD.ORG> Subject: Re: 460-status-mail-rejects Message-ID: <004101bf8dfe$a247fe60$0e00a8c0@neland.dk> References: <3.0.5.32.20000314123153.041bb100@b-ainc.com>
index | next in thread | previous in thread | raw e-mail
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 ----- Original Message ----- From: "FreeBSD List recipient" <freebsdlist@b-ainc.com> To: <freebsd-isp@FreeBSD.ORG> Cc: "Leif Neland" <leif@neland.dk> 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. > > 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=<jnmk@jnmklj.net>, relay=yoro1.yoroz.co.jp [210.196.67.114], > reject=501 <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 > > > > > > > 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 messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004101bf8dfe$a247fe60$0e00a8c0>
