sendmail , mailscanner problem

Dimitri Yioulos dyioulos at firstbhph.com
Fri Jul 13 17:01:39 IST 2007


On Friday 13 July 2007 3:44 am, mailadmin at baladia.gov.kw wrote:
> dear All,
>
> I have rcently installed Centos OS 4.5 + sendmail-8.13.1-3.2.el4 +
> MailScanner-4.61.7-2 + clamav 0.90.3 and is being working perfect..
>
> But i have noticed one thing
>
> if for any reason i say service sendmail stop
> and then           service mailScanner stop
>
> it stop without any error
>
> then when i say service sendmail start it starts fine without any error
>
> n wthen when i start MailScanner it somes times start fine no errors but
> sometimes with errors
>
> Starting MailScanner daemons:
>          incoming sendmail: [  OK  ]
>          outgoing sendmail: [  OK
>  MailScanner:
>
>  Can't locate IO/Wrap.pm in @INC (@INC contains: /usr/lib/MailScanner
> /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
> /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
> /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4
> /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
> /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
> /usr/lib/perl5/vendor_perl .
> /usr/lib/MailScanner/5.8.5/i386-linux-thread-multi
> /usr/lib/MailScanner/5.8.5 /usr/lib/MailScanner/i386-linux-thread-multi
> /usr/lib/MailScanner/5.8.4 /usr/lib/MailScanner/5.8.3
> /usr/lib/MailScanner/5.8.2 /usr/lib/MailScanner/5.8.1
> /usr/lib/MailScanner/5.8.0 /usr/lib/MailScanner) at
> /usr/lib/perl5/site_perl/5.8.5/MIME/Parser.pm line 134.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.8.5/MIME/Parser.pm line 134.
> Compilation failed in require at
> /usr/lib/MailScanner/MailScanner/MCPMessage.pm line 41.
> BEGIN failed--compilation aborted at
> /usr/lib/MailScanner/MailScanner/MCPMessage.pm line 41.
> Compilation failed in require at /usr/sbin/MailScanner line 78.
> BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 78.
>
> n then in my maillog i c
> ul 13 12:01:12 kmdns2 sendmail[13382]: starting daemon (8.13.1):
> queueing at 00:15:00
> Jul 13 12:01:17 kmdns2 sendmail[13373]: NOQUEUE: SYSERR(root):
> opendaemonsocket: daemon MTA: cannot bind: Address already in use
>
> but if i  restart the pc everythin is perfect n no errors of either
> sendmail or mailscanner in my /var/log/maillog
>
>
> 2) also any message sent has scanned by MailScanner at the end
> how can i disable this messgae
>
> Appreciate your help
>
> thnks
>
> regards
>
> simon
>
>
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!


Answer 1 - don't run an instance of sendmail.  Let MailScanner call sendmail.

Answer 2 - set Sign Clean Messages = No in MailScanner.conf

Dimitri


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list