MailScanner failing on CentOS 6.

Jeremy McSpadden jeremy at fluxlabs.net
Tue Apr 10 16:13:31 IST 2012


The pasted logs do not show it dying. Is the process stopped when you check?


--
Jeremy McSpadden
Flux Labs, Inc
http://www.fluxlabs.net<http://www.fluxlabs.net/>
Endless Solutions
Office : 850-588-4626
Cell : 850-890-2543
Fax : 850-254-2955

From: Rabie Van der Merwe <rvdmerwe at mhg.co.za<mailto:rvdmerwe at mhg.co.za>>
Reply-To: MailScanner discussion <mailscanner at lists.mailscanner.info<mailto:mailscanner at lists.mailscanner.info>>
Date: Tue, 10 Apr 2012 16:49:34 +0200
To: MailScanner discussion <mailscanner at lists.mailscanner.info<mailto:mailscanner at lists.mailscanner.info>>
Subject: MailScanner failing on CentOS 6.

Hi,

I am trying to diagnose why MailScanner is dying after upgrading from
CentOS/RHEL5 to 6.
I am using Postfix, ClamD and MailWatch, so far I seem to have it down
to something to
do with the file permissions and setting the working group to clamav, if
I disable scanning
ie, no AV or Spam checking it passes email.

Even if I change the output in MailScanner.conf to debug I dont get
much, any thoughts where to from here?

Regards
Rabie

---snip---
Apr 10 15:17:03 quazar MailScanner[7022]: MailScanner E-Mail Virus
Scanner version 4.84.5 starting...
Apr 10 15:17:03 quazar MailScanner[7022]: Reading configuration file
/etc/MailScanner/MailScanner.conf
Apr 10 15:17:03 quazar MailScanner[7022]: Reading configuration file
/etc/MailScanner/conf.d/README
Apr 10 15:17:03 quazar MailScanner[7022]: Read 869 hostnames from the
phishing whitelist
Apr 10 15:17:03 quazar MailScanner[7022]: Read 5470 hostnames from the
phishing blacklists
Apr 10 15:17:03 quazar MailScanner[7022]: Config: calling custom init
function MailWatchLogging
Apr 10 15:17:03 quazar MailScanner[7022]: Started SQL Logging child
Apr 10 15:17:03 quazar MailScanner[7022]: Using SpamAssassin results
cache
Apr 10 15:17:03 quazar MailScanner[7022]: Connected to SpamAssassin
cache database
Apr 10 15:17:03 quazar MailScanner[7022]: Enabling SpamAssassin
auto-whitelist functionality...
Apr 10 15:17:05 quazar MailScanner[7022]: Connected to Processing
Attempts Database
Apr 10 15:17:05 quazar MailScanner[7022]: Found 1 messages in the
Processing Attempts Database
Apr 10 15:17:05 quazar MailScanner[7022]: lock.pl sees Config LockType
= flock
Apr 10 15:17:05 quazar MailScanner[7022]: lock.pl sees have_module = 0
Apr 10 15:17:05 quazar MailScanner[7022]: Using locktype = flock
Apr 10 15:17:35 quazar MailScanner[7022]: Making attempt 3 at processing
message 2D55A28CE.AD4E6
Apr 10 15:17:35 quazar MailScanner[7022]: New Batch: Scanning 1
messages, 6458 bytes
Apr 10 15:17:35 quazar MailScanner[7022]: Created attachment dirs for 1
messages
Apr 10 15:17:36 quazar MailScanner[7022]: Completed checking by
/usr/bin/file
Apr 10 15:17:36 quazar MailScanner[7022]: Virus and Content Scanning:
Starting
Apr 10 15:17:36 quazar MailScanner[7022]: Commencing scanning by
clamd...
Apr 10 15:17:36 quazar MailScanner[7041]: Debug Mode Is On
Apr 10 15:17:36 quazar MailScanner[7041]: Use Threads : NO
Apr 10 15:17:36 quazar MailScanner[7041]: Socket :
/var/run/clamav/clamd.socket
Apr 10 15:17:36 quazar MailScanner[7041]: IP : Using Sockets
Apr 10 15:17:36 quazar MailScanner[7041]: Lock File : NOT USED
Apr 10 15:17:36 quazar MailScanner[7041]: Time Out : 300
Apr 10 15:17:36 quazar MailScanner[7041]: Scan Dir :
/var/spool/MailScanner/incoming/7022
Apr 10 15:17:36 quazar MailScanner[7041]: Clamd : Sending PING
Apr 10 15:17:36 quazar MailScanner[7041]: Clamd : GOT 'PONG'
Apr 10 15:17:36 quazar MailScanner[7041]: ClamD is running
Apr 10 15:17:36 quazar MailScanner[7041]: SENT : CONTSCAN
/var/spool/MailScanner/incoming/7022
Apr 10 15:17:36 quazar MailScanner[7022]: Completed scanning by clamd
Apr 10 15:17:36 quazar MailScanner[7022]: RBL Checks: returned 0
Apr 10 15:17:36 quazar MailScanner[7022]: SpamAssassin cache hit for
message 2D55A28CE.AD4E6
Apr 10 15:19:55 quazar MailScanner[7194]: MailScanner E-Mail Virus
Scanner version 4.84.5 starting...
---snip---


