Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

how to remove mail queu in for outgoing.pl

Quote Reply
how to remove mail queu in for outgoing.pl
hello,
i have too many mails in the queue to be sent back via outgoing.pl, happened as forgot to reenter cron for outgoing.pl for so long.

now whenever run outgoing.pl it just starts sending back those mails in the queue and i guess they are in 1000s.
i would like to know is there any way i could remove these mails.

regards
Quote Reply
Re: [junaid] how to remove mail queu in for outgoing.pl In reply to
The queue is located at data/users/ADMIN/bounce and reply (for auto-replies). Just delete the files in those directories.

Adrian
Quote Reply
Re: [brewt] how to remove mail queu in for outgoing.pl In reply to
thanks brewt.
although i tried to empty it by rm -f *
but its giving me error like to many arguments.
is there any other method to do it.
regards
Junaid
Quote Reply
Re: [junaid] how to remove mail queu in for outgoing.pl In reply to
in the directory, do a:
find . -type f -exec rm {} \;
or
find . -type f | xargs rm

Adrian