Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
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.
I use to be a newbie at linux, but I'm feeling my way around. I'm no expert, but I'm more comfortable now. So, enough with that small talk ...I want a mail server.
I own a couple of domain names and one static ip. How do I do this? Somebody point me to a good webpage. I'm looked and looked and yes I searched this forum for a basic tutorial and I can't find anything clean cut. I can't find one...help me out people.
Everyone has a preference on what mail server to use, this is just mine.
Get the latest source tar from exim.com and follow all the build documentation to install it.
Once its built and installed change your mta symbolic link to point to the new exim, instead of sendmail.
Code:
/etc/alternatives/mta -> /usr/local/exim/bin/exim
Don't forget if you are running a mail server for incoming mail you also have to install BIND (a DNS server) and configure that too or you won't have much luck.
Yes, a DNS server can be hosted on your network on either the same or different computer as the mail server, or you can pay your ISP a monthly fee to include the required MX record in their DNS for you.
I don't know what sort of services no-ip.com provides. If they provide a dns service to their customers then that should work... however you need some sort of configuration tool (web based?) to setup your domain information on their DNS servers.
Basically before you even begin thinking about a mail server, make the DNS work first. Its impossible to test the mail server effectively without it.
Try this to test your mailserver dns settings.
Code:
$ dig mx yourdomain.com
;; QUESTION SECTION:
;yourdomain.com. IN MX
;; ANSWER SECTION:
yourdomain.com. 10800 IN MX 10 mx1.yourdomain.com.
;; AUTHORITY SECTION:
yourdomain.com. 10791 IN NS ns1.yourdomain.com.
;; ADDITIONAL SECTION:
mx1.yourdomain.com. 10800 IN A 123.45.67.98
If you don't get all three of these in the response then you're not setup with DNS properly. The IP address 123.45.67.98 above should be your IP address.
Ok, I did a dig mx snickets.net and got that information and a bunch more too.
It should work from what I saw, though the reverse lookup on your ip address does not resolve to snicknets.net. This mostly won't be a problem.
You can try running the mail server.
No, uninstall the rpm and install again from source. Get the tar.gz file and follow all the instructions. Besides 4.54 is old, check out their web site.
You have to shutdown sendmail and change the link to the mta as I explained above.
# service sendmail stop
# chkconfig --level 2345 sendmail off
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.