---snip---
Apr 10 16:39:57 quazar MailScanner[9060]: MailScanner E-Mail Virus
Scanner version 4.84.5 starting...
Apr 10 16:39:57 quazar MailScanner[9060]: Reading configuration file
/etc/MailScanner/MailScanner.conf
Apr 10 16:39:57 quazar MailScanner[9060]: Reading configuration file
/etc/MailScanner/conf.d/README
Apr 10 16:39:57 quazar MailScanner[9060]: Read 869 hostnames from the
phishing whitelist
Apr 10 16:39:57 quazar MailScanner[9060]: Read 5470 hostnames from the
phishing blacklists
Apr 10 16:39:57 quazar MailScanner[9060]: Config: calling custom init
function MailWatchLogging
Apr 10 16:39:57 quazar MailScanner[9060]: Started SQL Logging child
Apr 10 16:39:57 quazar MailScanner[9060]: Using SpamAssassin results
cache
Apr 10 16:39:57 quazar MailScanner[9060]: Connected to SpamAssassin
cache database
Apr 10 16:39:57 quazar MailScanner[9060]: Enabling SpamAssassin
auto-whitelist functionality...
Apr 10 16:40:04 quazar MailScanner[9060]: Connected to Processing
Attempts Database
Apr 10 16:40:04 quazar MailScanner[9060]: Found 1 messages in the
Processing Attempts Database
Apr 10 16:40:04 quazar MailScanner[9060]: lock.pl sees Config LockType
= flock
Apr 10 16:40:04 quazar MailScanner[9060]: lock.pl sees have_module = 0
Apr 10 16:40:04 quazar MailScanner[9060]: Using locktype = flock
Apr 10 16:40:04 quazar MailScanner[9060]: New Batch: Found 3 messages
waiting
Apr 10 16:40:04 quazar MailScanner[9060]: New Batch: Scanning 2
messages, 202224 bytes
Apr 10 16:40:04 quazar MailScanner[9060]: Created attachment dirs for 2
messages
---snip---


**********************************************************************
---------
NOTICE
---------

This message (including attachments) contains privileged and confidential information intended only for the person or entity to which it is addressed.

Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited.

If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer.

Metropolitan Health, its subsidiaries or associates, does not accept liability for any personal views expressed in this message.

Metropolitan Health
PO Box 4313 Cape Town 8000 Tel: 021 480 4511 Fax: 021 480 4535 www.mhg.co.za<http://www.mhg.co.za/>

**********************************************************************


-- MailScanner mailing list mailscanner at lists.mailscanner.info<mailto: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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20120410/1e652e2e/attachment.html


More information about the MailScanner mailing list