[Mimedefang] md_check_against_smtp_server and md_graphdefang_log

kd6lvw at yahoo.com kd6lvw at yahoo.com
Sun Mar 24 14:49:31 EDT 2013

--- On Sun, 3/24/13, James Curtis <jameswcurtis at hotmail.com> wrote:
> >> # yea, I know that the DNSBL is more effecient in
> sendmail, but I want to know how many blocked for what user
> by blacklist.
> >> if ($result = (relay_is_blacklisted($RelayAddr, "zen.spamhaus.org"))) {
> >> md_graphdefang_log('spamhaus', $hits, $RelayAddr);
> >> # the reject works, but graphdefang log shows the
> Subject instead of Relay address

Is the variable $hits empty at this point?  That would explain why the subject (which is the field which follows the relay address) is being read instead of the address.  The empty field may cause an omitted comma.

More information about the MIMEDefang mailing list