view dovecot.socket @ 20722:bf8fbf7fcc6a

lib-storage: Fixed accessing user as root when user has no uid. This shouldn't normally be done, but might as well fix it. Fixes: Fatal: mail-storage-service: seteuid(4294967295) failed: Invalid argument
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Fri, 09 Sep 2016 14:07:11 +0300
parents 84eb4afebc95
children
line wrap: on
line source

[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