Solved

can send mail to internet addresses

Posted on 2004-09-25
5
206 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux copy files from usb to folder on system 14 58
Which Linux flavors will this run on? 6 76
linux pull logs and export FTP 4 59
route 2 traffic streams on single NIC 6 35
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

910 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now