Solved

can send mail to internet addresses

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

18 Experts available now in Live!

Get 1:1 Help Now