Setting up an Email server in RedHat 9 using sendmail
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Setting up an Email server in RedHat 9 using sendmail
Here I am yet again. I have googled for days on in and am back to square one. I need help setting up an email server on Redhat 9. After all my research, I decided that I want to use sendmail for my MTA. It just seems the easiest to get docs for. But you must remember that I am a newbie and have (relatively) no clue what is going on. Also, I want to setup a pop/imap server (on the same box), but want it as simple as possible. I have no DNS stuff setup on my box either (again because I have no clue what I am doing here).I understand that I should not be asking for this much help, and asking such a broad question, however I plead to you today for help. Needless to say this is very frustrating and I am considering returning to windows (which I don't want to do).
I really appreciate it! I actually had found this about an hour before your post and was going through it! It is a great resource all around! Thanks for your support!
Thanks David. So now I have come accross DNS problems in setting this up. The problem: I don't know how. This server is NOT for intranet. I want it to be used for real email. I will primarily be using squirrelmail, which i know how to setup. Its setting up the dns records that is giving me a very hard time. Any HowTos out there or any example i can use (ideally where i only change the info for my domain and ip).
David, I thank you. I will work on this for the next couple of hours and will post my status later this evening, whether it was successful or not. Again, thanks.
If you have a static IP and a registered domain name all you really need to do is create an MX record for your domain pointing to the IP of your Linux box or router whichever is connected to the internet
Most web hosts normally provide a mechanism which allows you to do this
By all means set up your own Bind server, which I think David is suggesting but it does rather complicate things for you
The most important thing you need is a Static IP otherwise whichever method you choose will fail, there are options to get around using a dynamic IP but thats another story
DavidPhillips not trying to be critical of your advise just trying to help Cesar achieve his goals
Two points on this issue. I do have a dynamic ip through sbcglobal however it does not change. I do not know if this will be considered under the same conditions as a static ip. Secondly, should I only need to edit the mx records what files should I edit/create?
Providing your IP does'nt change you will be ok, I supposedly have a dynamic one but it has'nt changed for 2 years
Assuming you have a FQDN (Fully Qualified Domain Name) correctly registered, the company who you registered the name with most likely hold the DNS records for it
If this is the case you will have to modify this record at their end either via a user interface provided by them or by asking them to modify the records for you
Let me know the company who you registered with and I will take a look for you
If so you should be able ta access this feature which is exactly what you are looking for
Quote:
Control Panel and DNS Management
Yahoo! Domains has an easy-to-use control panel that enables you to manage all aspects of your domain name. Experienced users can take advantage of full DNS Management capabilities and easily edit MX, A and CNAME records.
You need to add a MX record which points to your public IP address
Then any mail sent from the Internet to cesar@yourdomain com will be directed to your mail server
I know it's complicated but eventually it will all fit into place, took me a long time to grasp all the in's and out's
I appreciate it greatly. I set that up and I am successfully sending and recieving email now! all is well! I would like to thank you, and David for all the help both of you have provided me over the last couple of days! Hopefully one day I will be as knowledgable as you two so that I can help others in the Linux Community.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.