Re: RBL timing

2022-11-24 Thread Doug Hardie
> On Nov 23, 2022, at 23:27, Phil Biggs wrote: > > Thursday, November 24, 2022, 5:24:12 PM, Doug Hardie wrote: > > >> I am trying with the postscreen dns lookup disabled. Here is the main.cf >> section: > >> # postscreen spam filtering >> postscreen_greet_action = enforce >> #postscr

Re: RBL timing

2022-11-24 Thread Phil Biggs
Thursday, November 24, 2022, 7:22:09 PM, Doug Hardie wrote: >> On Nov 23, 2022, at 23:27, Phil Biggs wrote: >> >> Thursday, November 24, 2022, 5:24:12 PM, Doug Hardie wrote: >> >> >>> I am trying with the postscreen dns lookup disabled. Here is the main.cf >>> section: >> >>> # pos

Re: RBL timing

2022-11-24 Thread Jaroslaw Rafa
Dnia 24.11.2022 o godz. 08:44:51 Matus UHLAR - fantomas pisze: > > you should use reject_unverified_recipient instead of > reject_unverified_recipient, they have different use which is why > you get DNS lookups prior recipient being rejected. Hm... "reject_unverified_recipient instead of reject_u

Re: RBL timing

2022-11-24 Thread Matus UHLAR - fantomas
Dnia 24.11.2022 o godz. 08:44:51 Matus UHLAR - fantomas pisze: you should use reject_unverified_recipient instead of reject_unverified_recipient, they have different use which is why you get DNS lookups prior recipient being rejected. On 24.11.22 11:34, Jaroslaw Rafa wrote: Hm... "reject_unver

Re: RBL timing

2022-11-24 Thread Wietse Venema
Matus UHLAR - fantomas: > reject_unlisted_recipient, of course: > > http://www.postfix.org/postconf.5.html#reject_unlisted_recipient > > reject_unlisted_recipient >Reject the request when the RCPT TO address is not listed in the list of >valid recipients for its domain class. See the >

header check discard issue

2022-11-24 Thread DEMBLANS Mathieu
Hi, We have an issue on our postfix installation (3.4.23-0+deb10u1) : a mail that should pass header_check is discarded. The message in log is : < discard: header X-Mailer: ((OTRS)) Community Edition Mail Service (6.0.37) [...] >. The x-mailer filter is this one : /^X-Mailer: .*(PSS Bulk Mailer

Re: RBL timing

2022-11-24 Thread Matus UHLAR - fantomas
Matus UHLAR - fantomas: reject_unlisted_recipient, of course: http://www.postfix.org/postconf.5.html#reject_unlisted_recipient reject_unlisted_recipient Reject the request when the RCPT TO address is not listed in the list of valid recipients for its domain class. See the smtpd_reject

Re: header check discard issue

2022-11-24 Thread Viktor Dukhovni
On Thu, Nov 24, 2022 at 03:01:08PM +, DEMBLANS Mathieu wrote: > We have an issue on our postfix installation (3.4.23-0+deb10u1) : a > mail that should pass header_check is discarded. The header check REs are (as usual) sloppy. > The message in log is: > > discard: header X-Mailer: ((OTRS)) C

Re: header check discard issue

2022-11-24 Thread Wietse Venema
DEMBLANS Mathieu: > Hi, > We have an issue on our postfix installation (3.4.23-0+deb10u1) : > a mail that should pass header_check is discarded. > > The message in log is : < discard: header X-Mailer: ((OTRS)) > Community Edition Mail Service (6.0.37) [...] >. > > The x-mailer filter is this one :

RE: header check discard issue

2022-11-24 Thread DEMBLANS Mathieu
Hoo, we didn't see this... We thought that it was case sensitive but not. It was so simple.. Thank you all. -Message d'origine- De : owner-postfix-us...@postfix.org De la part de Viktor Dukhovni Envoyé : jeudi 24 novembre 2022 16:32 À : postfix-users@postfix.org Objet : Re: header check

Re: header check discard issue

2022-11-24 Thread Viktor Dukhovni
On Thu, Nov 24, 2022 at 04:07:29PM +, DEMBLANS Mathieu wrote: > We thought that it was case sensitive but not. http://www.postfix.org/pcre_table.5.html http://www.postfix.org/regexp_table.5.html For case-sensitive matching: /pattern/i action and to match whole words case-sensi

Re: RBL timing

2022-11-24 Thread Doug Hardie
On Nov 24, 2022, at 07:05, Matus UHLAR - fantomas wrote: > >  >> >> Matus UHLAR - fantomas: > > Doug: > > There's implicit reject_unlisted_recipient at the end of rules when > smtpd_reject_unlisted_recipient=on (default). > > However when this one hits, DNS queries were already sent. > > t

Re: RBL timing

2022-11-24 Thread Viktor Dukhovni
On Thu, Nov 24, 2022 at 02:48:48PM -0800, Doug Hardie wrote: > Thanks to all for the assistance. It now works properly. I never > found reject_unlisted_recipient as it only exists on > https://www.postfix.com/SMTPD_ACCESS_README.html where it says it is > on by default. The description above sh