Re: [Mimedefang] %2C instead of whitspaces in sendmail log

2016-09-20 Thread Joseph Brennan


--On September 20, 2016 at 17:24:44 +0200 Marcus Schopen
 wrote:

> 
> when I try to log the spam score names to sendmail log using
> 
>  md_graphdefang_log('spam_full_report', $hits, $names, $RelayAddr);
> 
> all whitespaces are replaced by "%2C" e.g.:
> 
>  BAYES_40%2CDIGEST_MULTIPLE%2CFREEMAIL_FORGED_FROMDOMAIN%2CFREEMAIL_FROM


The function takes only 3 arguments. Try

md_graphdefang_log('spam_full_report',"$hits $names", $RelayAddr);


Joseph Brennan
Columbia University Information Technology



___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] %2C instead of whitspaces in sendmail log

2016-09-20 Thread Joseph Brennan


--On September 20, 2016 at 11:48:17 -0400 Joseph Brennan
 wrote:

> The function takes only 3 arguments. Try
> 
> md_graphdefang_log('spam_full_report',"$hits $names", $RelayAddr);


Oh! I forgot that just before this we do:

$names =~ s/,/ /g;

to change the commas to spaces! 

Joseph Brennan
Columbia University Information Technology



___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang