home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.slackware      I think its the one without Selinux crap      87,272 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 87,240 of 87,272   
   Sylvain Robitaille to Jim Diamond   
   Re: postfix not sending mail in the queu   
   25 Dec 25 23:37:16   
   
   From: syl@therockgarden.ca   
      
   On 2025-12-25, Jim Diamond wrote:   
      
   > Here is the message in maillog when it tried to send an email while the   
   > network was down:   
   >   
   > ------------------   
   > ...   
   > Dec 16 15:05:58 x360 postfix/smtp[2479]: AA6B21E0B4C: to=, relay=none, delay=0.05, delays=0.03/0.01/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)   
   > ------------------   
      
   Ok, that's not surprising ...   
      
   > Once the network was back, I tried running the queue:   
   >   
   > ------------------   
   > ...   
   > Dec 16 15:06:17 x360 postfix/smtp[2479]: AA6B21E0B4C: to=, 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?   
      
   Based on the timestamps from your log extracts above, I'm guessing   
   (and yes, only guessing) that the attempt to flush the mail queue   
   is happening before the resolver is able to fulfill its role.   
   My suggestion here might help confirm or disprove that.  I hope that   
   it helps.   
      
   --   
   ----------------------------------------------------------------------   
   Sylvain Robitaille                                syl@therockgarden.ca   
   ----------------------------------------------------------------------   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca