dovecot permissions

This commit is contained in:
Bob Mottram 2016-12-02 18:48:04 +00:00
parent 7c6b6ae788
commit 8d8ba4a788
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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