[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postfix-users
Subject:    [pfx] Re: IP/CIDR based exception in smtpd_sender_restrictions?
From:       Peter via Postfix-users <postfix-users () postfix ! org>
Date:       2023-07-14 5:22:04
Message-ID: 1a0eb121-ffb2-1693-ccec-cded6ecc26b3 () pajamian ! dhs ! org
[Download RAW message or body]

On 14/07/23 16:26, Aban Dokht via Postfix-users wrote:
> https://www.postfix.org/postconf.5.html#smtpd_sender_restrictions
> 
> check_sender_access type:table

...

> Any hints how smtpd_sender_restrictions can be overridden with an IP 
> based   hash or cidr table?

/etc/postfix/sender_override.cidr:
1.2.3.0/24 OK
5.6.7.128/25 OK

main.cf:
smtpd_sender_restrictions =
   check_client_access cidr:/etc/postfix/sender_override.cidr
   check_sender_access type:table


Peter
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-leave@postfix.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic