> 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_
* 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
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
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
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
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
* 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
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