Browse Source

dovecot permissions

Bob Mottram 8 years ago
parent
commit
8d8ba4a788
2 changed files with 1 additions and 4 deletions
  1. 1
    1
      src/freedombone-app-mailpile
  2. 0
    3
      src/freedombone-utils-setup

+ 1
- 1
src/freedombone-app-mailpile View File

285
     echo '' >> /etc/systemd/system/mailpile.service
285
     echo '' >> /etc/systemd/system/mailpile.service
286
     echo '[Service]' >> /etc/systemd/system/mailpile.service
286
     echo '[Service]' >> /etc/systemd/system/mailpile.service
287
     echo 'User=mailpile' >> /etc/systemd/system/mailpile.service
287
     echo 'User=mailpile' >> /etc/systemd/system/mailpile.service
288
-    echo 'Group=debian-tor' >> /etc/systemd/system/mailpile.service
288
+    echo 'Group=mailpile' >> /etc/systemd/system/mailpile.service
289
     echo "WorkingDirectory=/var/www/$MAILPILE_DOMAIN_NAME/mail" >> /etc/systemd/system/mailpile.service
289
     echo "WorkingDirectory=/var/www/$MAILPILE_DOMAIN_NAME/mail" >> /etc/systemd/system/mailpile.service
290
     echo "ExecStart=/var/www/$MAILPILE_DOMAIN_NAME/mail/mp --www=0.0.0.0:${MAILPILE_PORT} --wait" >> /etc/systemd/system/mailpile.service
290
     echo "ExecStart=/var/www/$MAILPILE_DOMAIN_NAME/mail/mp --www=0.0.0.0:${MAILPILE_PORT} --wait" >> /etc/systemd/system/mailpile.service
291
     echo 'Restart=always' >> /etc/systemd/system/mailpile.service
291
     echo 'Restart=always' >> /etc/systemd/system/mailpile.service

+ 0
- 3
src/freedombone-utils-setup View File

493
     if [ -f /usr/sbin/exim4 ]; then
493
     if [ -f /usr/sbin/exim4 ]; then
494
         chmod u+s /usr/sbin/exim4
494
         chmod u+s /usr/sbin/exim4
495
     fi
495
     fi
496
-    if [ -f /usr/sbin/dovecot ]; then
497
-        chmod u+s /usr/sbin/dovecot
498
-    fi
499
 
496
 
500
     set_sticky_bits
497
     set_sticky_bits
501
 
498