Re: relay restriction not working?

2020-08-21 Thread Greg Klanderman
> On August 14, 2020 Viktor Dukhovni wrote: > This is of those rare cases where the documentation is now in error. In > order to improve backwards compatibility with postfix prior to 2.10, the > order of evaluation was changed in postfix-3.3-20180106 to evaluate the > recipient restrictions

Re: relay restriction not working?

2020-08-21 Thread Greg Klanderman
> On August 21, 2020 Viktor Dukhovni wrote: >> * if smtpd_relay_restrictions has been set (not defaulted) evaluate it >> first > I mentioned this to Wietse recently. My instinct is to go with the > last option. Viktor, great! Thank you for the update.. Greg

relay restriction not working?

2020-08-14 Thread Greg Klanderman
Hi, First thank you for all the work you do/have done on Postfix! I have been using Postfix for 15+ years to handle mail for a handful of my domains. I upgraded my mail server from Debian 8 to 10 a couple months ago, and was running 3.4.10-0+deb10u1 as of the time I last saw the issue below.

Re: relay restriction not working?

2020-08-14 Thread Greg Klanderman
>>>>> On August 14, 2020 Viktor Dukhovni wrote: > On Fri, Aug 14, 2020 at 05:41:38PM -0400, Greg Klanderman wrote: >> smtpd_relay_restrictions is documented as being checked before >> smtpd_recipient_restrictions, > This is of those rare cases where

Re: match empty sender in hash: sender access map?

2022-04-12 Thread Greg Klanderman
> On April 10, 2022 Bill Cole > wrote: > Right, because you do not need to run 'postmap' on regex or pcre maps. The > text > format ios what Postfix uses for those types. Thank you Bill! Knowing that now, I see where postmap(1) states: | The postmap(1) command can query any

match empty sender in hash: sender access map?

2022-04-10 Thread Greg Klanderman
Hi all, Quick question, what is the correct syntax to match an empty sender in a hash: sender access map (i.e. check_sender_access)? Somewhat related, if I have a regexp: map (header checks), like so: /^Subject:.*foo bar/ REJECT /^Subject:.*foo baz/ REJECT when it is postmap'd, it warns

Re: Postfix stable release 3.7.1 and legacy releases 3.6.6, 3.5.16, 3.4.26

2022-04-26 Thread Greg Klanderman
egexp > package installed?" instead of "unsupported map type for this > operation". This happened with all non-dynamic map types (static, > cidr, etc.) that have no 'bulk create' support. Problem reported > by Greg Klanderman. Thank you Wietse! Greg

Re: match empty sender in hash: sender access map?

2022-04-13 Thread Greg Klanderman
>>>>> On April 10, 2022 Viktor Dukhovni wrote: > On Sun, Apr 10, 2022 at 02:27:33PM -0400, Greg Klanderman wrote: >> Quick question, what is the correct syntax to match an empty sender in >> a hash: sender access map (i.e. check_sender_access)? > This is

Re: match empty sender in hash: sender access map?

2022-04-13 Thread Greg Klanderman
>>>>> On April 13, 2022 Matus UHLAR <- fantomas > wrote: >>>>>>> On April 10, 2022 Bill Cole >>>>>>> wrote: >>> Right, because you do not need to run 'postmap' on regex or pcre maps. The >>> text >>>