MrC wrote the following on 3/14/2007 4:20 PM -0800: >> I am running amavisd-new-2.4.5 (20070130). I'm wondering if >> there a way to change how amavis logs to the syslog, in >> particular, a way to keep it from truncating part of the log >> entry? For example: >> >> > > Bill, > > These entries are continuation lines. They must be joined with previous > lines with the same amavis PID / instance. > > amavis cuts syslog lines to be below 1023 bytes include a prefix for max > length of 980 chars. > > my($logline_size) = 980; # less than (1023 - prefix) > > I suppose this is a compatibility issue for systems whose syslog handles < > 1k bytes. > > See the beginning of the amavis filter for logwatch for perl code that > performs continuation line joining. > > http://www.mikecappella.com/logwatch/amavis.tgz > > MrC > Hmmm, right you are. Thanks for the info and the link.
Bill ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
