Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.