MailScanner won't run ...
Martin Hepworth
maxsec at gmail.com
Sat Mar 9 23:09:33 GMT 2013
Make sure the debug mode is run as su postfix first
Martin
On Saturday, 9 March 2013, Joolee wrote:
> Stupid question maybe but are you sure Mailscanner is running and has the
> right privilleges and did you check the mail.log?
> Have you read and tried the suggestions from
> http://wiki.mailscanner.info/doku.php?id=documentation:test_troubleshoot:mailscanner?
>
> You should run the lint and debug checks as the user you configured in the
> Mailscanner conf and try it as root user just to be sure of permissions
>
> On 9 March 2013 21:31, Michael Grimm <trashcan at odo.in-berlin.de<javascript:_e({}, 'cvml', 'trashcan at odo.in-berlin.de');>
> > wrote:
>
>> 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
>>
>>
>>
>>
>>
>>
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info <javascript:_e({}, 'cvml',
>> '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!
>>
>
>
--
--
Martin Hepworth, CISSP
Oxford, UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20130309/3f5ec292/attachment.html
More information about the MailScanner
mailing list