virus scan not available -> no virus check!
J.Ede at birchenallhowden.co.uk
Tue Nov 24 15:16:22 GMT 2009
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of Stephen Swaney
> Sent: 24 November 2009 12:38
> To: MailScanner discussion
> Subject: Re: virus scan not available -> no virus check!
> On Nov 23, 2009, at 10:23 PM, Rick Cooper wrote:
> > ----Original Message----
> > From: mailscanner-bounces at lists.mailscanner.info
> > [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of
> > Cusack Sent: Monday, November 23, 2009 8:56 PM To:
> > mailscanner at lists.mailscanner.info Subject: virus scan not available
> -> no
> > virus check!
> >> I can't believe this is the default behavior. Also, I can't find a
> >> way to change it.
> >>> Nov 23 18:09:05 localhost MailScanner: Virus and Content
> >>> Scanning: Starting Nov 23 18:09:05 localhost MailScanner:
> >>> find Socket (/tmp/clamd.socket) Exiting!
> >> and then mailscanner goes on to bless the email as "clean". Note
> >> I do not have virus scanning set to "auto", I have it explicitly set
> >> to "clamd".
> >> My preferred behavior would be to send an email to postmaster (or
> >> whoever) at some regular interval if the virus scanner is not
> >> Anyway to get some semblance of that configured?
> >> -frank
> > As with any Daemon including MailScanner it's self you should have
> some kind
> > of monitoring installed that restarts and notifies you that is not
> > MailScanner's job. Should it send an email for each issue with all
> > and internals to the postmaster? It did the best thing I could think
> of, it
> > issues an error to the log and moves on. I guess it could shut
> > down I suppose. It would appear to be a configuration error since
> > doesn't remove it's socket if it crashes and MailScanner --lint would
> > caught it. Monit, Webmin, PingClamd.pl in a cron job, some kind of
> > monitoring should be in place for both ClamD and MailScanner it's
> self, and
> > what ever mta you are using...
> > Rick
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> > --
> > 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!
> You really need to implement an "out of band" monitoring system to
> monitor a mail server.
> How's a mail server going to send a mail notification if mail is broken
> Nagios provides a very good solution.
I do something similar as part of our zabbix system. Works quite well. Combined with a php script to dump mail queues to a web page and it works a treat.
More information about the MailScanner