Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

All the sendmail configuration I found so far are either allow connections from local host (127.0.0.1) or anywhere (0.0.0.0). How to configure sendmail to allow connections from local network (192.168.x.x) instead?

I've found many sendmail configuration articles
http://www.wikihow.com/Configure-Sendmail
http://www.linuxjournal.com/article/4541
http://computernetworkingnotes.com/network-administrations/sendmail-server.html
but none discuss about this.

Is it possible? Thx.

share|improve this question
    
Do you really want to use Sendmail? Postfix is much easier to configure. – mtak Jun 16 '14 at 19:51
    
Why couldn't you just use iptables to block all traffic to Sendmail except for 192.168.x.x? – BenjiWiebe Jun 17 '14 at 0:54

You must log in to answer this question.

Browse other questions tagged .