MailScanner 4.84.6-1 + postfix 2.6.6-6 on CentOS 6.6 not checking filename/filetype rules
Viorel Robu
viorelrobu at yahoo.com
Fri Oct 31 13:00:25 GMT 2014
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20141031/b0c14d20/attachment.html
More information about the MailScanner
mailing list