Control: tag -1 + moreinfo

On Tue, 30 Apr 2024 16:33:14 +0200 Vincent Lefevre <vinc...@vinc17.net> wrote:
Package: postfix
Version: 3.9.0-2
Severity: important

While being connected in the train, mailq gives:

-Queue ID-  --Size-- ----Arrival Time---- -Sender/Recipient-------
24FC2CA011A    2232 Tue Apr 30 16:21:46  vinc...@vinc17.net
(Host or domain name not found. Name service error for name=joooj.vinc17.net 
type=AAAA: Host not found, try again)
[...]

while "host joooj.vinc17.net" gives no issues.

If I try to restart postfix, I get:

postfix/postfix-script: warning: /var/spool/postfix/etc/resolv.conf and 
/etc/resolv.conf differ

Indeed, /var/spool/postfix/etc/resolv.conf contains obsolete data.

I had to do "cp /etc/resolv.conf /var/spool/postfix/etc/resolv.conf".

Does it fix itself when you restart postfix?

Or is only about while the system is running *and* moving between
different networks?

There's a note in /usr/share/doc/postfix/README.Debian[.gz] which
suggests to enable systemd path units for resolv.conf (though I
do *not* recommend doing this now).

And there are hooks for NetworkManager which should - in theory -
update resolv.conf in postfix when things changes.  I wonder why
they don't run.

Thanks,

/mjt

Reply via email to