Solved

can send mail to internet addresses

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

810 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