[Mimedefang] MIMEDefang Notification

Joseph Brennan brennan at columbia.edu
Sat Dec 13 17:37:02 EST 2014



--On December 13, 2014 10:28:46 PM +0000 Jon Rowlan <jon.rowlan at sads.com> 
wrote:

>                 if( $mailerlookuptable{$domain} =~ /^smtp:\[(.+)\]/ ){
>                         md_syslog('warning', "JWR00115 I am host $host
> checking recipient $rcpt_addr against server $1 for domain $domain with
> arg=$1");
> 				   # don't do anything for real yet
>                         # return md_check_against_smtp_server($sender,
> $rcpt_addr, $host, $1);
>                         return ("CONTINUE", "OK");
>                 } else {
>                         md_syslog('warning', "JWR00115 not matched");
>                         return ("CONTINUE", "OK");
>                 }

Log what is in all the variables without if conditions, e.g.

md_syslog('warning', "mailerlookuptable result was 
$mailerlookuptable{$domain}");

md_syslog('warning', "JWR00115 I am host $host checking recipient 
$rcpt_addr against server $1 for domain $domain with arg=$1");

That should be diagnostic.

Joseph Brennan
Columbia U I T











More information about the MIMEDefang mailing list