Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 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 at 0:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.