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 ( or anywhere ( How to configure sendmail to allow connections from local network (192.168.x.x) instead?

I've found many sendmail configuration articles
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


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

Browse other questions tagged or ask your own question.