LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 18
Cant send mail


Hello.

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" user@example.com (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, 07:34 PM   #2
popowich
Member
 
Registered: Nov 2004
Location: Rochester, New York
Distribution: RHEL7
Posts: 53

Rep: Reputation: 15
Hello,

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:

Quote:
> telnet gmail-smtp-in.l.google.com 25
-Raymond
 
Old 01-10-2009, 02:49 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Hi,

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 02:51 AM.
 
  


Reply


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 08:33 AM
command line email client to send mail to remote mail server dhanju Linux - Software 1 03-07-2008 06:37 AM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 10:40 PM
with the linux proxi, backend pop3 mail client can not receive mail and send mail rubin823 Linux - Networking 0 12-21-2006 10:06 PM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 07:31 PM


All times are GMT -5. The time now is 08:43 AM.

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