> On 21 Nov 2024, at 9:30 PM, Thomas Landauer via Postfix-users > <postfix-users@postfix.org> 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_access static:{ defer Maintenance! } > > But this also requires: > >> smtpd_delay_reject = no > > So maybe you could introduce a dedicated option for that?: Answer with 400 to > everything, with a custom message.
Why not: defer_transports = local -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org