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 > I'm a bit stuck as I don't know how to tackle the problem - can I add a > second transport map entry for this domain, then tell postfix to > requeue? - Would this keep the mail trying to the original destination > and effectively send a copy to the alternative destination? > > I'd be very greatful for any hints to get me started and I'm happy to > try some reading and googling once I'm pointed in the right direction > > Many thanks > >