On 11 Feb 2021, at 04:45, Chris Green <c...@isbd.net> wrote:
> Yes, I think this is what it comes down to, *something* needs to be
> changed for each system.  I was just hoping that postfix could use
> something that was there already (the systems do know their names and
> domains already).

You keep saying this, but the evidence you provide shows they do not.

If you set hostname on each system to the FQDN then everything works. Single 
main.cf Gile with no per-machine changes. This is what you said you want, and 
yet you seem to be very resident to setting your machines' hostnames.

>> no no no.
>> 127.0.0.1 is always supposed to resolve to "localhost".
>> If those hosts don't have their assigned IP, Debian uses "127.0.1.1" for
>> their hostnames.

> Given that some of my systems have their IP address allocated
> dynamically there's not really much alternative except to put the
> system's name against 127.0.0.1.

That is not true. You can update your DNS with nsupdate when your IP address 
changes via a simple script.

CURIP=$(dig @resolver1.opendns.com myip.opendns.com +short)

Then feed the IP into 

update delete ${MYZONE}. A
update add ${MYZONE}. 3600 A $CURIP


-- 
Vampires are [...] by nature as co-operative as sharks. Vampyres are
        just the same, the only real difference being that they can't
        spell properly. --Carpe Jugulum

Reply via email to