Are you sure postfix is even installed on the pfSense system? Most of the logs seem to indicate it is'nt. If you're using another MTA, you should configure Mailscanner accordingly.<br><br><br><br><div class="gmail_quote">On 15 September 2014 13:17, Jorge Barosa <span dir="ltr"><<a href="mailto:jorge.barosa@outlook.com" target="_blank">jorge.barosa@outlook.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Hi,<div><br></div><div>Thanks for your reply:</div><div><br></div><div>Here is the respose for <span style="font-size:12pt"> </span><span style="font-size:12pt">'MailScanner --lint --debug'</span><span style="font-size:12pt">:</span></div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><font face="Courier New, sans-serif"># MailScanner --lint --debug</font></div></div><div><div><font face="Courier New, sans-serif">Trying to setlogsock(unix)</font></div></div><div><div><font face="Courier New, sans-serif"><br></font></div></div><div><div><font face="Courier New, sans-serif">Reading configuration file /usr/pbi/mailscanner-amd64/etc/MailScanner/MailScanner.conf</font></div></div><div><div><font face="Courier New, sans-serif">Reading configuration file /usr/pbi/mailscanner-amd64/etc/MailScanner/conf.d/README</font></div></div><div><div><font face="Courier New, sans-serif">Could not read executable /usr/local/sbin/sendmail at /usr/pbi/mailscanner-amd64/lib/MailScanner/MailScanner/Config.pm line 2897</font></div></div><div><div><font face="Courier New, sans-serif">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/Config.pm line 3151</font></div></div><div><div><font face="Courier New, sans-serif">Could not read directory /var/spool/postfix/incoming at /usr/pbi/mailscanner-amd64/lib/MailScanner/MailScanner/Config.pm line 2874</font></div></div><div><div><font face="Courier New, sans-serif">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/Config.pm line 3238</font></div></div><div><div><font face="Courier New, sans-serif">File containing list of incoming queue dirs (/var/spool/postfix/hold) does not exist at /usr/pbi/mailscanner-amd64/lib/MailScanner/MailScanner/Config.pm line 1819</font></div></div><div><div><font face="Courier New, sans-serif"><br></font></div></div><div><div><font face="Courier New, sans-serif">Checking version numbers...</font></div></div><div><div><font face="Courier New, sans-serif">Version number in MailScanner.conf (4.84.6) is correct.</font></div></div><div><div><font face="Courier New, sans-serif"><br></font></div></div><div><div><font face="Courier New, sans-serif">Your envelope_sender_header in spam.assassin.prefs.conf is correct.</font></div></div><div><div><font face="Courier New, sans-serif">Can't use string ("/var/spool/<a href="http://mqueue.in" target="_blank">mqueue.in</a>") as an ARRAY ref while "strict refs" in use at /usr/pbi/mailscanner-amd64/sbin/MailScanner line 536.</font></div></div></blockquote><div><div><br></div><div><br></div><div>In pfSense I don't have any more logs in</div><div><span style="color:rgb(68,68,68);font-size:15px;line-height:21.2999992370605px;background-color:rgb(255,255,255)"> /var/log/messages, /var/log/maillog</span></div><div><span style="color:rgb(68,68,68);font-size:15px;line-height:21.2999992370605px;background-color:rgb(255,255,255)"><br></span></div><div>Thank you</div><div><br></div><br><div>> Date: Mon, 15 Sep 2014 12:10:03 +0200<br>> From: <a href="mailto:Amelein@dantumadiel.eu" target="_blank">Amelein@dantumadiel.eu</a><br>> To: <a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>> Subject: Betr.: Re: pfSense virtualized with mailscanner doesn't run<div><div class="h5"><br>> <br>> Also try a 'MailScanner --lint --debug' and see what that says. It might just be the perl issue.<br>> <br>> <br>> <br>> >>> Op 15-9-2014 om 11:34 is door Peter Farrow <<a href="mailto:peter@farrows.org" target="_blank">peter@farrows.org</a>> geschreven:<br>> > A little more detail is required here.<br>> > <br>> > check /var/log/messages, /var/log/maillog<br>> > <br>> > and see what is reported.<br>> > <br>> > <br>> > <br>> > On 15/09/2014 10:11, Jorge Barosa wrote:<br>> >> Hello,<br>> >><br>> >> I'm a new in your list, can someone please help me?<br>> >><br>> >> I've got an pfSense in a virtulized system (vmWare vSphere Hypervisor <br>> >> 5.5 ESXi), every thing works just fine except the mailscanner!! it <br>> >> gives this errors:<br>> >><br>> >> mailscanner: Process did not exit cleanly, returned 2 with signal 0<br>> >> root: /usr/pbi/mailscanner-amd64/etc/rc.d/mailscanner: WARNING: failed <br>> >> to start mailscanner<br>> >><br>> >> Can someone giv me an hint ?<br>> >><br>> >> best regards,<br>> >> Jorge Barosa<br>> >><br>> >><br>> >> -- <br>> >> This message has been scanned for viruses and<br>> >> dangerous content by the *Togethia MailScanner* <br>> >> <<a href="http://www.togethia.net/" target="_blank">http://www.togethia.net/</a>>, and is<br>> >> believed to be clean.<br>> >> Scanner:local<br>> >><br>> >><br>> >><br>> >> -- <br>> >> horizontal ruler<br>> >><br>> >> Peter Farrow<br>> >> avatar         <br>> >> ______________________<br>> >> Home:         01249 654183<br>> >> Fax:         01249 461 548<br>> >> Mobile:         07799605617<br>> >> Skype:         peter_farrow<br>> >> Web:         <a href="http://www.peterfarrow.com" target="_blank">www.peterfarrow.com</a> <<a href="http://www.peterfarrow.com" target="_blank">http://www.peterfarrow.com</a>><br>> >><br>> <br>> <br>> <br>> <br>> -- <br>> MailScanner mailing list<br>> <a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>> <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>> <br>> Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>> <br>> Support MailScanner development - buy the book off the website! <br></div></div></div></div>                                            </div></div>
<br>--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
<br></blockquote></div><br>