LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
Sendmail/RedHat 7.1


Hello,

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

Michelle
 
Old 11-20-2002, 08:31 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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 "bogus.net", so you'd write to "someone@bogus.net", but the mail may actually be delivered to a different mailserver "mail.bogoid.org", in DNS speak they say mail.bogoid.org is the MX host for bogus.net (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.
 
  


Reply



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 06:40 AM
Redhat 6.2 SendMail rhaley Linux - Software 6 09-29-2004 02:22 PM
sendmail on RedHat 9 sboyce57 Linux - Networking 4 02-26-2004 12:57 PM
RedHat 7.2 and sendmail Jorge_Beteta Linux - Newbie 1 09-22-2003 09:40 PM
sendmail on Redhat 9.0 ehedman Linux - Distributions 4 07-08-2003 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:40 PM.

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