conf/76626: [patch] 460.status-mail-rejects shows destination domain instead of source IP

Rusty Nejdl rnejdl at
Sat Jun 16 12:40:09 UTC 2007

The following reply was made to PR conf/76626; it has been noted by GNATS.

From: "Rusty Nejdl" <rnejdl at>
To: "Gregory Shapiro" <gshapiro at>
Cc: bug-followup at, rnejdl at
Subject: Re: conf/76626: [patch] 460.status-mail-rejects shows destination 
     domain instead of source IP
Date: Sat, 16 Jun 2007 07:01:19 -0500 (CDT)

 Well, to me, since most of the time when I am rejecting emails, the sender
 email address is spoofed.  I am definitely more interested in knowing what
 ISP's are spamming me most.
 [tethys]:/home/rnejdl> /etc/periodic/daily/460.status-mail-rejects
 Checking for rejected mail hosts:
  289 TOTAL
    4 []
    3 []
    3 []
    3 []
    2 []
    2 hn.kd.dhcp [] (may be forged)
    2 []
 So, when I blocked, I managed to block 4 spams from that IP
 in the last 24 hours.
 To be honest, the display as it is shown below is of no use to me.  It
 would be great if we could have a way to configure it to show the field
 that you wanted displayed.
 Rusty Nejdl
 Gregory Shapiro wrote:
 > Your patch assumes that only the relay= is of interest in the list.
 > However, in my opinion, the address you are rejecting is more interesting
 > in most cases.  For example, from my own logs:
 > i un 14 00:01:32 gir sm-mta[9280]: l5E71S9N009280: ruleset=check_mail,
 > arg1=<tzdelhi at>,
 > [],
 > reject=451 4.1.8 Domain of sender address tzdelhi at does not
 > resolve
 > Jun 14 00:05:17 gir sm-mta[9349]: l5E75ErZ009349: ruleset=check_rcpt,
 > arg1=<benco at>, [],
 > reject=400 4.0.0 Temporary failure
 > Jun 14 00:12:13 gir sm-mta[9552]: l5E7C812009552: ruleset=check_mail,
 > arg1=< at>,
 > [], reject=450
 > 4.1.2 < at>... MX lookup failure for
 > In all three cases, I'm more interested in the address that was rejected
 > instead of the host sending that mail.

More information about the freebsd-bugs mailing list