Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 ( 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 '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

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.