mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 13:04:38 +03:00
add more documentation, examples with tests to illustrate reusable components
This commit is contained in:
@ -41,8 +41,9 @@ type Dialer interface {
|
||||
// Dial connects to host by dialing ips, taking previous attempts in dialedIPs into
|
||||
// accounts (for greylisting, blocklisting and ipv4/ipv6).
|
||||
//
|
||||
// If the previous attempt used IPv4, this attempt will use IPv6 (in case one of
|
||||
// the IPs is in a DNSBL).
|
||||
// If the previous attempt used IPv4, this attempt will use IPv6 (useful in case
|
||||
// one of the IPs is in a DNSBL).
|
||||
//
|
||||
// The second attempt for an address family we prefer the same IP as earlier, to
|
||||
// increase our chances if remote is doing greylisting.
|
||||
//
|
||||
|
Reference in New Issue
Block a user