Re: header_checks and regexes

2022-03-10 Thread Viktor Dukhovni
> On 10 Mar 2022, at 3:48 pm, Alex wrote: > > Can I use sender_checks to bypass a host like mail.coupahost.com? The > client IP will constantly change, but I can rely on the sending domain > to remain the same. Conditional header checks require a milter or content filter that can make such fine

Re: header_checks and regexes

2022-03-10 Thread Alex
Hi, I now have these mime_header_checks working properly, but it turns out there are companies sending legitimate invoices as HTML attachments, ugh. Mar 8 07:49:05 xavier postfix-118/cleanup[2084042]: C01C310024593: reject: header Content-Disposition: attachment;? filename=purchase_order.html fr

Re: Long pause during SMTP conversation, timeout settings

2022-03-10 Thread Viktor Dukhovni
On Thu, Mar 10, 2022 at 10:35:01AM -0500, Wietse Venema wrote: > > I am using a milter that uses a connection timeout of five minutes, ie > > this milter simply closes the connection from Postfix after five minutes > > of silence. > > If the problem is that email arrives slowly (800 bytes/second)