view dovecot.socket @ 22641:7163028a9f90

director: Add mail_host.ip_str This avoids having to use net_ip2addr() all the time to convert it into a string.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Sat, 04 Nov 2017 01:49:29 +0200
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