> Hi,
>
> How can I set a rule to put manually on HOLD all email sent to
> temporarydeaddomain.com ? I understand that postfix will automatically
> sent the emails in the deferred and deal with them from time to time but
> as I know that the domain is dead for a while, I'd like to move them
> directly on hold and resubmit them in the maildrop when I know that the
> domain will work again ...
>
> Thanks for your help.
>
> Stéphane
>

This should work:

In main.cf:
header_checks = regexp:/etc/postfix/header_checks


In /etc/postfix/header_checks:
/^To:....@temporarydeaddomain.com/ HOLD


Terry




Reply via email to