Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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'm attempting to create a Mail server and have been doing a little bit of research for the past week.
I haven't had much luck with it. I only need the mail server to be able to send mail over a LAN from the server to other host computers on the network.
I've been attempting to learn PostFix but everything I read about it, everyone seems to be mentioning registering to a DNS service. Can I skip having to setup a DNS service and use the host file on the server, and then point the MUA on the host computers point to the IP address of the server? (Using Evolution as the MUA)
Thanks for the reply, but herein lies my problem. I might just be completely Linux inept in this department, but how do I issue a domain name to my Linux box? is this just understood when I set my hostname to something along the lines of (My 'site' name will be Australia) server.australia.com, the domain becomes australia.com? or is this the part that the configuration file sets up by doing this part:
This is for a college class project and we've never covered mail servers in Linux ( I can do Windows just fine! :P ), so i've been trying to learn it from scratch and everything I read even about internal servers skips over the host file configuration.
Does the actual hostname impact anything and does the host file need to be configured accordingly on each client?
So this is what I'm going to try
/ETC/HOSTS --Configuration
#This is THIS 'server's' IP address
10.0.2.15 server.australia.com.local server
#Clients
10.0.2.18 client1.australia.com.local client1 (have a host machine with the user client1)
10.0.2.19 client2.australia.com.local client2 (have a host machine with the user client2)
I'm no postfix expert, but it looks like you're heading in the right direction.
Don't leave out the localhost entry in /etc/hosts though (you probably only need the IPV4 version).
If you've got a test network, give it a go.
Note that here you're only bypassing DNS by using hosts file instead. Each machine will need an equiv set of entries... (that's why DNS was invented, way back when; the then ARPAnet got too big to use this technique).
To definitely stop people sending emails outside, you'd have to block them at pt of LAN exit, just to be sure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.