Solved

can send mail to internet addresses

Posted on 2004-09-25
5
210 Views
Last Modified: 2010-04-20
Fedora Core2
I can send messages to myself and to root using "mail".

However, when I try to send to an internet address, it gets bounced back.

I'm not really surprised, because I never told sendmail my mail server addresses. Is this the problem?

If so, where/how do I tell Fedora my SMTP and POP mail addresses (I know what they are. I just don't know where to enter them.)


By the way, this is my /etc/hosts. It was giving trouble for a while. Could you confirm this looks correct.

127.0.0.1               localhost.localdomain localhost
192.168.0.2             dhcppc1.localhost.localdomain dhcppc1
0
Comment
Question by:rfr1tz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 250 total points
ID: 12153137
The format of your hosts file is correct, but having the system name being dhcppc1.localhost.localdomain will result in many Internet mail servers rejecting your mail because "the domain of the sender doesn't resolve". And others will reject the mail simply because the domain is localdomain. You need the system to be in a known domain. Either a domain that you've registered or within your ISP's domain.

You also need to know that many Internet mail servers have extensive lists of IP's that they consider to be "dial up" IP's and they'll refuse mail that originates from one of those IP's. And ISP usually has a different block of IP's that they use for commercial accounts and the other, residental type, accounts are considered to be "dial up's". In this case using your ISP's mail server as a SMART HOST is the right thing to do.

> If so, where/how do I tell Fedora my SMTP and POP mail addresses

I don't understand what you are talking about. Could you elaborate please?
0
 
LVL 3

Author Comment

by:rfr1tz
ID: 12155175
I use Thunderbird to send and recieve e-mail from my ISP's mail server. (It's on another machine though).

In order to make Thunderbird work, I have to tell it the POP server and SMTP server names. I've never done this on this machine.

I am going to configure Thunderbird on this machine now. Maybe this will also configure the command line "mail" i.e. sendmail. I'm assuming Thunderbird is just a front end for sendmail.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12155537
Thunderbird is simply a standalone mail client derived from Mozilla. Its configuration has nothing to do with sendmail or mail.

If you need to be able to use the mail command to send Internet mail the system configuration will require adjusting and Sendmail will need to be configured. But if all you want to do is to use your ISP's mail account configuring Thunderbird is all that's required.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
linux - yum package installation issue 2 170
Moving from Mcrypt to OpenSSL 18 75
python - find anything after $ question. 9 87
VPN, Squid-  unable to log https requests 5 118
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question