Lister: [ Charset ISO-8859-1 converted... ] > Hi all, > > I got a notification recently that my box is bouncing mail, and the > recipient got the following: > > Command time limit exceeded: "/usr/lib/dovecot/deliver" > > This is quite an unusual situation, but this server should never bounce > mail externally. I've set soft_bounce = yes for now, but I'd like to > disable bouncing for command time limit exceeded situations, because in > those cases something is broken and I should fix it. > > Short of setting command_time_limit to something absurdly high, is there > a way to disable bounces for command time limit exceeded situations only?
You can change hard errors into soft errors with pipe_delivery_status_filter. This requires Postfix 3.0 or later. Wietse default_delivery_status_filter (default: empty) Optional filter to replace the delivery status code or explanatory text of successful or unsuccessful deliveries. This does not allow the replacement of a successful status code (2.X.X) with an unsuccessful status code (4.X.X or 5.X.X) or vice versa. The following parameters can be used to implement a filter for specific delivery agents: lmtp_delivery_status_filter, local_delivery_sta- tus_filter, pipe_delivery_status_filter, smtp_delivery_status_filter or virtual_delivery_status_filter. These parameters support the same fil- ter syntax as described here. [lots of text omitted, including an example] This feature is available in Postfix 3.0 and later.