Wietse Venema wrote:
Paul Cockings:
Wietse Venema wrote:
Paul Cockings:
Hi list, i'm looking for a bit of help,

I use one of my postfix boxes as a sort-of smart host relay. One of the destinations is currently unreachable as an IP connection is down and will be fixed in the next few days. In the meantime I would like to keep the mail queuing up for the domain (currently set to 10days), but send a copy of the queuing mail to an alternative email address.
Do "postsuper -r" for each message, after setting up a virtual
alias mapping that adds the extra recipient address. This creates
a new queue file (same message ID header but different Postfix
queue ID) and then deletes the old one.

Try it out on a test message before munging all the mail.

        Wietse

That is nearly doing want I want. As I know the original destination will be up again soon, can I keep the current mail queue whilst sending 'copies' to the alias?

This is my final offer:

1) Set up a virtual alias mapping that ADDS an extra recipient
   address for each address that suffers delay.

   For example:

    j...@example.com    j...@example.com other...@otherexample.com

2) Do "postsuper -r" for each message.

3) This creates a new queue file WITH BOTH j...@example.com AND
   other...@otherexample.com (same message ID header but different
   Postfix queue ID) and then deletes the old one.

4) Test it for one message first.

        Wietse

That is working lovely - thankyou for the extra bit of explanation it now makes sense

Reply via email to