On Thu, Mar 23, 2000 at 01:46:35PM +0000, Tim Gollschewsky wrote:
> Hi,
>
> I would like to know what is the best way to remove an email from the
> queue if I decide I don't want to deliver it.
>
> 1. Is all I have to do: rm the info, mess and local files?
> 2. Should I have qmail stopped when/if do this?
> 3. Is there a better way?
Use touch(1) to make the info file for the message old enough for the message
to bounce.
For example, if the info file for the message is
/var/qmail/queue/info/1/146066, do this:
# touch -t 01010000 /var/qmail/queue/info/1/146066
qmail will try to deliver the message one more time, and if it's still
undeliverable qmail will decide it's too old and bounce it.
Chris