IRCNow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

openbsd:shell2 [2020/08/03 21:38]
baytuch created
openbsd:shell2 [2020/08/10 22:53] (current)
baytuch
Line 75: Line 75:
 </​code>​ </​code>​
  
 +====== Email security settings ======
 +Setting the minimum rights for the mail system
 +<​code>​
 +doas chmod 640 /​etc/​mail/​domains
 +doas chmod 640 /​etc/​mail/​vusers
 +doas chmod 640 /​etc/​mail/​hosts
 +doas chmod 640 /​etc/​mail/​passwd
 +doas chmod 640 /​etc/​mail/​vusers
 +doas chmod 640 /​etc/​mail/​smtpd.conf
 +doas chown _dovecot:​_dovecot /​etc/​dovecot/​dovecot.conf
 +doas chown _dovecot:​_dovecot /​etc/​dovecot/​users.txt
 +doas chmod 640 /​etc/​dovecot/​dovecot.conf
 +doas chmod 640 /​etc/​dovecot/​users.txt
 +</​code>​