This PR adds the configuration option to disable reverse DNS lookups (rDNS) as discussed in #40 and axllent/mailpit.
There were two options when writing the message header, one was to leave the hostname blank (some SMTP servers seem to do this), and the other was to use "unknown" as most seem to do - I went with the hardcoded "unknown". You may or may not agree with the option name (DisableReverseDNS), so if you need any changes then please just let me know.
This PR adds the configuration option to disable reverse DNS lookups (rDNS) as discussed in #40 and axllent/mailpit.
There were two options when writing the message header, one was to leave the hostname blank (some SMTP servers seem to do this), and the other was to use "unknown" as most seem to do - I went with the hardcoded "unknown". You may or may not agree with the option name (
DisableReverseDNS
), so if you need any changes then please just let me know.Thanks!