permissions and ownership of /var/spool/incoming

Kevin Miller Kevin_Miller at ci.juneau.ak.us
Mon May 20 17:11:29 IST 2013


On both my SLES and CentOS boxes running MailScanner an clamAV the user is clamav not clam.  Double check the name of the account that clamav is actually running as.  It can vary from distribution to distribution...

 ...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Dan Carl
Sent: Saturday, May 18, 2013 7:24 AM
To: MailScanner discussion
Subject: permissions and ownership of /var/spool/incoming

Hi all,
I never have any issues with Mailscanner the thing just works and works well.
But when it comes to new installs that when you'll see me post here.
I'm running a shiny new CentOS 6.4 box with postfix.
I've tried everything but still getting error below when running MailScanner --lint.
Could not open file >/var/spool/MailScanner/incoming/2614/1.header: 
Permission denied
Cannot create + lock headers file
/var/spool/MailScanner/incoming/2614/1.header, Permission denied at /usr/lib/MailScanner/MailScanner/Message.pm line 523 I set the permissions and ownership to:
chown -R postfix.clam *
chmod -R 750 *
But Mailscanner sets the permissions to clam.root Thanks in advance Dan
--
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! 


More information about the MailScanner mailing list