|1. Qmail queue status
- Logon to the server and confirm that the qmail queue is running. The command is as follows:
- If it is not running, restart the queue using the following command
|2. Qmail queue size
- Check the size of the qmail queue using the following command
- If the queue is large, it helps to stop the SMTP and let the queue clear. Else if it is too large or the SMTP cannot be stopped (if end users are accessing or it is a MX server), then contact Mithi Customer Care to start a shunting queue.
|3. Postfix queue status
- If your installation has postfix installed in addition to the qmail, then check the status of all the postfix SMTP servers.
- To get the list of all the postfix queues installed run the following command:
- This will give a list of postfix SMTP server names in the /etc/init.d folder
- To get the port number for each postfix SMTP server use the following command:
cat /etc/<Postfix server name>/master.cf | grep smtpd
The uncommented (without#) line gives the port number
- To check the response of each postfix SMTP server use the following command.
telnet 127.0.0.1 <port no>
- If any postfix SMTP server is not responding, then restart using the following command:
/etc/init.d/<postfix server name> restart
- Check the connectivity from the server to the other servers or Internet using the ping or traceroute command.
ping <external IP>
traceroute <external IP>
- If you cannot connect then the following elements then restart the network service and check:
service network restart
- If connection is still not established, then check the following:
- NIC cards on the server
- Firewalls etc.
- Confirm that the DNS server in /etc/resolv.conf is responding. The command to check DNS response is
host -a gmail.com
- To check with a specific DNS server in the /etc/resolv.conf file use the following command
host -a yahoo.com <DNS server IP>