1 # ==> /etc/systemd/system/public-inbox-netd.socket <==
2 # This contains all the services that public-inbox-netd can run;
3 # allowing it to replace (or run in parallel to) any existing -httpd,
4 # -imapd, -nntpd, or -pop3d instances.
6 # The TCP ports are well-known ports registered in /etc/services.
7 # The /run/*.sock entries are meant for the Tor hidden service
8 # enabled by the following lines in the torrc(5) file:
9 # HiddenServicePort 110 unix:/run/pop3.sock
10 # HiddenServicePort 119 unix:/run/nntp.sock
11 # HiddenServicePort 143 unix:/run/imap.sock
13 Description = public-inbox-netd sockets
16 # for tor (see torrc(5))
17 ListenStream = /run/imap.sock
18 ListenStream = /run/pop3.sock
19 ListenStream = /run/nntp.sock
21 # this is for varnish:
22 ListenStream = 127.0.0.1:280
25 ListenStream = 0.0.0.0:110
26 ListenStream = 0.0.0.0:119
27 ListenStream = 0.0.0.0:143
28 ListenStream = 0.0.0.0:563
29 ListenStream = 0.0.0.0:993
30 ListenStream = 0.0.0.0:995
32 # Separating IPv4 from IPv6 listeners makes for nicer output
33 # of IPv4 addresses in various reporting/monitoring tools
34 BindIPv6Only = ipv6-only
35 ListenStream = [::]:110
36 ListenStream = [::]:119
37 ListenStream = [::]:143
38 ListenStream = [::]:563
39 ListenStream = [::]:993
40 ListenStream = [::]:995
42 Service = public-inbox-netd@1.service
45 WantedBy = sockets.target