Re: Using consecutive IPs in a client access file

2016-11-15 Thread Bill Cole
On 15 Nov 2016, at 23:05, Peter wrote: On 16/11/16 12:20, Bill Cole wrote: No, there's not. Yes there is. Read what I was responding to more carefully. Rich was seeking to avoid manually entering single addresses and CIDR blocks. However, I happened to have an old Perl script This i

Re: Using consecutive IPs in a client access file

2016-11-15 Thread Peter
On 16/11/16 12:20, Bill Cole wrote: > No, there's not. Yes there is. > However, I happened to have an old Perl script This is completely insane! Postfix fully supports CIDR notation in the CIDR table type, this works for access lists or any other settings that reference tables: http://www.pos

Re: Using consecutive IPs in a client access file

2016-11-15 Thread Peter
On 16/11/16 07:07, Gomes, Rich wrote: > Just a quick question since I have not found a way in my Googling. > > We are replacing some of our internal Exchange relays with postfix. > Currently we have other internal postfix relays which utilize a client access > file to allow relaying. > The file

RE: Using consecutive IPs in a client access file

2016-11-15 Thread Gomes, Rich
Awesome! Thank you, I will give this a shot. -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Bill Cole Sent: Tuesday, November 15, 2016 6:20 PM To: Postfix users Subject: Re: Using consecutive IPs in a client access file

Re: Using consecutive IPs in a client access file

2016-11-15 Thread Bill Cole
On 15 Nov 2016, at 13:07, Gomes, Rich wrote: Just a quick question since I have not found a way in my Googling. We are replacing some of our internal Exchange relays with postfix. Currently we have other internal postfix relays which utilize a client access file to allow relaying. The file c

Re: [postfix-users] Using consecutive IPs in a client access file

2016-11-15 Thread Kiss Gabor (Bitman)
> The exchange servers have some groups of consecutive IPs on their allow list, > some cover 5 or 6 IPs, others 100. > Is there a way to provide the same list .i.e. > 192.168.0.2-12OK > > without: > > Listing them all individually > i.e. > 192.168.0.2 OK > 192.168.0.3 OK > Etc... >

Using consecutive IPs in a client access file

2016-11-15 Thread Gomes, Rich
Just a quick question since I have not found a way in my Googling. We are replacing some of our internal Exchange relays with postfix. Currently we have other internal postfix relays which utilize a client access file to allow relaying. The file contains all single IPs, no ranges. The exchange