Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
07-09-2009, 04:33 PM #1
- Join Date
- Jun 2002
- London, UK
- Thanked 110 Times in 109 Posts
postfix - defining a netmask / IP range
I need to alter a Postfix instance to only allow connections from Google's "Postini" service; specifically from the IP range:
22.214.171.124 - 126.96.36.199
From their docs, it seems I have to:
1. In the file /etc/postifix/main.cf file, set "mynetworks" to include all trusted local relay nets and the message security service's IP range.
2. Set: smtpd_client_restrictions = permit_mynetworks, reject.
Of these, the one I'm having trouble with is formatting the IP range above into something that makes sense to Postfix. Can anyone help?
07-20-2009, 01:24 AM #2
- Join Date
- Jul 2009
- South Yorkshire, England
- Thanked 304 Times in 303 Posts
You'll find plenty of other tools for generating the info on Google.
Are you wanting to merely receive mail from the Postini service on that Postfix instance? You don't want to add their I.P's to mynetworks as that will also allow them to relay through your server.
Have a read of these documents: