homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

Ubuntu problems
Email not getting to destination

 3:10 pm on May 25, 2007 (gmt 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 Jun 2, 2007 (gmt 0)

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 ;)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved