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.
Hi, just a quick question. I'm running a sendmail server on an internal network and I need it to be able to relay mail to all hosts. I know what an open relay is and I know the dangers of having an open relay server on the Internet. This is on a CLOSED network with only a few machines on it.
What do I need to do to Sendmail so that it doesn't check the relay domains and just sends the email wherever requested?
if it's in a closed network then by definition it's not an open relay at all. an open relay is when a remote machine sends mail to another rmeote machine via yours. as your clients are local, that's totally normal. sounds like you just want a totally standard local smtp server to me... all you should need to do is add your local subnets to your access file, and rebuild the access database. then any local ip address can send mail to anywhere. useful example here... http://www.akadia.com/services/sendmail_relay.html
Hmm, I'm not sure if I was being completely clear, but basically I have the smtp server sitting on my LAN behind a firewall blocking incoming connections. I need my smtp server to handle all the mail delivery for my LAN machines. I can add domains to the relay domain list, but I would have to add a domain for every host I want to send an email for. Is there any simple way just to disable the relay domain feature so it forwards it no matter what?
The LAN is still connected to the Internet, there's just a firewall so that no incoming traffic can contact the smtp server. I need the LAN machines to be able to email remote machines as well (but I don't need incoming mail).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.