Re: [exim] Is there a way for exim to automatically delete f…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Mike Lyon
Päiväys:  
Vastaanottaja: Todd Lyons
Kopio: <exim-users@exim.org>
Aihe: Re: [exim] Is there a way for exim to automatically delete failed messages?
Thank you!

I also just moved the time to clean the queue from 7days to 1h so hopefully
that'll do the trick too.

Cheers,
Mike


On Thu, Oct 13, 2011 at 11:12 AM, Todd Lyons <tlyons@???> wrote:

> On Thu, Oct 13, 2011 at 10:44 AM, Mike Lyon <mike.lyon@???> wrote:
> > Howdy!
> >
> > Is there a way to configure exim to auto-majically delete messages that
> > bounce or have errors instead of them getting frozen and accumulating in
> the
> > queue?
>
> To get rid of them:
> exiqgrep -z -i | xargs exim -Mrm
>
> I think you'd be better off running that as a cron job instead of
> tweaking the frozen message process, but if you want, there are a few
> options you can tweak at
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch14.html#SECID100
>
> Regards...       Todd

>
> --
> If Americans could eliminate sugary beverages, potatoes, white bread,
> pasta, white rice and sugary snacks, we would wipe out almost all the
> problems we have with weight and diabetes and other metabolic
> diseases. -- Dr. Walter Willett, Harvard School of Public Health
>