4.56.7: "max message size is '40000'"

René Berber r.berber at computer.org
Tue Oct 3 21:05:55 IST 2006


Glenn Steen wrote:

> On 02/10/06, Jeff A. Earickson wrote:
>> Julian,
>>
>> Ok, I hang my head in shame and say that I didn't beta-test
>> earlier versions of 4.56.  September was a busy month.
>>
>> I just upgraded from 4.55.10 to 4.56.7 on my setup (Solaris 10,
>> SA 3.1.5, sophos and clam, dcc 1.3.40).  I ran it first in debug
>> mode to see what would happen (output attached).  Not much.
>>
>> Then I attempted to fire up 4.56.7 in normal mode.  I got zero syslog
>> output, and nothing seemed to happen except several MS processes
>> were sucking up CPU time:
>>
>> # ps -ef | grep perl
>>      root 15405 15337   0 11:55:16 ?           0:00 /usr/bin/perl
>> -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
>>      root 15394 15336   2 11:55:14 ?           0:02 /usr/bin/perl
>> -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
>>      root 15407 19023   0 11:55:16 pts/2       0:00 grep perl
>>      root 15336     1   0 11:55:03 ?           0:00 /usr/bin/perl
>> -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
>>      root 15337 15336   3 11:55:03 ?           0:08 /usr/bin/perl
>> -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
>>
>> I did go from version 0.13 to 0.18 of Sys-Syslog, but this does
>> not seem to have anything to do with this.  4.55.10 works fine with
>> the new Sys-Syslog.
>>
>> So, 4.56.7 never gets off the ground.  Any ideas?  Any other Solaris 10
>> users with this issue?
>>
> Hi Jeff,
> I'm certainly no Solaris guru, but could this have something to do
> with the pretty recent thread "No logging in Solaris 9 (with
> workaround) - question?"?

No, that was already changed in version 4.56.5 and I tested* it with Solaris 10.

* OK, sort of tested it, in fact I made 2 changes to lib/MailScanner/Log.pm (and it is recorded on the thread):

line 39 -
use Sys::Syslog qw(:DEFAULT setlogsock);

line 71 -
        Sys::Syslog::setlogsock('native');

The first one could be the problem in the current MS under Solaris 10; the second one just makes the syslog output come out with the normal format, the original 'udp' works fine, just not perfect ;-)
-- 
René Berber



More information about the MailScanner mailing list