> On Nov 16, 2016, at 9:44 AM, Stefan Monnier <monn...@iro.umontreal.ca> wrote: > > For the last few weeks, one of my machines (running Debian stable, with > Postfix 2.11.3) gets constantly stuck with things like: > > % mailq > -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- > CDC7364F79 972 Wed Nov 16 08:12:48 monn...@iro.umontreal.ca > (Host or domain name not found. Name service error for > name=smtp.teksavvy.com type=AAAA: Host not found, try again) > emacs-de...@gnu.org > r...@gnu.org > monn...@iro.umontreal.ca > > [...] > -- 17 Kbytes in 4 Requests.
Don't chroot the Postfix smtp delivery agent. It will then notice changes in /etc/resolv.conf, rather than using a stale copy in the chroot jail. Better don't use chroot at all, unless it is very carefully and robustly built. -- Viktor.