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

What is the best way to handle bounces and immediate failures with Exim? An email sent to a large mailing list will generate a large number of immediate failures as well as bounces. I'd like to capture these bounces and immediate failures and process them with a script, so that I can automatically remove them from the mailing list.

Using a third party email campaign manager is not an option. I need to specifically handle these messages with Exim, either capturing or redirecting them for later processing with a custom script. What would be the best way to implement something like this with Exim?

A similar question was asked here regarding IIS, but isn't much help in implementing something similar with Exim.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Large mailing-lists tend to be managed with Mailing List Managers, such as "mailman". One of the advantages of these is that they include bounce processors, so that they can unsubscribe recipients for you.

You're basically trying to implement more and more of the MLM functionality inside the MTA. You're going to keep hitting issues, so it's better to just accept the need to setup an MLM.

That said, the redirect Router which expands your mailing-list can take an errors_to option and you can set that to point to an address which you'll handle as an accept Router that passes the message to an external tool which manages the list of recipients.

share|improve this answer
    
I've thought about this for about a year or so, and I've decided to finally accept your answer :P In any case, the only real solution here is to set up a custom MLM system to handle the functionality I'm looking for. –  Richard Keller May 24 '12 at 0:34
add comment

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.