# # Original File # -------------- # http://www.Linux-Sec.net/Mail/Sendmail-Install-HOWTO/permissions.slack-8.1.txt # # # 13-Dec-02 amo Sendmail Setup for Slackware-8.1 # # chmod 775 /var/spool/mail chown root.mail /var/spool/mail # chmod 750 /var/spool/mqueue chown root.mail /var/spool/mqueue # chmod 770 /var/spool/clientmqueue chown smmsp.smmsp /var/spool/clientmqueue # # chmod 4555 /usr/sbin/sendmail chown root.smmsp /usr/sbin/sendmail # # # Add users ( mail, smmsp ) to the right groups too # grep smmsp /etc/group # mail::12:mail,smmsp # .... # smmsp::25:smmsp,mail # # # vi /etc/mail/local-host-names ( aka sendmail.cw ) # # # # Example at http://www.Linux-Sec.net/Mail/etc.mail/local-host-names # # # # delivery mail to yourself # localhost.localdomain # # # your-domain.com # # # # # # Virtual domains you support # # # virtual-domain1.com RELAY # virtual-domain2.com RELAY # # # # End of file # # vi /etc/mail/access # # # # Example at http://www.Linux-Sec.net/Mail/etc.mail/access # # # # accept mail for these domains # localhost.localdomain RELAY # localhost RELAY # 127.0.0.1 RELAY # # # your-domain.com RELAY # # # # # # your PCs in your local network # # # 192.168.1.0 RELAY # # # # # # Virtual domains you support # # # virtual-domain1.com RELAY # virtual-domain2.com RELAY # # # # End of file # # vi /etc/mail/virtusertable # # # # Example at http://www.Linux-Sec.net/Mail/etc.mail/virtusertable # # # # .... # # # # End of file # # # make ( re-create the /etc/mail/*.db files that was changed ) # # restart sendmail # # # End of file