Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Ubuntu problems

Email not getting to destination

3:10 pm on May 25, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 6, 2005
votes: 0

Hi Guys

I have an Ubuntu server for the last 5 months, no problems at all, today, emails are not working, I get no errors while sending/receiving.

Does anyone know the command while in ssh to tail the mail log? I have tried using tail -f /var/log/maillog and it just hangs. Is that the correct command for Ubuntu, it works on my Ensim server fine. I noticed the maillog on the Ubuntu server is mail.log

I ping the mail.domain.com and it has no loss or errors either.

Heres the bonus, if, I reply to an email from that server I get it but if I create a new email it doesn't arrive?

What commands can I try to check where the mail is going or see if they actually hit the server, they don't even bounce back as undeliverable!

Any help greatly appreciated

12:49 pm on June 2, 2007 (gmt 0)

Senior Member from ES 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:July 24, 2002
votes: 2

hi wheelie,

tail -f /var/log/mail.log and then send some messages while looking at the log.

you can also copy the last 100 lines of the mail.log to a text file to download and read at your leisure rather than going cross eyed at the live log:

tail 100 /var/log/mail.log > /www/sites/htdocs/log.txt

good luck. troubleshooting a mail server is a nightmare - my least favourite admin job ;)