mox/smtpclient
Laurent Meunier be570d1c7d add TransportDirect transport
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
2024-04-12 17:27:39 +02:00
..
client.go queue: deliver to multiple recipients in a single smtp transaction 2024-03-07 10:07:53 +01:00
client_test.go queue: deliver to multiple recipients in a single smtp transaction 2024-03-07 10:07:53 +01:00
dial.go replace packages slog and slices from golang.org/x/exp with stdlib 2024-02-08 14:49:01 +01:00
dial_test.go add TransportDirect transport 2024-04-12 17:27:39 +02:00
examples_test.go replace packages slog and slices from golang.org/x/exp with stdlib 2024-02-08 14:49:01 +01:00
gather.go add TransportDirect transport 2024-04-12 17:27:39 +02:00
gather_test.go add TransportDirect transport 2024-04-12 17:27:39 +02:00