Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I want to set up Postfix to relay mail from a group of webservers. I would like to limit senders by IP so I can restrict the box to only my webservers, so I don't have an open relay and don't have to worry about authentication. So, what I guess I need is to limit inbound access but allow mail to be sent to any outbound address. I've looked through the docs and don't even know where to start, so any tips would be appreciated.

Thanks!

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Start with the accepted answer to Setting up a postfix email server. Where the mynetworks in that example is set to 127.0.0.1/32 you will want to list the ips of your other servers as well. So something like:

mynetworks = 127.0.0.1/32, 10.0.1.1/32, 192.168.132.1.1/32
share|improve this answer
    
thanks very much! that link and your suggestion did the trick. –  BenGC Jan 6 '11 at 3:44

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.