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?

ie
re-queue existing mail but don't delete the original
Any new mail for this destination gets queued for original destination and sent the alias

The final destination of the alias is a IMAP box available to user via a webmail account - They can keep an eye on the mail that is queuing up and when the connection is back up any queued mail will deliver as normal

Maybe i thinking about this the wrong way round.

Reply via email to