1 # ==> /etc/systemd/system/public-inbox-imapd.socket <==
2 # Consider looking at public-inbox-netd.socket instead of this file
3 # to simplify management when serving multiple protocols.
5 # This contains 5 sockets for an public-inbox-imapd instance.
6 # The TCP ports are well-known ports registered in /etc/services.
7 # The /run/imapd.onion.sock entry is meant for the Tor hidden service
8 # enabled by the following line in the torrc(5) file:
9 # HiddenServicePort 143 unix:/run/imapd.onion.sock
11 Description = public-inbox-imapd sockets
14 ListenStream = 0.0.0.0:143
15 ListenStream = 0.0.0.0:993
16 ListenStream = /run/imapd.onion.sock
18 # Separating IPv4 from IPv6 listeners makes for nicer output
19 # of IPv4 addresses in various reporting/monitoring tools
20 BindIPv6Only = ipv6-only
21 ListenStream = [::]:143
22 ListenStream = [::]:993
24 Service = public-inbox-imapd@1.service
27 WantedBy = sockets.target