MailScanner & CentOS5/Sendmail

Gerard Cleary gcle at smcaus.com.au
Fri May 16 04:41:09 IST 2008


On Fri, 16 May 2008 10:41:25 Henry Kwan wrote:
> After setting up a gateway using CentOS5 & postfix, I'm attempting to set
> one up using sendmail to see which MTA I want to use.
>
> But I'm having a bit of problem with file permissions.  If I set
> mqueue/mqueue.in to root.bin & 750 as recommended by the MailScanner page
> (http://www.mailscanner.info/sendmail.html), I end up with a ton of "Cannot
> cd to dir /var/spool/mqueue.in to read messages, Permission denied" error
> messages.
>
> If I chown both folders to mail.mail, MailScanner will stop complaining but
> then when I send a test message to myself, I get a "sendmail[5777]:
> m4G0Wf7t005777: SYSERR(root): collect: Cannot write ./dfm4G0Wf7t005777
> (bfcommit, uid=0, gid=51): Permission denied" error.
>
> So what ownership and file permissions should mqueue/mqueue.in have?
>
> Thanks.
Our system uses Centos 4.5 and Sendmail.
/var/spool/mqueue has modes 700 and ownership root.mail
/var/spool/mqueue.in has modes 700 and ownership root.root

HTH.
Gerard.


-- 


-- 
This email message and any related attachments are confidential and should
only be read by those persons to whom they were addressed. They may contain
copyright, personal or legally privileged information. If you are not the
intended recipient of this email, any use of this information is strictly
prohibited and it must be deleted from your system. Views expressed in this
message are the views of the sender and are not necessarily views of SMC
Corporation, or it's subsidiaries, except where the message expressly states
otherwise.
Any advice contained herein should be treated as preliminary advice only and
subject to formal written confirmation. Although this email and any
attachments are believed to be free of any virus or any other defect which may
cause damage or loss, it is the responsibility of the recipient to ensure that
they are virus-free. SMC accepts no liability for any loss or damage that may
occur as a result of the transmission of this email or its attachments to the
recipient.



More information about the MailScanner mailing list