Discussion:
MailScanner Logging
Jerry Benton
2013-06-21 21:19:03 UTC
Permalink
Hola,

I had a question and I am apparently not smart enough on perl to figure
this out. The issues has to deal with how MailScanner passes logging
information to loggers such as MailWatch.

In short, the subject line "C'est ?a que ?a dit" gets chopped in the SQL
logs to just "C'est". Reviewing the MailWatch code, the message information
is pushed into an array like this:

push @in, $_;

So I guess my real question here is if anyone knows if the data being
passed from MailScanner is escaped before being packed? I am trying to
figure out where in this chain it is being broken:

MailScanner => MailWatch => MailWatch processing => SQL Log

I am guessing that is is not between these two:

MailWatch processing => SQL Log

Because I did some testing with expected results using quotemeta.


Ideas?
--
--
Jerry Benton
Mailborder Systems
www.mailborder.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20130621/09e33337/attachment.html
Stephen Cox
2013-07-09 06:44:20 UTC
Permalink
On Fri, Jun 21, 2013 at 11:19 PM, Jerry Benton
Post by Jerry Benton
In short, the subject line "C'est ?a que ?a dit" gets chopped in the SQL
logs to just "C'est". Reviewing the MailWatch code, the message
Jerry,

Can you please file an issue on github and I will try to look into it.

Regards,
Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20130709/22326f78/attachment.html
Jerry Benton
2013-07-09 08:12:56 UTC
Permalink
Submitted on github.
On Fri, Jun 21, 2013 at 11:19 PM, Jerry Benton <
Post by Jerry Benton
In short, the subject line "C'est ?a que ?a dit" gets chopped in the SQL
logs to just "C'est". Reviewing the MailWatch code, the message
Jerry,
Can you please file an issue on github and I will try to look into it.
Regards,
Stephen
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
--
--
Jerry Benton
Mailborder Systems
www.mailborder.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20130709/6bc88ee4/attachment.html
Loading...