[Mimedefang] End-of-line weirdness

David F. Skoll dfs at roaringpenguin.com
Mon Dec 6 14:44:41 EST 2010


On Mon, 06 Dec 2010 10:33:05 -0800
Philip Prindeville <philipp_subx at redfish-solutions.com> wrote:

> 11:16:10 mail mimedefang-multiplexor[14441]: Slave 1 stderr: Can't
> determine ip format at /usr/share/perl5/Net/CIDR/Lite.pm line
> 198#012#011
[..etc..]

> What would cause the end-of-line character to (a) be set to \r\n and
> (b) be printed in octal with a hash mark?

Syslogd.  MIMEDefang slurps the stderr output from the Perl process and
syslogs it.  Some (many?) versions of syslogd don't like non-printable
characters and transform them with the #ooo octal replacement.

(This is completely unrelated to the thread at
http://www.mail-archive.com/mimedefang@lists.roaringpenguin.com/msg09386.html
mentioned by another poster.)

Regards,

David.



More information about the MIMEDefang mailing list