MailScanner 4.84.6-1 + postfix 2.6.6-6 on CentOS 6.6 not checking filename/filetype rules

Jerry Benton jerry.benton at mailborder.com
Fri Oct 31 18:40:30 GMT 2014


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. 

sed -i "s/pickup    unix/pickup    fifo/g" /etc/postfix/master.cf
sed -i "s/qmgr      unix/qmgr      fifo/g" /etc/postfix/master.cf


-
Jerry Benton
www.mailborder.com



> On Oct 31, 2014, at 9:00 AM, Viorel Robu <viorelrobu at yahoo.com> wrote:
> 
> Hi all,
> 
> MailScanner is configured to run as postfix:postfix. 
> 
> Run As User = postfix
> Run As Group = postfix
> 
> Checked after start:
> 
> [root at srv-smtp conf.d]# ps axu | grep MailScanner
> postfix  10381  0.0  1.8 205784 35060 ?        Ss   13:14   0:00 MailScanner: master waiting for children, sleeping
> postfix  10382  0.1  4.8 305000 92380 ?        S    13:14   0:04 MailScanner: waiting for messages
> root     11635  0.0  0.0 103252   840 pts/6    S+   14:10   0:00 grep MailScanner
> 
> I double-checked permission and ownership of every directory and file in /var/spool/postfix and /var/spool/MailScanner.
> But I can't figure out why MailScanner is not executing file name & file type checking of attachments.
> I found a strange behavior: if I stop it and then run it in this manner:
> /etc/init.d/MailScanner startin
> /etc/init.d/MailScanner startout
> sudo -u postfix -g postfix /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
> it starts acting as is supposed to. 
> 
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
> Before posting, read http://wiki.mailscanner.info/posting
> 
> Support MailScanner development - buy the book off the website! 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20141031/105a637e/attachment.html 


More information about the MailScanner mailing list