Re: smtpd_sender_login_maps text table format (doubble mail)

2022-02-10 Thread Benny Pedersen
On 2022-02-09 23:08, raf wrote: So the mapping is: email-or-localpart-or-@domain -> not-found-or-list-of-sasl-login-names Subject Re: smtpd_sender_login_maps text table format Fromraf Sender owner-postfix-us...@postfix.org To postfix-users@postfix.org , postfix-us...@cloud9.n

filter not being applied

2022-02-10 Thread Edward Sandberg
I am attempting to configure content filtering by following this guide: http://www.postfix.org/FILTER_README.html I have added the filter service and modified the smtp service in master.cf: filterunix - n n - 10 pipe flags=Rq user=filter null_sender=

Re: filter not being applied

2022-02-10 Thread Viktor Dukhovni
On Thu, Feb 10, 2022 at 01:50:36PM -0600, Edward Sandberg wrote: > I am attempting to configure content filtering by following this guide: > > http://www.postfix.org/FILTER_README.html > > I have added the filter service and modified the smtp service in master.cf: > > filterunix - n

Re: filter not being applied

2022-02-10 Thread Noel Jones
On 2/10/2022 1:50 PM, Edward Sandberg wrote: I am attempting to configure content filtering by following this guide: http://www.postfix.org/FILTER_README.html I have added the filter service and modified the smtp service in master.cf: filter    unix  -   n   n   -   10 

Re: filter not being applied

2022-02-10 Thread Edward Sandberg
Easy fix, Thanks very much! -- Edward Sandberg Adventium Labs 111 3rd Avenue S. Suite #100 Minneapolis, MN 55401 OpenPGP_signature Description: OpenPGP digital signature

Header_checks inconsistent with postmap query

2022-02-10 Thread Eric Wilkison
I'm trying to write a simple header_check rule and seeing inconsistent results between testing with "postmap -q" and postfix processing an incoming message.  We need to match header lines with a specific SFV value and match the domain of the message recipient. Here are the relevant parts of the

Re: Header_checks inconsistent with postmap query

2022-02-10 Thread Viktor Dukhovni
On Thu, Feb 10, 2022 at 10:27:32PM +, Eric Wilkison wrote: > header_checks: > /^X-Forefront-Antispam-Report:.*SFV:(SPM|SKS|SKB).*to=<.*@ms2019.mobility-lab.com>/ > WARN  It's working You're expecting recipient information to be present in the header text. > Feb 10 15:48:21 relay1 postfix/cl

Re: Virtual map regex

2022-02-10 Thread raf
On Wed, Feb 09, 2022 at 05:17:13PM -0500, Viktor Dukhovni wrote: > > On 9 Feb 2022, at 5:15 pm, raf wrote: > > > > ... and turning on/off x just means > > that space characters in the pattern are/aren't ignored. There > > aren't any space characters there so it should be immaterial. > > You'r

Re: Virtual map regex

2022-02-10 Thread Viktor Dukhovni
> On 10 Feb 2022, at 7:03 pm, raf wrote: > > Thanks, but I'm not sure that that is material to this > issue. It is. > Even with regexp, x refers to "extended > expression syntax". Which is a converse to "basic expression syntax", i.e. the obsolete BRE syntax, in which "(" and "|" are ordina

Re: Virtual map regex

2022-02-10 Thread raf
On Thu, Feb 10, 2022 at 07:08:14PM -0500, Viktor Dukhovni wrote: > > > > On 10 Feb 2022, at 7:03 pm, raf wrote: > > > > Thanks, but I'm not sure that that is material to this > > issue. > > It is. > > > Even with regexp, x refers to "extended > > expression syntax". > > Which is a convers

Re: Virtual map regex

2022-02-10 Thread raf
On Fri, Feb 11, 2022 at 03:15:13PM +1100, raf wrote: > On Thu, Feb 10, 2022 at 07:08:14PM -0500, Viktor Dukhovni > wrote: > > > > On 10 Feb 2022, at 7:03 pm, raf wrote: > > > > > > Thanks, but I'm not sure that that is material to this > > > issue. > > > > It is. > > > > > Even with regexp

Re: Virtual map regex

2022-02-10 Thread Viktor Dukhovni
> On 10 Feb 2022, at 11:17 pm, raf wrote: > > But I still don't see why it was only the second > replacement index that was out of range, and not the > first as well. https://sciencing.com/what-is-a-counterexample-in-algebra-12750822.html ... One Counterexample Is Sufficient The philosophy of t

Re: Virtual map regex

2022-02-10 Thread raf
On Thu, Feb 10, 2022 at 11:21:07PM -0500, Viktor Dukhovni wrote: > > On 10 Feb 2022, at 11:17 pm, raf wrote: > > > > But I still don't see why it was only the second > > replacement index that was out of range, and not the > > first as well. > > https://sciencing.com/what-is-a-counterexample-

Re: filter not being applied

2022-02-10 Thread Víctor Rubiella Monfort
when u send by localhost sendmail filters layers not raised. you need to send mail via regular smtp 25. El 10/2/22 a las 20:50, Edward Sandberg escribió: I am attempting to configure content filtering by following this guide: http://www.postfix.org/FILTER_README.html I have added the filter s