From: zsd@jdvb.ca   
      
   On 2025-12-25 at 21:34 AST, Sam wrote:   
   > Sylvain Robitaille writes:   
   >   
   >> > Dec 16 15:06:17 x360 postfix/smtp[2479]: AA6B21E0B4C: to=> context@ntg.nl>, relay=none, delay=19, delays=19/0/0/0, dsn=4.4.3,   
   >> status=deferred (Host or domain name not found. Name service error for   
   >> name=MY_SMTP_SERVER type=A: Host not found, try again)   
   >> > ------------------   
   >>   
   >> But this is ...   
   >>   
   >> Here's a thought ... It won't help solve the problem but it might   
   >> help identify the cause ...   
   >>   
   >> Perhaps just before and just after running "sendmail -v -q" try running   
   >> "getent hosts MY_SMTP_SERVER" (with the correct hostname, of course)   
   >> and confirm that the system is generally able to resolve the hostname?   
   >   
   > Postfix is unlikely to be using glibc to resolve hostnames, but rather it's   
   > making direct DNS queries, either by doing it itself or using a resolver   
   > library. The "type=A" part of the syslog message is a honking clue.   
   >   
   > In which case, it would be more accurate to reproduce what postfix is doing   
   > by running dig:   
   >   
   > dig MY_SMTP_SERVER a   
      
   Sam, thanks for the thoughts. As I mentioned in another reply (well after   
   your posting) when the same problem happened another time, I successfully   
   sent out many emails while the stuck one remained in the queue, which tells   
   me that postfix was able to find my mail server for new email.   
      
   The next time this happens I'll take a closer look at ensuring my mail   
   server is reachable.   
      
   Cheers.   
    Jim   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|