Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-20-2002, 05:49 PM   #1
LQ Newbie
Registered: Nov 2002
Posts: 1

Rep: Reputation: 0
Sendmail/RedHat 7.1


I would very much appreciate help, first I want to say that I have done a lot of online searching, and have read many articles. So I have been trying to get this to work for over a month now.

Ok, so I want to set up sendmail on RedHat 7.1.

I want to use this machine for a mail server. I just would like to send and receive mail using this server. I want to create my own email address, and send it off, and also tell my friends they can send me mail to this server.

Ok dumb question #1:

I do not have a domain name. I have a static IP address. Can I somehow send/receive/configure this server, using just my IP? Something like michelle@myipaddress ? -- would this work? I have received emails before from localhost.localdomain, (well in brackets is the IP) is this how they do it, by using an IP and not a domain name? I have configured files every which way, nothing works.

# 2

I can't even get sendmail to send mail using SMTP, as an option in Slypheed. It seems sendmail will start, but after that I just don't know what to do. And I am really confused now about using POP3 or IMAP, and qmail throws another wrench in mess.

Can someone please help me, send me info on how to do this? Sorry if I sound stupid out here, but I really am trying

Thanks in advance

Old 11-20-2002, 09:31 PM   #2
Registered: May 2001
Posts: 29,393
Blog Entries: 55

Rep: Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565
No question is dumb IMO, not asking, that's dumb...

1. I'm afraid not*. See, a Mail Transfer Agent (like sendmail) will have to query a Domain Name Server for the domain where the user hangs out. The domain the user receives mail at might be called "", so you'd write to "", but the mail may actually be delivered to a different mailserver "", in DNS speak they say is the MX host for (and maybe more domains).
Localhost resolves to your box automagically (look in /etc/hosts), so the MTA doesn't need to contact a DNS for knowing where to deliver it.

2. To be able to send mail, you don't need sendmail to run continuously, it'll find out by itself what it has to do. To receive mail, if your server is known as a mailserver (it's in a MX record), you need sendmail to run as daemon.
Since a lot of ppl don't have that, they run an application called "fetchmail" that retrieves mail from remote servers.

*Some dynamic DNS providers allow MX records, virtual mappings, email redirection etc, etc, whatever it's called, but I never used those.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat 9 and Sendmail ncblues Red Hat 2 02-18-2005 07:40 AM
Redhat 6.2 SendMail rhaley Linux - Software 6 09-29-2004 03:22 PM
sendmail on RedHat 9 sboyce57 Linux - Networking 4 02-26-2004 01:57 PM
RedHat 7.2 and sendmail Jorge_Beteta Linux - Newbie 1 09-22-2003 10:40 PM
sendmail on Redhat 9.0 ehedman Linux - Distributions 4 07-08-2003 04:09 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration