Re: OpenSMTPd: Ignoring /etc/hosts file?

2021-09-22 Thread Simon Hoffmann
> On Mon, Sep 13, 2021 at 12:28:04PM +0200, Simon Hoffmann wrote: > > > do you have "lookup file bind" record in your /etc/resolv.conf file? > > > > This option is not available in the current debian version. > > > FWIW, the equivalent setting on glibc-based Linux systems would be the > `hosts`

Re: OpenSMTPd: Ignoring /etc/hosts file?

2021-09-22 Thread William Ahern
On Mon, Sep 13, 2021 at 12:28:04PM +0200, Simon Hoffmann wrote: > > do you have "lookup file bind" record in your /etc/resolv.conf file? > > This option is not available in the current debian version. FWIW, the equivalent setting on glibc-based Linux systems would be the `hosts` line in

Re: OpenSMTPd: Ignoring /etc/hosts file?

2021-09-13 Thread Simon Hoffmann
> do you have "lookup file bind" record in your /etc/resolv.conf file? This option is not available in the current debian version. And I have to admit I have no clue what did the dns resolving. NetworkManager was disabled, systemd-resolved was disabled, ... Changes to the /etc/resolv.conf file

Resolved: OpenSMTPd: Ignoring /etc/hosts file?

2021-09-13 Thread Simon Hoffmann
I managed to resolve this issue with some strange workaround. I must confess, I dont exactly know which service was handling DNS before, as NetworkManager and systemd-resolved were both disabled. /etc/resolv.conf was overwritten by each DHCP request. So I did the following. I configured

Re: OpenSMTPd: Ignoring /etc/hosts file?

2021-09-13 Thread misc
do you have "lookup file bind" record in your /etc/resolv.conf file? On Mon, Sep 13, 2021 at 10:20:30AM +0200, Simon Hoffmann wrote: > > > > Has been reported previously - > > https://github.com/OpenSMTPD/OpenSMTPD/issues/1115 > > Thanks for the link, this did not come up in my searches. > >

Re: OpenSMTPd: Ignoring /etc/hosts file?

2021-09-13 Thread Simon Hoffmann
> Has been reported previously - > https://github.com/OpenSMTPD/OpenSMTPD/issues/1115 Thanks for the link, this did not come up in my searches. However, > The link also contains a workaround which may be useful for you. the only "workaround" I could find was to specify the internal IP

Re: OpenSMTPd: Ignoring /etc/hosts file?

2021-09-12 Thread Aisha Tammy
Has been reported previously - https://github.com/OpenSMTPD/OpenSMTPD/issues/1115 The link also contains a workaround which may be useful for you. Best, Aisha On 9/12/21 5:28 PM, Simon Hoffmann wrote: Hey yall, in my smtpd.conf file I have "relay smtps://host.domain.tld" host.domain.tld

OpenSMTPd: Ignoring /etc/hosts file?

2021-09-12 Thread Simon Hoffmann
Hey yall, in my smtpd.conf file I have "relay smtps://host.domain.tld" host.domain.tld does resolve to a public IP, and this needs to be a public IP on public DNS. However, OpenSMTPd needs to relay to the local IP address of the smarthost. Since I have no DNS server running on that network,