RE: smtpd_recipient_restrictions usage question.

2022-06-25 Thread Gary Smith
ll, just this remote call portion. > -Original Message- > From: owner-postfix-us...@postfix.org > On Behalf Of Matus UHLAR - fantomas > Sent: Saturday, June 25, 2022 7:25 AM > To: postfix-users@postfix.org > Subject: Re: smtpd_recipient_restrictions usage question. >

Re: smtpd_recipient_restrictions usage question.

2022-06-25 Thread Viktor Dukhovni
On Fri, Jun 24, 2022 at 10:50:53PM +, Gary Smith wrote: > Current:  >   > 10026 inet    n   -   n   -   3  smtpd  >     -o content_filter=  >     -o > receive_override_options=no_unknown_recipient_checks,no_header_body_checks,no_milters >   >     -o smtpd_helo_r

Re: smtpd_recipient_restrictions usage question.

2022-06-25 Thread Matus UHLAR - fantomas
On 24.06.22 22:50, Gary Smith wrote: I have an smtpd process configured with this below.  It works great when injecting the messages from localhost but fails with '5.7.1 : Recipient address rejected: Access denied' when I try it from a remote node (this port is firewalled and only allowed for s

Re: smtpd_recipient_restrictions usage question.

2022-06-24 Thread Nick Tait
On 25/06/22 10:50, Gary Smith wrote: Would it be better to add IPs to an access hash list and use check_recipient_a_access so we can use update it when we need to on the fly?  If so can I add subnets (10.20.30.0/24) or just single IPs?  I’m usinghttps://www.postfix.org/postconf.5.html#smtpd_re