[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to remove mails?

On Wed, Jul 31, 2002 at 02:01:01PM +0530, Arnt Gulbrandsen wrote:
> zmailer@pizi.cz
> > I have 2072 mails generated by wrong script. I want remove all mails
> > to atlas.cz. How I can do this?
> Stop the scheduler. grep for "^r	 smtp atlaz.cz " in the
> postoffice/.transports directory. Files by that name need to be deleted
> both in transport and name (e.g. if O/229880-30353 contains the string,
> delete transport/O/229880-30353 and queue/O/229880-30353).

  Because that is jolly tedious method, I have a tool:

    $MAILBIN/manual-expirer -s -c smtp -h atlas.cz 

  Everything on channel   smtp   to host  atlas.cz   will be cancelled.
  The '-s' option is "silent".

> Be careful.
> Restart the scheduler.

  With this tool, there is no need to restart.
  (Or indeed shut down..)

> --Arnt

/Matti Aarnio	<mea@nic.funet.fi>
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi