Problem with new MS 4.50.14 install

Dhawal Doshy dhawal at netmagicsolutions.com
Wed Feb 8 18:15:47 GMT 2006


Jeff Davis wrote:
> Can someone point me in the right direction?
> 
> I have a fresh install of Postfix 2.1.5, MailScanner 4.50.14, and
> the SA-ClamAV package ( ClamAV .88, SA 3.1.0)
> 
> The problem is when I start up MailScanner I see some config
> continuously looping in the maillog and the incoming/outgoing
> messages just sit in the hold queue.
> 
> The initial MS install went off quite well.
> Postfix worked before Mailscanner install.
> ...and if I shut MailScanner off postfix still works,
> although I have to push the files through due to the HOLD header check.
> 
> I followed the directions for a postfix config and change the Run As user and
> group to postfix, and I've set my Incoming Queue Dir = /var/spool/postfix/hold
> and Outgoing Queue Dir = /var/spool/postfix/incoming
> 
> I chown'd my MailScanner dirs:
> drwx------  2 postfix postfix 4096 Feb  7 11:48 incoming
> drwx------  2 postfix postfix 4096 Feb  1 17:38 quarantine
> 
> Have I missed something obvious in the MailScanner config?

Mostly looks fine.. the looping is *perceived* as mailscanner will log 
events for every child process.. see 'Max Children' option in 
MailScanner.conf

As for the postfix problem, double check everything from here
http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta:postfix:installation

- dhawal

> 
> Log snippet>
> Feb  7 14:49:51 mta MailScanner[27675]: MailScanner E-Mail Virus Scanner version
> 4.50.14 starting...
> Feb  7 14:49:52 mta MailScanner[27675]: Read 701 hostnames from the phishing
> whitelist
> Feb  7 14:49:52 mta MailScanner[27675]: Config: calling custom init function
> SQLBlacklist
> Feb  7 14:49:52 mta MailScanner[27675]: Starting up SQL Blacklist
> Feb  7 14:49:52 mta MailScanner[27675]: Read 0 blacklist entries
> Feb  7 14:49:52 mta MailScanner[27675]: Config: calling custom init function
> MailWatchLogging
> Feb  7 14:49:52 mta MailScanner[27675]: Started SQL Logging child
> Feb  7 14:49:52 mta MailScanner[27675]: Config: calling custom init function
> SQLWhitelist
> Feb  7 14:49:52 mta MailScanner[27675]: Starting up SQL Whitelist
> Feb  7 14:49:52 mta MailScanner[27675]: Read 0 whitelist entries
> Feb  7 14:49:52 mta MailScanner[27675]: Using SpamAssassin results cache
> Feb  7 14:49:52 mta MailScanner[27675]: Connected to SpamAssassin cache database
> Feb  7 14:50:02 mta MailScanner[27681]: MailScanner E-Mail Virus Scanner version
> 4.50.14 starting...
> Feb  7 14:50:03 mta MailScanner[27681]: Read 701 hostnames from the phishing
> whitelist
> Feb  7 14:50:03 mta MailScanner[27681]: Config: calling custom init function
> SQLBlacklist
> Feb  7 14:50:03 mta MailScanner[27681]: Starting up SQL Blacklist
> Feb  7 14:50:03 mta MailScanner[27681]: Read 0 blacklist entries
> Feb  7 14:50:03 mta MailScanner[27681]: Config: calling custom init function
> MailWatchLogging
> Feb  7 14:50:03 mta MailScanner[27681]: Started SQL Logging child
> Feb  7 14:50:03 mta MailScanner[27681]: Config: calling custom init function
> SQLWhitelist
> Feb  7 14:50:03 mta MailScanner[27681]: Starting up SQL Whitelist
> Feb  7 14:50:03 mta MailScanner[27681]: Read 0 whitelist entries
> Feb  7 14:50:03 mta MailScanner[27681]: Using SpamAssassin results cache
> Feb  7 14:50:03 mta MailScanner[27681]: Connected to SpamAssassin cache database
> Feb  7 14:50:13 mta MailScanner[27720]: MailScanner E-Mail Virus Scanner version
> 4.50.14 starting...
> Feb  7 14:50:14 mta MailScanner[27720]: Read 701 hostnames from the phishing
> whitelist
> Feb  7 14:50:14 mta MailScanner[27720]: Config: calling custom init function
> SQLBlacklist
> Feb  7 14:50:14 mta MailScanner[27720]: Starting up SQL Blacklist
> Feb  7 14:50:14 mta MailScanner[27720]: Read 0 blacklist entries
> Feb  7 14:50:14 mta MailScanner[27720]: Config: calling custom init function
> MailWatchLogging
> Feb  7 14:50:14 mta MailScanner[27720]: Started SQL Logging child
> Feb  7 14:50:14 mta MailScanner[27720]: Config: calling custom init function
> SQLWhitelist
> Feb  7 14:50:14 mta MailScanner[27720]: Starting up SQL Whitelist
> Feb  7 14:50:14 mta MailScanner[27720]: Read 0 whitelist entries
> Feb  7 14:50:14 mta MailScanner[27720]: Using SpamAssassin results cache
> Feb  7 14:50:14 mta MailScanner[27720]: Connected to SpamAssassin cache database
> 



More information about the MailScanner mailing list