postfix-users November 2011 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: mynetworks rules don't appear to be working

Re: mynetworks rules don't appear to be working

From: <list_at_nospam>
Date: Thu Nov 03 2011 - 18:33:09 GMT
To: postfix users <postfix-users@postfix.org>

Ah yes, cidr format. Thanks for the help, I have changed the config to
reflect the cidr formated tables.

On Thu, 03 Nov 2011 12:48:07 -0500, Noel Jones <njones@megan.vbhcs.org>
wrote:
> On 11/3/2011 11:58 AM, list@airstreamcomm.net wrote:
>> In mynetworks I have the following IP configured (among others):
>>
>> 204.9.157.0/24 OK
>>
>> In main.cf mynetworks is listed in the recipient restrictions:
>>
>> smtpd_recipient_restrictions =
>> permit_mynetworks,
>> check_client_access hash:/etc/postfix/popimap_access,
>> permit_sasl_authenticated,
>> reject_unauth_destination
>>
>> However I am getting relay denied errors for clients using an IP in
that
>> range:
>
> CIDR notation is not supported in indexed files.
>
> If you want to use CIDR notation, you must either use a plain text
> file (just a list, not an indexed table) or a cidr: table.
> http://www.postfix.org/postconf.5.html#mynetworks
>
>
> If you need more help, please see:
> http://www.postfix.org/DEBUG_README.html#mail
>
>
>
> -- Noel Jones