What is causing this error?

Martin martin.lyberg at gmail.com
Tue Jun 26 10:04:43 IST 2007


Martin wrote:
> Hi,
> 
> Testing centos on a test-machine using MS Version 4.60.8-1 and ClamAV 
> 0.90.3 and SpamAssassin 3.2.1 easy installation package. I'm using the 
> clamavmodule.
> 
> Noticed the following error after every batch in the maillog:
> 
> Jun 26 10:52:03 antispam2 MailScanner[9212]: unable to open database 
> file(1) at dbdimp.c line 402
> 
> Full log below:
> 
> Jun 26 10:51:53 antispam2 MailScanner[9212]: New Batch: Scanning 1 
> messages, 2413 bytes
> Jun 26 10:51:53 antispam2 MailScanner[9212]: Spam Checks: Starting
> Jun 26 10:52:01 antispam2 MailScanner[9212]: Spam Checks completed at 
> 299 bytes per second
> Jun 26 10:52:01 antispam2 MailScanner[9212]: Virus and Content Scanning: 
> Starting
> Jun 26 10:52:03 antispam2 MailScanner[9212]: Virus Scanning completed at 
> 1325 bytes per second
> Jun 26 10:52:03 antispam2 MailScanner[9212]: unable to open database 
> file(1) at dbdimp.c line 402
> Jun 26 10:52:03 antispam2 MailScanner[9212]: Requeue: 17F07D4CAF8.66A9B 
> to DDABDD4CB6B
> Jun 26 10:52:03 antispam2 postfix/qmgr[6048]: DDABDD4CB6B: 
> from=<xxxxxxxxx>, size=2165, nrcpt=1 (queue active)
> Jun 26 10:52:03 antispam2 MailScanner[9212]: Uninfected: Delivered 1 
> messages
> Jun 26 10:52:03 antispam2 MailScanner[9212]: Virus Processing completed 
> at 69187 bytes per second
> Jun 26 10:52:03 antispam2 MailScanner[9212]: Batch completed at 243 
> bytes per second (2413 / 9)
> Jun 26 10:52:03 antispam2 MailScanner[9212]: Batch (1 message) processed 
> in 9.92 seconds
> Jun 26 10:52:03 antispam2 MailScanner[9212]: Logging message 
> 17F07D4CAF8.66A9B to SQL
> Jun 26 10:52:03 antispam2 MailScanner[7816]: 17F07D4CAF8.66A9B: Logged 
> to MailWatch SQL
> Jun 26 10:52:03 antispam2 MailScanner[9212]: "Always Looked Up Last" 
> took 0.01 seconds
> Jun 26 10:52:03 antispam2 postfix/smtp[13123]: DDABDD4CB6B: 
> to=<xxxxxxxxxx>, relay=xxxxxxxx[xxxxxxxxxx]:25, delay=11, 
> delays=11/0.02/0/0.17, dsn=2.6.0, status=sent (250 2.6.0 <xxxxxxxxxxxxx> 
> Queued mail for delivery)
> Jun 26 10:52:03 antispam2 postfix/qmgr[6048]: DDABDD4CB6B: removed
> 
> 
> Any idea?
> 

Followup:

Noticed that the permissions on /var/spool/Mailscanner/incoming was set 
to clamav:clamav and the quarantine was set to root:apache

changed both to postfix:postfix and it was solved.

I remember that i changed it to postfix:postfix before, what did this 
change suddenly? Am i missing anything?



More information about the MailScanner mailing list