mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
be570d1c7d
The `TransportDirect` transport allows to tweak outgoing SMTP connections to remote servers. Currently, it only allows to select network IP family (ipv4, ipv6 or both). For example, to disable ipv6 for all outgoing SMTP connections: - add these lines in mox.conf to create a new transport named "disableipv6": ``` Transports: disableipv6: Direct: DisableIpv6: true ``` - then add these lines in domains.conf to use this transport: ``` Routes: - Transport: disableipv6 ``` fix #149 |
||
---|---|---|
.. | ||
client.go | ||
client_test.go | ||
dial.go | ||
dial_test.go | ||
examples_test.go | ||
gather.go | ||
gather_test.go |