On 27/07/20 7:46 pm, Tomas Korbar wrote:
I used this patch [1] to make postfix 3.5.4 support resolving of this:
"relayhost = [_submission._tcp.$mydomain]:587"
as a valid host for submission of mail in my domain.
I don't particularly care for this syntax because it clashes with syntax
for a valid domain name. However minute, it *is* possible that
_submission._tcp.$mydomain resolves to a current valid A or AAAA record,
in which case the behavior of current postfix will differ from what it
does in the future. I instead propose this:
relayhost = SRV:[_submission._tcp.$mydomain]:587
...the "SRV:[...]" being a unique designator that tells postfix to look
up and follow the SRV record for this hostname. This also opens the
possibility for other designators which would offer similar-types of
functionality in the future without having to invent whole new syntax
each time.
Peter