Fwd: Problems on Solaris x86
Pascal Maes
pascal.maes at elec.ucl.ac.be
Fri Aug 11 15:38:47 IST 2006
Début du message réexpédié :
>
> Hello,
>
>
> I'm installing MailScanner 4.55.10 into a zone on a Solaris 10 x86
> system.
> The MTA is postfix and MailScanner is running as the postfix User.
>
> I have the following problems :
>
> - there are no logging
In Log.pm we have :
eval {
if ($^O !~ /solaris|sunos|irix/i) {
Sys::Syslog::setlogsock('unix');
} # else {
# Sys::Syslog::setlogsock('stream');
# }
It seems that for solaris, it should be 'inet' instead of 'unix'
> - when I run MailScanner in debug mode, it works :
>
> # ../bin/MailScanner
> In Debugging mode, not forking...
> Ignore errors about failing to find EOCD signature
> Stopping now as you are debugging me.
>
> and the mails which are in the queue are sent.
>
> - when I start MailScanner not in debug mode, it forks (until
> the limit), but nothing happens
> It's the same if I launch MailScanner in foreground :
>
> # ../bin/MailScanner
> MailScanner 4.55.10 starting in foreground mode - pid is [4162]
> About to fork child #1 of 10...
> Forked OK - new child is [4163]
> About to fork child #2 of 10...
> Forked OK - new child is [4164]
> ...
> About to fork child #10 of 10...
> Forked OK - new child is [4172]
>
> but nothing else.
>
> Of course, without any logging, it's not easy to find the problem
>
> Same problem with MailScanner 4.54-6
>
> Any idea ?
Now, when I start MailScanner I have the following lines in the
logfile :
Aug 11 16:26:38 localhost MailScanner[6498]: MailScanner E-Mail Virus
Scanner version 4.55.10 starting...
Aug 11 16:26:38 localhost MailScanner[6498]: Using SpamAssassin
results cache
Aug 11 16:26:38 localhost MailScanner[6498]: Connected to
SpamAssassin cache database
Aug 11 16:26:38 localhost MailScanner[6498]: MailScanner E-Mail Virus
Scanner version 4.55.10 starting...
Aug 11 16:26:38 localhost MailScanner[6498]: Using SpamAssassin
results cache
Aug 11 16:26:38 localhost MailScanner[6498]: Connected to
SpamAssassin cache database
but each mail remains in /var/spool/postfix/hold/
In debugging mode, I get :
# /opt/MailScanner/bin/check_mailscanner
Starting MailScanner...
In Debugging mode, not forking...
Aug 11 16:34:40 localhost MailScanner[6532]: MailScanner E-Mail Virus
Scanner version 4.55.10 starting...
Aug 11 16:34:41 localhost MailScanner[6532]: Using SpamAssassin
results cache
Aug 11 16:34:41 localhost MailScanner[6532]: Connected to
SpamAssassin cache database
Aug 11 16:34:40 localhost MailScanner[6532]: MailScanner E-Mail Virus
Scanner version 4.55.10 starting...
Aug 11 16:34:41 localhost MailScanner[6532]: Using SpamAssassin
results cache
Aug 11 16:34:41 localhost MailScanner[6532]: Connected to
SpamAssassin cache database
Aug 11 16:34:43 localhost MailScanner[6532]: Using locktype = flock
Aug 11 16:34:43 localhost MailScanner[6532]: New Batch: Scanning 1
messages, 1232 bytes
Aug 11 16:34:43 localhost MailScanner[6532]: Spam Checks: Starting
--
Pascal
More information about the MailScanner
mailing list