Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-09-2009, 06:51 PM   #1
Registered: Sep 2008
Location: Dominican Republic
Distribution: Debian
Posts: 188

Rep: Reputation: 18
Cant send mail


I am trying to set up a MTA with exim4. I am able to install and configure it to send mail out, but can't send any mail. I type mail -s "Hello" (just for posting), it looks like it is sent but I can't never receive any mail from that server.

I even send it to my yahoo account but the email never arrives.

Are all the other mail servers not accepting any mail from servers that are not registered?

Please help me understand what's wrong. Thank you.
Old 01-09-2009, 08:34 PM   #2
Registered: Nov 2004
Location: Rochester, New York
Distribution: RHEL7
Posts: 53

Rep: Reputation: 15

What do your mail logs say?

Does the server have access to reach the internet on port 25?

Is DNS properly configured?

A lot of problems could be happening, which is why the mail logs are a good place to start looking to track down the problem.

To test that you are allowed to make smtp connections to the internet try:

> telnet 25
Old 01-10-2009, 03:49 AM   #3
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899

Open a terminal, and as root type
tail -f /var/log/exim4/mainlog
open another terminal and sent the mail
look in the first terminal for errors.

If you don't use a smarthost (sending mail directly) and you have a dynamic IP, most smtp servers will refuse the mail.

Last edited by repo; 01-10-2009 at 03:51 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can mail command be used to send mail onto global mail servers like yahoo etc dale_chip Linux - Newbie 4 08-12-2008 09:33 AM
command line email client to send mail to remote mail server dhanju Linux - Software 1 03-07-2008 07:37 AM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 11:40 PM
with the linux proxi, backend pop3 mail client can not receive mail and send mail rubin823 Linux - Networking 0 12-21-2006 11:06 PM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 08:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration