Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to set Exim up so that, after a certain period of time, emails are forwarded to a secondary address as well as still sitting in the undelivered queue with delivery attempts to the original destination occurring. I'm not sure if it's possible.

Does anyone have any idea?

share|improve this question
That secondary address should be always deliverable, then... – sendmoreinfo Dec 23 '12 at 10:58

Only in exim - no, I don't think so.
But you can always write script for the cron job and check for all messages with original recipient still not delivered to it (exiqgrep -r <regexp> -o <seconds> -i) and then parse output of mailq to check if second one was not added before, and next you can use exim -Mar to add this secondary one to message.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.