Is there any way to configure my exim to delete messages automatically that
bounce or have errors instead of them getting frozen and accumulating in the
queue? i am getting lots of massage in queue name frozen.
Thank You,
Radhe
email-bouncesemail-servereximmessage-queuing
Is there any way to configure my exim to delete messages automatically that
bounce or have errors instead of them getting frozen and accumulating in the
queue? i am getting lots of massage in queue name frozen.
Thank You,
Radhe
A frozen message is a message that cannot delivered nor bounced. You should not see many frozen messages, and besides, they should not affect performance at all. Are you running an open relay, by any chance? Otherwise it is probably a configuration issue (Do you accept mail? Do you bounce everything, even spam you (eventually) receive? )
A problem I have seen is that sometime you can get tarpitted, especially if you send "spammy" messages (I guess a newsletter could fit that description). In this case a single message will block the entire queue. How many queue runners do you use? You can try increase their number and see what happens. If you get tarpitted, do you have SPF and DKIM set up? They may help in this case.
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.
Best Answer
There is a setting that determines how long those frozen messages are kept until they are deleted:
Check to see what yours is set to and adjust it downward to a lower value. More documentation is available at Exim Docs Chapter 14, search for the word "frozen" on that page and see all of the ways you can change the handling of frozen messages.