MailScanner stop problem+another one
Glenn Steen
glenn.steen at gmail.com
Wed Oct 15 10:34:44 IST 2008
2008/10/15 Velda Midanovic <velda.midanovic at trezor.sr.gov.yu>:
> Thank you.
>
> A bit sarcastic, but, well... True.
:-)
> I did a google for it, but wanted to be sure.
>
> In some wee hours of the morning, I did find a solution, and here it is :
Why?
> ****************
>
> In the file : /usr/lib/MailScanner/MailScanner/CustomFunctions/MailWatch.pm
> :
>
> sub ExitLogging {
>
> # Server exit - commit changes, close socket, and exit gracefully.
>
> close(SERVER);
>
> #$dbh->commit; ß----- This is the ONLY change, and it does work.
>
> $dbh->disconnect;
>
> exit;
>
> }
>
> ***************
>
> So there it is...
Yes, but again... Why? This "fix" fills no discernible purpose.
> ***************
>
> There has cropped up another problem, and only yesterday.
>
> It is this :
>
> After I stop MailScanner :
>
> service MailScanner status
>
> Checking MailScanner daemons:
>
> MailScanner: [ OK ]
>
> incoming sendmail: head: cannot open `/var/run/sendmail.in.pid' for
> rea ding: No such file or directory
>
> [FAILED]
>
> outgoing sendmail: head: cannot open `/var/run/sendmail.out.pid'
> for re ading: No such file or directory
>
> [FAILED]
>
> And YES I did Google it.
>
> Very little info.
>
> All seems to be working fine (tester GTUBE+EICAR), but it bugs me.
>
> I make files by hand (root smmsp rw-r—r--) in /var/run, and till the next
> (re)start it is OK, but then I have to make them again.
>
> So just a question : should I be worried?
>
> Velda
>
Do you by any chance have your sendmail service still enabled?
Cheers
--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
More information about the MailScanner
mailing list