Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: bakedjake
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
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 ;)