Troubleshooting Linux Mail Issues

Rate: 1 Star Rate: 2 Stars Rate: 3 Stars Rate: 4 Stars Rate: 5 Stars

Love it / Hate it

Comments + Likes

Troubleshooting Linux Mail Issues

Programming / Server Administration

Troubleshooting Linux Mail Issues

One of the easiest way to troubleshoot mail server issues
Troubleshooting Linux Mail Issues was posted by listylister and has had 257 view(s) with an overall rating of 4
Chris's Profile Picture

Posted by listylister

Their Website http://www.phptutor...

This Tutorial has had 257 Views

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 30/05/2010 @ 16:00
aProject.info Twitter RSS

  Copyright PHPTutorials.co © 2009 - 2010