dovecot permissions
This commit is contained in:
parent
7c6b6ae788
commit
8d8ba4a788
|
@ -285,7 +285,7 @@ function install_mailpile {
|
|||
echo '' >> /etc/systemd/system/mailpile.service
|
||||
echo '[Service]' >> /etc/systemd/system/mailpile.service
|
||||
echo 'User=mailpile' >> /etc/systemd/system/mailpile.service
|
||||
echo 'Group=debian-tor' >> /etc/systemd/system/mailpile.service
|
||||
echo 'Group=mailpile' >> /etc/systemd/system/mailpile.service
|
||||
echo "WorkingDirectory=/var/www/$MAILPILE_DOMAIN_NAME/mail" >> /etc/systemd/system/mailpile.service
|
||||
echo "ExecStart=/var/www/$MAILPILE_DOMAIN_NAME/mail/mp --www=0.0.0.0:${MAILPILE_PORT} --wait" >> /etc/systemd/system/mailpile.service
|
||||
echo 'Restart=always' >> /etc/systemd/system/mailpile.service
|
||||
|
|
|
@ -493,9 +493,6 @@ function lockdown_permissions {
|
|||
if [ -f /usr/sbin/exim4 ]; then
|
||||
chmod u+s /usr/sbin/exim4
|
||||
fi
|
||||
if [ -f /usr/sbin/dovecot ]; then
|
||||
chmod u+s /usr/sbin/dovecot
|
||||
fi
|
||||
|
||||
set_sticky_bits
|
||||
|
||||
|
|
Loading…
Reference in New Issue