<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">It could be the unix/fifo thing with postfix. Newer versions have it set to unix. The easiest fix is to set it back to fifo.&nbsp;<div class=""><br class=""></div><div class=""><div class="">sed -i "s/pickup &nbsp; &nbsp;unix/pickup &nbsp; &nbsp;fifo/g" /etc/postfix/master.cf</div><div class="">sed -i "s/qmgr &nbsp; &nbsp; &nbsp;unix/qmgr &nbsp; &nbsp; &nbsp;fifo/g" /etc/postfix/master.cf</div><div class=""><br class=""></div><div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">-</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Jerry Benton</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://www.mailborder.com" class="">www.mailborder.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Oct 31, 2014, at 9:00 AM, Viorel Robu &lt;<a href="mailto:viorelrobu@yahoo.com" class="">viorelrobu@yahoo.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;" class=""><div id="yiv0283132568" class=""><div class=""><div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: rgb(255, 255, 255);" class=""><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36142" style="">Hi all,</div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36113" style=""><br style="" class=""></div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36140" style="background-color:transparent;">MailScanner is configured to run as postfix:postfix.&nbsp;</div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36138" style="background-color:transparent;"><br class="yiv0283132568" style=""></div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36136" style="background-color:transparent;"><span class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36135" style="background-color:transparent;">Run As User = postfix</span></div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36117" style="background-color:transparent;">Run As Group = postfix</div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36133" style="background-color:transparent;"><br class="yiv0283132568" style=""></div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36119" style="background-color:transparent;">Checked after start:</div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36131" style="background-color:transparent;"><br class="yiv0283132568" style=""></div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36121" style="background-color:transparent;">[root@srv-smtp conf.d]# ps axu | grep MailScanner</div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36129" style="background-color:transparent;">postfix &nbsp;10381 &nbsp;0.0 &nbsp;1.8 205784 35060 ? &nbsp; &nbsp; &nbsp; &nbsp;Ss &nbsp; 13:14 &nbsp; 0:00 MailScanner: master waiting for children, sleeping</div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36123" style="background-color:transparent;">postfix &nbsp;10382 &nbsp;0.1 &nbsp;4.8 305000 92380 ? &nbsp; &nbsp; &nbsp; &nbsp;S &nbsp; &nbsp;13:14 &nbsp; 0:04 MailScanner: waiting for
 messages</div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36125" style="background-color:transparent;">root &nbsp; &nbsp; 11635 &nbsp;0.0 &nbsp;0.0 103252 &nbsp; 840 pts/6 &nbsp; &nbsp;S+ &nbsp; 14:10 &nbsp; 0:00 grep MailScanner</div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36127" style="background-color:transparent;"><br class="yiv0283132568" style=""></div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36166" style="background-color:transparent;">I double-checked permission and ownership of every directory and file in /var/spool/postfix and /var/spool/MailScanner.</div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36168" style="background-color:transparent;">But I can't figure out why MailScanner is not executing file name &amp; file type checking of attachments.</div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36185" style="background-color:transparent;">I found a strange behavior: if I stop it and then run it in this manner:</div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36170" style="background-color:transparent;">/etc/init.d/MailScanner startin</div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36183" style="background-color:transparent;">/etc/init.d/MailScanner startout<br class="yiv0283132568" style=""></div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36172" style="background-color:transparent;">sudo -u postfix -g postfix /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf</div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36174" style="background-color:transparent;">it starts acting as is supposed to.&nbsp;</div><div id="yiv0283132568yui_3_16_0_1_1414756559390_64495" class="yiv0283132568" style=""><br class="yiv0283132568" id="yiv0283132568yui_3_16_0_10_1414756559390_5" style=""></div></div></div></div></div></div>-- <br class="">MailScanner mailing list<br class=""><a href="mailto:mailscanner@lists.mailscanner.info" class="">mailscanner@lists.mailscanner.info</a><br class="">http://lists.mailscanner.info/mailman/listinfo/mailscanner<br class=""><br class="">Before posting, read http://wiki.mailscanner.info/posting<br class=""><br class="">Support MailScanner development - buy the book off the website! <br class=""></div></blockquote></div><br class=""></div></body></html>