On Tue, Nov 15, 2022 at 11:56:22PM +0100, r.barc...@habmalnefrage.de wrote:

> So my idea might only work, if I use the LAN IP address (e.g.
> 10.1.2.3) of the internal mail server as relay_host.  If Postfix can't
> connect to 10.1.2.3, it will probably retry mail relaying for some
> days, configurable in maximal_queue_lifetime. That would be fine.
> 
> But it will NOT work, if I use an intranet FQDN (e.g.
> internalmail.myintranet.corp), which can only be resolved, if the
> laptop is in the LAN or VPN.  Then emails get lost if they arrive
> while not in the LAN / VPN.

Feel free to publish the name in the Internet-facing public DNS.  The IP
address can be 255.255.255.255, connection attempts to which will always
fail.  Of course this would have to appear only in the public DNS, and
not in the internal DNS.

-- 
    Viktor.

Reply via email to