Re: [Exim] HELP: mail queue

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Nico Erfurth
Ημερομηνία:  
Προς: Thomas Kinghorn
Υ/ο: Exim-Users (E-mail)
Αντικείμενο: Re: [Exim] HELP: mail queue
Thomas Kinghorn wrote:

> Their exchange server keeled over (whats new?).
>
> Now I have 3000 mails in the queue that they want me to delete.
> I would have just manually deleted them BUT
> i have split_spool_directory in the config file.
>
> How can I clear these mails


Create a router them that, that blackholes the mail, or better, pipe
them into a bsmtp file, to be on the safe side.

clear_queue:
driver = accept
domains = Your.Client
condition = Check for the $message_age here if needed
transport = some_transport_to_save_it_away

or

clear_queue:
driver = redirect
domains = your.client
condition = Check for the $message_age here if needed
data = :blackhole:

Happy cleaning,
Nico