Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

can send mail to internet addresses

Posted on 2004-09-25
5
Medium Priority
?
215 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 1000 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

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…
Suggested Courses
Course of the Month9 days, 13 hours left to enroll

926 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