Sm-client.pid: permission error

Marcin Rozek marcin.rozek at IOS.EDU.PL
Thu Oct 21 16:55:41 IST 2004


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

Regards,
Marcin

------------------------ 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).



More information about the MailScanner mailing list