LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 05-16-2004, 03:39 AM   #1
gslater
LQ Newbie
 
Registered: Feb 2004
Location: London
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 0
Question Setting up mail server


Hi,

I am running RH9 on an old pc which is used as my web server. I am now trying to set up a mailserver using Sendmail and am encountering difficulties. Here is where I have got to so far:

I edited the sendmail.mc file...

first I edited the line ...dnl define('SMART_HOST','smtp.your.provider')...where it says 'smtp.you.provider' I have been told to use the fully qualified domain name of the mail server you want to use...so, to use an example, if my web server is www naughtynuns.com then presumably the mail server on my local machine would be smtp.naughtynuns.com...am I right? I presume this has nothing to do with my ISP who simply provides my internet connection.

second I commented out the line DAEMON_OPTIONS('port=smtp,Addr=127.0.0.1, Name=MTA')dnl...since I belive this will allow me to receive incoming mail from the internet.

Next, I did the m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf thingy to update my config file.

Now according t the theory I should be able to send mail to gslater@naughtynuns.com, but so far alas not. Does anyone know whereI have gone wrong?

BTW, I have already trawled the forums but this has only raised more questions eg:
- You will have to ensure that the MX records point to your machine somewhere....what are these MX records?
- You will need to update your hosts file...my hosts file currently only has one entry which still says 127.0.0.1 localhost.localdomain...should I have more entries for my mail server?

Any help would be much appreciated. Thanks!
 
Old 05-16-2004, 04:05 AM   #2
mixelplix
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 10 AMD64, RedHat Enterprise 3, SUSE 9.1 Pro
Posts: 3

Rep: Reputation: 0
This doesn't exactly answer your question, but it may help

If I were you, and I was a few years back, I would use qmail instead of sendmail... It is much easier to work with, more secure, and just as powerful.. There is no downside that I can think of, and tremendous upside for almost any application, including a high volume/activee mail server with many users. http://www.qmail.org

There are rpm's for almost every linux distro.. just check www.rpmseek.com, and the configuration files should all be located in /var/qmail/control/ directory. They are very straight forward.. for example, to set remote concurrency, you just create a file named 'concurrencyremote' and type the value '100' (for example) and that's it... restart qmail. All of the config files work like this, and all are read when qmail is restarted.

Anyway, I hope this helps.. I have several books dedicated to Sendmail, and only 1 book for qmail (which I didn't really need as the book is available freely online). Take a look at it if you are still having problems, and I think you will be very pleasantly suprised.

Best of Luck.
 
Old 05-16-2004, 09:42 AM   #3
gslater
LQ Newbie
 
Registered: Feb 2004
Location: London
Distribution: Ubuntu
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks I may try that...I just used sendmail because thats already available in RH9.
 
  


Reply


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
Setting up a Mail Server dr_angus Linux - Software 1 03-09-2005 09:57 AM
setting up a mail server krille Linux - Newbie 9 03-03-2005 09:03 AM
Setting up a mail server? ziphem Linux - Newbie 2 11-27-2004 02:09 AM
need help setting up a mail server Chijtska Linux - Networking 4 02-28-2002 09:23 PM
Setting up a mail server linuxguruwannabe Linux - Networking 13 08-07-2000 02:59 PM


All times are GMT -5. The time now is 04:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration