MailScanner won't run ...
Michael Grimm
trashcan at odo.in-berlin.de
Sat Mar 9 20:31:58 GMT 2013
Hi --
I'm absolutely new regarding MailScanner, and I would like to migrate from amavisd-new, but:
This is my test mail server running in a FreeBSD jail:
FreeBSD 9.1-RELEASE
postfix 2.9.5
clamav 0.97.6
spamassassin 3.3.2
perl 5.14.2
Following http://www.mailscanner.info/postfix.html I did modify MailScanner.conf as follows:
Run As User = postfix
Run As Group = postfix
Incoming Queue Dir = /var/spool/postfix/hold
Outgoing Queue Dir = /var/spool/postfix/incoming
MTA = postfix
plus (due to clamav):
Incoming Work User =
Incoming Work Group = clamav
Incoming Work Permissions = 0640
and:
SpamAssassin User State Dir = /var/spool/MailScanner/spamassassin
I did create the following directories:
drwxrwxr-x 5 postfix postfix var/spool/MailScanner
drwxr-xr-x 2 postfix postfix /var/spool/MailScanner/spamassassin
drwxr-xr-x 2 postfix postfix /var/spool/MailScanner/quarantine
drwxr-xr-x 4 postfix clamav /var/spool/MailScanner/incoming
drwx------ 2 postfix postfix /var/spool/MailScanner/incoming/SpamAssassin-Temp
drwxr-x--- 2 postfix postfix /var/spool/MailScanner/incoming/Locks
"MailScanner --lint" and "spamassassin --lint" do run to completion without any complaints.
*BUT*: Whenever I do inject mail messages, they will be put into postfix' hold queue (as intended by postfix' header_checks) for ever, but MailScanner won't do *anything*, no single syslog entry, nothing, absolutely nothing :-( I would have expected that there were some complaints in syslog, but there's nothing! And, I did try a lot of different variations of what should be configured (according help text in MailScanner.conf and google searching).
MailScanner --debug isn't helpful, either. Nothing happens, nothing.
MailScanner -h tells me that I do have all modules installed.
I never ever experienced something comparable before: no error messages in syslog or wherever that would tell me about my mistakes :-(
Thus: Anybody here that could teach me what to test next?
Thanks and with kind regards,
Michael
More information about the MailScanner
mailing list