Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to install MailScanner and it seems to be stuck in a infinite loop. It scans the same messages and when it's done, it doesn't requeue them into postfix:

May  3 14:58:13 marine MailScanner[17474]: MailScanner E-Mail Virus Scanner version 4.74.16 starting...
May  3 14:58:13 marine MailScanner[17474]: Read 848 hostnames from the phishing whitelist
May  3 14:58:13 marine MailScanner[17474]: Read 4278 hostnames from the phishing blacklist
May  3 14:58:14 marine MailScanner[17474]: Using SpamAssassin results cache
May  3 14:58:14 marine MailScanner[17474]: Connected to SpamAssassin cache database
May  3 14:58:14 marine MailScanner[17474]: Enabling SpamAssassin auto-whitelist functionality...
May  3 14:58:15 marine MailScanner[17474]: Using locktype = flock
May  3 14:58:15 marine MailScanner[17474]: New Batch: Scanning 6 messages, 3040 bytes
May  3 14:58:15 marine MailScanner[17474]: Spam Checks: Starting
May  3 14:58:16 marine MailScanner[17474]: Spam Checks completed at 2240 bytes per second

May  3 14:58:18 marine MailScanner[17508]: MailScanner E-Mail Virus Scanner version 4.74.16 starting...
May  3 14:58:18 marine MailScanner[17508]: Read 848 hostnames from the phishing whitelist
May  3 14:58:19 marine MailScanner[17508]: Read 4278 hostnames from the phishing blacklist
May  3 14:58:19 marine MailScanner[17508]: Using SpamAssassin results cache
May  3 14:58:19 marine MailScanner[17508]: Connected to SpamAssassin cache database
May  3 14:58:19 marine MailScanner[17508]: Enabling SpamAssassin auto-whitelist functionality...
May  3 14:58:20 marine MailScanner[17508]: Using locktype = flock
May  3 14:58:20 marine MailScanner[17508]: New Batch: Scanning 6 messages, 3040 bytes
May  3 14:58:20 marine MailScanner[17508]: Spam Checks: Starting
May  3 14:58:21 marine MailScanner[17508]: Spam Checks completed at 2112 bytes per second
etc...

On another server, it says this:

May  3 14:45:32 geborsteldstaal MailScanner[2981]: Requeue: 0C6F320E055.A1F9F to 6728F20E053
May  3 14:45:32 geborsteldstaal MailScanner[2981]: Uninfected: Delivered 1 messages
May  3 14:45:32 geborsteldstaal MailScanner[2981]: Deleted 1 messages from processing-database

Not here... There also aren't any postfix notices after the initial HOLD.

Everything is setup exactly as on another system I have, installed per this. The only difference is that this is Ubuntu 10.04, and the working one is Debian 5 (lenny).

Config:

Incoming Queue Dir = /var/spool/postfix/hold
Outgoing Queue Dir = /var/spool/postfix/incoming
Incoming Work Dir = /var/spool/MailScanner/incoming
MTA = postfix
Run As User = postfix
Run As Group = postfix

In Postfix:

header_checks = regexp:/etc/postfix/header_checks

With in that file:

/^Received:/ HOLD

Mailscanner --lint says:

Trying to setlogsock(unix)
Read 848 hostnames from the phishing whitelist
Read 4278 hostnames from the phishing blacklist
Checking version numbers...
Version number in MailScanner.conf (4.74.16) is correct.

Your envelope_sender_header in spam.assassin.prefs.conf is correct.
MailScanner setting GID to  (111)
MailScanner setting UID to  (107)

Checking for SpamAssassin errors (if you use it)...
Using SpamAssassin results cache
Connected to SpamAssassin cache database
SpamAssassin reported no errors.
Using locktype = posix
MailScanner.conf says "Virus Scanners = clamd"
Found these virus scanners installed: clamd
===========================================================================
Insecure dependency in chown while running with -T switch at /usr/share/MailScanner//MailScanner/Message.pm line 2407.

That last error yields 1 post on google, and irrelevant at that. The fault seems to be archive scanning related.

Any idea why it's not requeueing messages?

share|improve this question
    
It seemed to be a bug. I reported it: bugs.launchpad.net/ubuntu/+source/mailscanner/+bug/776753 –  Halfgaar May 4 '11 at 7:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.