dnl # Use FEATURE(`nocanonify') to skip address canonification via $[... $].
dnl # This would generally only be used by sites that only act asmail gateways
dnl # or which have user agents that do full canonification themselves.#
dnl # You may also want to use:
dnl # define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')
dnl # to turn off the usual resolver options that do a similar thing.
dnl # Examples:
FEATURE(`nocanonify')
dnl define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')
canonify input: test @ example . comCanonify2 input: test < @ example . com >
canonify input: test @ example . comCanonify2 input: test < @ example . com >
Question, should submit.mc include nocanonify by default?
I was a little surprised to see SMTP client queue (sendmail -Ac)
trying to look up DNS names as I thought it only collected mail for
local accounts. In the configuration in question the Mail Transfer
Agent (sendmail -bl) is configured to forward all mail to a gateway
machine for actual delivery, and only that gateway machine has access
to DNS.
Thus I was wondering if submit.mc should include the nocanonify
feature by default?
On 12.05.2025 18:10 Uhr Stacey Marshall wrote:
Thus I was wondering if submit.mc should include the nocanonify
feature by default?
I do not see a reason for that as most machines have access to DNS. A
default setting is something that fits general situations and not
corner cases.
Most servers also check the recipient domains and reject stuff that
isn't an FQDN or unresolvable, so the default checks are sane.
On 12.05.2025 18:10 Uhr Stacey Marshall wrote:
Question, should submit.mc include nocanonify by default?
I was a little surprised to see SMTP client queue (sendmail -Ac)
trying to look up DNS names as I thought it only collected mail for
local accounts. In the configuration in question the Mail Transfer
Agent (sendmail -bl) is configured to forward all mail to a gateway
machine for actual delivery, and only that gateway machine has access
to DNS.
Most machines that handle mail have access to DNS nowadays. If your's doesn't, disable such lookups.
Thus I was wondering if submit.mc should include the nocanonify
feature by default?
I do not see a reason for that as most machines have access to DNS. A
default setting is something that fits general situations and not
corner cases.
Most servers also check the recipient domains and reject stuff that
isn't an FQDN or unresolvable, so the default checks are sane.
As I understand submit.mc is supposed to be "one size fits *ALL* ".
IMHO Your argument makes very good sense only if submit.mc is supposed
to be modified not only in super rare cases.
I was a little surprised to see SMTP client queue (sendmail -Ac)
trying to look up DNS names as I thought it only collected mail for
local accounts.
I was a little surprised to see SMTP client queue (sendmail -Ac) trying
to look up DNS names as I thought it only collected mail for local
accounts.
See sendmail/SECURITY.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 59 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 20:56:39 |
| Calls: | 810 |
| Calls today: | 1 |
| Files: | 1,287 |
| D/L today: |
11 files (21,026K bytes) |
| Messages: | 194,568 |