RE: [Exim] Removed frozen mails manually

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Herman Cremer
Dátum:  
Címzett: drees, Exim
Tárgy: RE: [Exim] Removed frozen mails manually
if you are running Linux as an OS,
use this script to remove all frozen mails from the queue



#!/bin/sh
for i in `exim -bp | grep frozen | awk {'print $3'}` ; do
exim -Mrm $i
done

exit 0

Herman


:> -----Original Message-----
:> From: exim-users-admin@??? [mailto:exim-users-admin@exim.org]On
:> Behalf Of Steve Drees
:> Sent: Wednesday, May 29, 2002 4:43 PM
:> To: Oliver.Egginger@???; exim-users@???
:> Subject: RE: [Exim] Removed frozen mails manually
:>
:>
:>
:> > I had a lot of frozen virus mails.
:> > To remove them I stopped Exim
:> > and removed the corresponding files manually from the "input"
:> and "msglog"
:> > directorys.
:>
:> The proper way to handle this is use mailq to generate a list of frozen
:> emails
:> then use exim -Mrm <messageid> to remove the message from the queue
:> or exim -Mg <messageid> to bounce the message back to the user.
:>
:>
:> --
:>
:> ## List details at
:> http://www.exim.org/mailman/listinfo/exim-users Exim details at
http://www.exim.org/ ##