Sm-client.pid: permission error
Julian Field
mailscanner at ecs.soton.ac.uk
Thu Oct 21 19:09:52 IST 2004
<x-flowed>
What OS and version are you using? What distribution of MailScanner are you
using?
At 16:55 21/10/2004, you wrote:
>I have the same situation - when i (for this test only) set chmod o+w
>/var/run then i place a # on this line in /etc/init.d/MailScanner:
>chown $MSPUSER:$MSPGROUP /var/run/sm-client.pid 2>/dev/null
>and start /etc/init.d/MailScanner then sendmail creates sm-client.pid as
>follows:
>-rw------- mail mail
>
>If your sendmail tries to do the same then:
>/etc/init.d/MailScanner stop
>killall -9 sendmail
>chown mail:mail /var/run/sm-client.pid
>chmod 600 /var/run/sm-client.pid
>/etc/init.d/MailScanner start
>
>or/and change a line in /etc/init.d/MailScanner
>chown $MSPUSER:$MSPGROUP /var/run/sm-client.pid 2>/dev/null
>to this
>chown mail:mail /var/run/sm-client.pid 2>/dev/null
>and add this line just after previous one:
>chmod 600 /var/run/sm-client.pid
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>
More information about the MailScanner
mailing list