Mail queue stalled

Questions and answers about how to do stuff
Post Reply
Stuart
Posts: 12
Joined: 28 Apr 2016 00:56

Mail queue stalled

Post by Stuart »

The mail queue has stalled. That is, if I run "mailq", there are messages sitting and waiting to be processed. This was running 3.0.0.8. I have bypassed EFA for now, so I can take as long as need to repair. I have run all the upgrades to 3.0.2.5. I have also noticed in the web interface, under status "MailScanner: NO 0 proc(s) ".

Can someone give me a lead as to where to start trouble shooting please? I am not having much luck.

Thanks
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Mail queue stalled

Post by pdwalker »

How many messages are stuck?

Run this command:
sudo service mailscanner restart
Next, use the mailq command to see why there are messages are stuck:

I've currently got one stuck right now
61BAE1808B7 45361 Sun Nov 19 11:48:56 user@example.com
(Host or domain name not found. Name service error for name=missingdomain.com type=MX: Host not found, try again)
emailaddress@missingdomain.com
so, there is something wrong with the address, or with the name resolution. If it's the latter, either my EFA's DNS is broken, or there is a problem with thedomain registration. If it's the latter, then there is very little I can do other than to let the senders know.
Stuart
Posts: 12
Joined: 28 Apr 2016 00:56

Re: Mail queue stalled

Post by Stuart »

Apparently it fixed itself over night.

Thanks for responding pdwalker!
Post Reply