From: Victor Duchovni (no email)
Date: Fri Aug 01 2003 - 11:43:59 EDT
On Fri, 1 Aug 2003, [iso-8859-1] Leonardo Rodrigues Magalhães wrote:
>
> Hello Guys,
>
> Let's suppose I have a message in my message queue that I'm sure it wont
> be delivered. I know I can erase the message using 'postsuper -d queueid'.
> But I'd like to know if there's a way of forcing the message to be bounced
> instead of simply erased.
>
> Is this possible ?
>
main.cf:
header_checks = pcre:/etc/postfix/hchecks
hchecks:
/^Message-Id: <the_messages_unique_id>/ FILTER error:Undeliverable
shell:
$ postsuper -r queue_id
-- Viktor.
|
|
|