freswa / dovecot-xaps-daemon

MIT License
51 stars 11 forks source link

Allow to specify listen address #21

Closed mstilkerich closed 2 years ago

mstilkerich commented 2 years ago

This allows to bind to a specific network address, e.g. the loopback interface's address.

New config parameters: listenAddr and tlsListenAddr

They can be set to an IPv4 or IPv6 address.

(Disclaimer: I don't know go, but the change appears to work for me and seems simple enough.)

mstilkerich commented 2 years ago

Thanks for the fast feedback! I addressed your comments.

freswa commented 2 years ago

Squashed and merged with 4d4ce18