Betr.: Re: pfSense virtualized with mailscanner doesn't run

Arjan Melein Amelein at
Mon Sep 15 13:31:01 IST 2014

Well here you go:

Could not read executable /usr/local/sbin/sendmail at /usr/pbi/mailscanner-amd64/lib/MailScanner/MailScanner/ line 2897 
Error in line 33, file "/usr/local/sbin/sendmail" for sendmail does not exist (or can not be read) at /usr/pbi/mailscanner-amd64/lib/MailScanner/MailScanner/ line 3151 
Could not read directory /var/spool/postfix/incoming at /usr/pbi/mailscanner-amd64/lib/MailScanner/MailScanner/ line 2874 
Error in configuration file line 27, directory /var/spool/postfix/incoming for outqueuedir does not exist (or is not readable) at /usr/pbi/mailscanner-amd64/lib/MailScanner/MailScanner/ line 3238 
File containing list of incoming queue dirs (/var/spool/postfix/hold) does not exist at /usr/pbi/mailscanner-amd64/lib/MailScanner/MailScanner/ line 1819

What I can think of from the top of my head:
- No MTA installed ? (somewhat unlikely)
- Wrong MTA configured in MailScanner.conf ?
- Wrong MTA path configured in MailScanner.conf ?
- Running MS as a different user then the MTA ? This would lead to permission problems.

If you check your MailScanner.conf the MTA settings are at the start of the file. (for me anyways, I'm using the fully commented version)
You might have to customize the default settings to where pfense has its files.

More information about the MailScanner mailing list