[pfx] Re: smtpd rate limiting

2023-10-04 Thread Viktor Dukhovni via Postfix-users
On Wed, Oct 04, 2023 at 04:18:43PM +0200, Kevin Cousin via Postfix-users wrote: > > We have a solution for that, and that is not slowing down message > > arrivals or speeding up deliveries. > > Mails are arriving fast, they arrive quicly enough to fill the active > queue. SHOULD all these

[pfx] Re: smtpd rate limiting

2023-10-04 Thread Kevin Cousin via Postfix-users
Hi > Can you answer one question: is mail arriving too fast, or are >  > deliveries too slow? If the problem is the latter, then your queue >  > may be full of MAILER-DAEMON messages. >  > We have a solution for that, and that is not slowing down message >  > arrivals or speeding up deliveries.

[pfx] Re: smtpd rate limiting

2023-10-04 Thread Wietse Venema via Postfix-users
Wietse Venema via Postfix-users: > Viktor Dukhovni via Postfix-users: > > On Tue, Oct 03, 2023 at 06:29:08PM -0400, Wietse Venema via Postfix-users > > wrote: > > > > > > My first wild guess is setting in_flow_delay to a higher value might > > > > help. Note this may be completely

[pfx] Re: smtpd rate limiting

2023-10-04 Thread Wietse Venema via Postfix-users
Viktor Dukhovni via Postfix-users: > On Tue, Oct 03, 2023 at 06:29:08PM -0400, Wietse Venema via Postfix-users > wrote: > > > > My first wild guess is setting in_flow_delay to a higher value might > > > help. Note this may be completely inappropriate for your specific > > > application. > > >

[pfx] Re: smtpd rate limiting

2023-10-03 Thread Viktor Dukhovni via Postfix-users
On Tue, Oct 03, 2023 at 06:29:08PM -0400, Wietse Venema via Postfix-users wrote: > > My first wild guess is setting in_flow_delay to a higher value might > > help. Note this may be completely inappropriate for your specific > > application. > >

[pfx] Re: smtpd rate limiting

2023-10-03 Thread Wietse Venema via Postfix-users
Noel Jones via Postfix-users: > My first wild guess is setting in_flow_delay to a higher value might > help. Note this may be completely inappropriate for your specific > application. > http://www.postfix.org/postconf.5.html#in_flow_delay That, and reducinig the number of smtpd processes if

[pfx] Re: smtpd rate limiting

2023-10-03 Thread Noel Jones via Postfix-users
On 10/3/2023 2:11 PM, Kevin C via Postfix-users wrote: Hi Matthew, Hi Wietse, Our postfix servers are only MTAs who transfer mails from internal IT apps to end users over Internet. We don't receive mails from Internet. Sometimes, an abnormal activity can fill active queue unitl it's full, and

[pfx] Re: smtpd rate limiting

2023-10-03 Thread Kevin C via Postfix-users
Hi Matthew, Hi Wietse, Our postfix servers are only MTAs who transfer mails from internal IT apps to end users over Internet. We don't receive mails from Internet. Sometimes, an abnormal activity can fill active queue unitl it's full, and it slow down all mail delivery. We had some rules to

[pfx] Re: smtpd rate limiting

2023-09-29 Thread Matthew McGehrin via Postfix-users
I might had used the wrong terminology. I was mainly referencing delayed email that occurs with Grey listing. Most of the delay email for me is either Google or Yahoo. Matthew On 9/29/2023 7:40 PM, Wietse Venema via Postfix-users wrote: Matthew McGehrin via Postfix-users: Hi Kevin. If the

[pfx] Re: smtpd rate limiting

2023-09-29 Thread Wietse Venema via Postfix-users
Matthew McGehrin via Postfix-users: > Hi Kevin. > > If the delays are being caused by bounce message processing, you could Then you should configre Postfix to block undeliverable mail. - Don't accept mail for non-existent recipients. - Don't forward SPAM to other systems. Wietse

[pfx] Re: smtpd rate limiting

2023-09-29 Thread Matthew McGehrin via Postfix-users
Hi Kevin. If the delays are being caused by bounce message processing, you could run a second instance dedicated to just processing delayed messages using fallback_relay. You can also make adjustments to the individual queues in master.cf, one tweak I use is increasing the flush rate to

[pfx] Re: smtpd rate limiting

2023-09-29 Thread Wietse Venema via Postfix-users
Wietse Venema via Postfix-users: > Kevin Cousin via Postfix-users: > > Greetings List, > > > > We recently had an issue and the active queue was full and slowed > > down all new mail delivery. Is it possible to rate limit the mail > > flow to protect smtpd from a massive mail input ? > > By

[pfx] Re: smtpd rate limiting

2023-09-29 Thread Wietse Venema via Postfix-users
Kevin Cousin via Postfix-users: > Greetings List, > > We recently had an issue and the active queue was full and slowed > down all new mail delivery. Is it possible to rate limit the mail > flow to protect smtpd from a massive mail input ? By default, the Postfix SMTP server enforces