aProject - Viewing Tutorial Troubleshooting Linux Mail Issues

Server Administration / Troubleshooting Linux Mail Issues

go back
please cast your vote:

Rate: 1 Star Rate: 2 Stars Rate: 3 Stars Rate: 4 Stars Rate: 5 Stars
Posted by: Chris
Their Website: http://www.chrispriestland.co.uk

This Tutorial has had 51 Views


One of the easiest way to troubleshoot mail server issues

When your mail server goes down everyone panics due to the fact that no-one can send / receive email. It is almost like the world is going to come to a complete halt because something has gone wrong with the server.



You should not panic during this situation no matter how much pressure you are under to get it back on - it only makes things worse.



One of the first things you should do in linux is check if the process is running. This all depends on which mailserver you are running of course:



service exim status


service dovecot status


service postfix status


service fetchmail status


service procmail status


service spambayes status


service mutt status




If it says any of these aren't running then you should restart them. However, if it says unrecognised service then this is nothing to worry about:



service exim restart


service dovecot restart


service postfix restart


service fetchmail restart


service procmail restart


service spambayes restart


service mutt restart




This should hopefully solve the majority of your problems. But if someone has been tampering with the configuration file then the email service may not start at all and I would recommend restoring it to default or tracing back your steps until it works.



To check that everything is back and working you can take a look at the mail log for a while:



tail -f -n 100 /var/log/maillog




Things should move fairly rapidly as soon as you restart it - if they don't and you see some errors come on the screen then it is likely the problem is not fixed and you may have to dive a bit deeper.





I hope this helps and good luck solving your Mail Server issues - don't loose hope.

created on 30/01/2010 @ 22:12, last updated on 31/01/2010 @ 20:48

Comments

There are no comments for this tutorial yet.

Please login to post a comment.


  Copyright aProject © 2009 - 2010