summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/files/etc/systemd/system/dovecot-auth-proxy.service
blob: ea5895c521543abd6da791a2368a30d90646cc30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[Unit]
Description=Dovecot authentication proxy
After=dovecot.target
Requires=dovecot-auth-proxy.socket

[Service]
User=vmail
Group=vmail
StandardInput=null
SyslogFacility=mail
ExecStart=/usr/local/bin/dovecot-auth-proxy.pl

# Hardening
NoNewPrivileges=yes
PrivateDevices=yes
ProtectSystem=full
ProtectHome=read-only
ReadOnlyDirectories=/
RestrictAddressFamilies=

[Install]
WantedBy=multi-user.target
Also=postfix-sender-login.socket