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/ 2>/dev/null
and start /etc/init.d/MailScanner then sendmail creates as
-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/
chmod 600 /var/run/
/etc/init.d/MailScanner start

or/and change a line in /etc/init.d/MailScanner
chown $MSPUSER:$MSPGROUP /var/run/ 2>/dev/null
to this
chown mail:mail /var/run/ 2>/dev/null
and add this line just after previous one:
chmod 600 /var/run/


------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ ( and
the archives (

More information about the MailScanner mailing list