[pfx] Re: Pipe Transport: Answer with 500 instead of sending a bounce?

2024-11-21 Thread Viktor Dukhovni via Postfix-users
> On 21 Nov 2024, at 9:30 PM, Thomas Landauer via Postfix-users > wrote: > > What I was looking for is a way to kinda "suspend" Postfix while doing > maintenance on the server (i.e. local transport not available). > > I now solved this by adding: > >> smtpd_client_restrictions = check_client_

[pfx] Re: Pipe Transport: Answer with 500 instead of sending a bounce?

2024-11-21 Thread Ralph Seichter via Postfix-users
* Viktor Dukhovni via Postfix-users: > Why not: > defer_transports = local That's what I was wondering, too. For example, I like using postconf -e defer_transports=lmtp in scripts, to temporarily pause message delivery from Postfix to Dovecot during backup operations. -Ralph

[pfx] Re: Pipe Transport: Answer with 500 instead of sending a bounce?

2024-11-21 Thread Thomas Landauer via Postfix-users
Hi, thanks! What I was looking for is a way to kinda "suspend" Postfix while doing maintenance on the server (i.e. local transport not available). I now solved this by adding: smtpd_client_restrictions = check_client_access static:{ defer Maintenance! } But this also requires: smtpd_del

[pfx] Re: Docs: Improve delay_logging_resolution_limit

2024-11-21 Thread Thomas Landauer via Postfix-users
Hi, thanks! Bottom line: I think this is impossible to explain in words! Please include the table at http://www.postfix.org/postconf.5.html#delay_logging_resolution_limit The rest of this mail is just to convince you ;-) When setting it to 6, I'm getting this in my logfile: delays=0.12/0

[pfx] Re: milter_header_checks clue gap

2024-11-21 Thread Viktor Dukhovni via Postfix-users
On Thu, Nov 21, 2024 at 01:09:35PM -0800, Randy Bush wrote: > # cat /etc/postfix/milter_header_checks > /^X-Spam.*YES/ FILTER local:/var/mail/spam - man 5 transport - man 8 local > leaves nothing in /var/mail/spam. as rspamd reports a lot of X-Spam > headers added, i presume t

[pfx] Re: Pipe Transport: Answer with 500 instead of sending a bounce?

2024-11-21 Thread Viktor Dukhovni via Postfix-users
On Thu, Nov 21, 2024 at 01:26:23PM +0100, Ralph Seichter via Postfix-users wrote: > * Viktor Dukhovni via Postfix-users: > > > Why not: > > defer_transports = local > > That's what I was wondering, too. For example, I like using > > postconf -e defer_transports=lmtp > > in scripts, to tempor

[pfx] Re: Pipe Transport: Answer with 500 instead of sending a bounce?

2024-11-21 Thread Ralph Seichter via Postfix-users
* Viktor Dukhovni via Postfix-users: > You probably also need a "postfix reload" in such cases, because > "defer_transports" is a qmgr(8) parameter, and qmgr(8) is a long-running > process. Indeed. I did not specifically mention it in my example, but I invoke "postfix reload" after each modificat

[pfx] Re: Docs: Improve delay_logging_resolution_limit

2024-11-21 Thread Wietse Venema via Postfix-users
Thomas Landauer via Postfix-users: > I think this is impossible to explain in words! Please include the table > at http://www.postfix.org/postconf.5.html#delay_logging_resolution_limit Instead, I have replaced some narrative text with a bullet list. * Delays >= 100s are rounded off to an integ