#
# 01-Mar-03 amo Date-of-Birth Fix the permissions
#
#
# was
# ===
# chown root.mail	/var/spool/mqueue
# chmod 755		/var/spool/mqueue
#
#
# Try to Fix sendmail
#
#	Better --> no group write
#	------
#
chown root		/etc/mail
chmod 755		/etc/mail
#
chown root.mail		/var/spool/mail
chmod 775		/var/spool/mail
#
chown root.mail		/var/spool/mqueue
chmod 770		/var/spool/mqueue
#hmod 750		/var/spool/mqueue	-- better
#
chown smmsp.smmsp	/var/spool/clientmqueue
chmod 770		/var/spool/clientmqueue
#hmod 750		/var/spool/clientmqueue	-- better
#
#
#
grep localhost			/etc/mail/local-host-names
grep localhost.localdomain	/etc/mail/local-host-names
#
grep localhost			/etc/mail/access
grep localhost.localdomain	/etc/mail/access
#
#
cd /etc/mail
rm -f access.db
rm -f virtusertable.db
#
new.make
#
#
# /etc/rc.d/init.d/sendmail stop
# /etc/rc.d/init.d/sendmail start
# /etc/rc.d/init.d/sendmail status
#
#
# End of file 

