summaryrefslogtreecommitdiffstats
path: root/dovecot.socket
diff options
context:
space:
mode:
Diffstat (limited to 'dovecot.socket')
-rw-r--r--dovecot.socket15
1 files changed, 15 insertions, 0 deletions
diff --git a/dovecot.socket b/dovecot.socket
new file mode 100644
index 0000000..0fdef6f
--- /dev/null
+++ b/dovecot.socket
@@ -0,0 +1,15 @@
+[Unit]
+Description=Dovecot IMAP/POP3 email server activation socket
+
+[Socket]
+#dovecot expects separate IPv4 and IPv6 sockets
+BindIPv6Only=ipv6-only
+ListenStream=0.0.0.0:143
+ListenStream=[::]:143
+ListenStream=0.0.0.0:993
+ListenStream=[::]:993
+KeepAlive=true
+
+[Install]
+WantedBy=sockets.target
+