Are you sure postfix is even installed on the pfSense system? Most of the logs seem to indicate it is&#39;nt. If you&#39;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">&lt;<a href="mailto:jorge.barosa@outlook.com" target="_blank">jorge.barosa@outlook.com</a>&gt;</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">&#39;MailScanner --lint --debug&#39;</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 &quot;/usr/local/sbin/sendmail&quot; 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&#39;t use string (&quot;/var/spool/<a href="http://mqueue.in" target="_blank">mqueue.in</a>&quot;) as an ARRAY ref while &quot;strict refs&quot; 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&#39;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>&gt; Date: Mon, 15 Sep 2014 12:10:03 +0200<br>&gt; From: <a href="mailto:Amelein@dantumadiel.eu" target="_blank">Amelein@dantumadiel.eu</a><br>&gt; To: <a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>&gt; Subject: Betr.: Re: pfSense virtualized with mailscanner doesn&#39;t run<div><div class="h5"><br>&gt; <br>&gt; Also try a &#39;MailScanner --lint --debug&#39; and see what that says. It might just be the perl issue.<br>&gt; <br>&gt; <br>&gt; <br>&gt; &gt;&gt;&gt; Op 15-9-2014 om 11:34 is door Peter Farrow &lt;<a href="mailto:peter@farrows.org" target="_blank">peter@farrows.org</a>&gt; geschreven:<br>&gt; &gt; A little more detail is required here.<br>&gt; &gt; <br>&gt; &gt; check /var/log/messages, /var/log/maillog<br>&gt; &gt; <br>&gt; &gt; and see what is reported.<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; On 15/09/2014 10:11, Jorge Barosa wrote:<br>&gt; &gt;&gt; Hello,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; I&#39;m a new in your list, can someone please help me?<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; I&#39;ve got an pfSense in a virtulized system (vmWare vSphere Hypervisor <br>&gt; &gt;&gt; 5.5 ESXi), every thing works just fine except the mailscanner!! it <br>&gt; &gt;&gt; gives this errors:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; mailscanner: Process did not exit cleanly, returned 2 with signal 0<br>&gt; &gt;&gt; root: /usr/pbi/mailscanner-amd64/etc/rc.d/mailscanner: WARNING: failed <br>&gt; &gt;&gt; to start mailscanner<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Can someone giv me an hint ?<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; best regards,<br>&gt; &gt;&gt; Jorge Barosa<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; -- <br>&gt; &gt;&gt; This message has been scanned for viruses and<br>&gt; &gt;&gt; dangerous content by the *Togethia MailScanner* <br>&gt; &gt;&gt; &lt;<a href="http://www.togethia.net/" target="_blank">http://www.togethia.net/</a>&gt;, and is<br>&gt; &gt;&gt; believed to be clean.<br>&gt; &gt;&gt; Scanner:local<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; -- <br>&gt; &gt;&gt; horizontal ruler<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Peter Farrow<br>&gt; &gt;&gt; avatar         <br>&gt; &gt;&gt; ______________________<br>&gt; &gt;&gt; Home:         01249 654183<br>&gt; &gt;&gt; Fax:         01249 461 548<br>&gt; &gt;&gt; Mobile:         07799605617<br>&gt; &gt;&gt; Skype:         peter_farrow<br>&gt; &gt;&gt; Web:         <a href="http://www.peterfarrow.com" target="_blank">www.peterfarrow.com</a> &lt;<a href="http://www.peterfarrow.com" target="_blank">http://www.peterfarrow.com</a>&gt;<br>&gt; &gt;&gt;<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; -- <br>&gt; MailScanner mailing list<br>&gt; <a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>&gt; <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>&gt; <br>&gt; Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>&gt; <br>&gt; 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>