[Pymilter] hostname in Authentication-Results

Stuart D Gathman stuart at gathman.org
Tue Mar 11 18:11:45 EDT 2025


On Tue, 11 Mar 2025, Marco Moock wrote:

>> That seems totally wrong to me.  What is the justification?  Where is
>> an example?
>
> man 5 hostname in Debian.
> |It is recommended that this name contains only a single label, i.e.
> without any dots.

Fedora says:

| Historically  this file was supposed to only contain the hostname and
| not the full canonical FQDN.  Nowadays  most software  is able  to  cope
| with a full FQDN here. This file is read at boot time by the system
| initialization scripts to set the hostname.

I think your issue should become a bug, and I'll see about obtaining the
HELO name via milter API as first choice.  There can be fallbacks (e.g.
postfix milter API doesn't have everything), and it should definitely
check hostname to ensure it is a FQDN.


More information about the Pymilter mailing list