[Pymilter] hostname in Authentication-Results

Marco Moock mm at dorfdsl.de
Tue Mar 11 12:55:17 EDT 2025


Am 10.03.2025 um 20:43:36 Uhr schrieb Stuart D Gathman:

> On Mon, 10 Mar 2025, Marco Moock wrote:
> 
> > m at srv1:~$ hostnamectl
> > Static hostname: srv1  

> Mine:
> [stuart at mail ~]$ hostnamectl
>     Static hostname: mail.gathman.org

I now changes that with hostnamectl.
This changed /etc/hostname too.

> > I've read many docs that say /etc/hostname should only contain the
> > hostname and not the FQDN. The question is what  
> 
> 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. 

> That might be a good approach.  Also, milters can run on a different
> host than the MTA, and the "hostname" in Received-SPF is the MTA
> hostname.  So it might be the more correct approach.

If it is possible to get the FQDN via the Milter interface, this would
be the best way to handle that. I haven't thought about running the
milter on another system.

-- 
Gruß
Marco

Send unsolicited bulk mail to 1741635816muell at cartoonies.org



More information about the Pymilter mailing list