<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px"><div id="yiv0283132568"><div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: rgb(255, 255, 255);"><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=""></div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36140" style="background-color:transparent;">MailScanner is configured to run as postfix:postfix. </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 10381 0.0 1.8 205784 35060 ? Ss 13:14 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 10382 0.1 4.8 305000 92380 ? S 13:14 0:04 MailScanner: waiting for
messages</div><div class="yiv0283132568" id="yiv0283132568yui_3_16_0_1_1414756559390_36125" style="background-color:transparent;">root 11635 0.0 0.0 103252 840 pts/6 S+ 14:10 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 & 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. </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></body></html>