Jump to: navigation, search
Alt text
About this image


Troubleshooting Icon.png
Troubleshooting
Product ConnectXf
Version 3.10
Applies to Administrators
Level Advanced




Mail stuck in queue

Parameter Steps
Check how many mails are stuck in the queue
/var/qmail/bin/qmail-qstat
Check if only remote mails are stuck in the queue
/var/qmail/bin/qmail-qread
Check if the mails routing set on the server
cat /var/qmail/control/smtproutes
If the outgoing mails are routed through another server
  • Check if telnet is happening to the URL of another server
telnet <URL set in smtproutes> 25

OR

  • Check if telnet is happening to the IP of another server
telnet <IP set in smtproutes> 25
If telnet is happening try alarming the queue
/var/qmail/bin/qmail-tcpok
/mithi/mcs/bin/qmail-queue.alarm.sh
If still the error is coming check the error in logs
tail -f /var/log/maillog | grep deferral

If no output is coming for long time then try this command

tail -n 5000 /var/log/maillog | grep deferral