Clear Email Queue in Bulk
-
So i have more than 1k emails stuck in the email queue and the server keeps on retrying it so is there any way to bulk delete all the emails which are stuck there in queue
-
https://ibb.co/GdWW55c this is what the queue looks like and deleting them one by one is very time-consuming any way to delete all this in one go by ssh in the server?
-
I am a bit noob with docket can you tell me the docket command by which I can get into this?
is this something like docker exec -ti mail /bin/bash
-
I am a bit noob with docket can you tell me the docket command by which I can get into this?
is this something like docker exec -ti mail /bin/bash
-
@darsh_parsana Just delete the files in
/home/yellowtent/boxdata/mail/haraka-queue/
and thendocker restart mail
@girish said in Clear Email Queue in Bulk:
@darsh_parsana Just delete the files in
/home/yellowtent/boxdata/mail/haraka-queue/
and thendocker restart mail
I want to delete specific messages from my queue - how do I know/ how can I work out which message is which?
In that folder I just see a load of:
root@Ubuntu-2204-jammy-amd64-base /home/yellowtent/boxdata/mail/haraka-queue # ls -la total 2676 drwxr-xr-x 2 1000 1000 49152 Feb 3 12:58 . drwxr-xr-x 9 yellowtent yellowtent 4096 Nov 10 2021 .. -rw-r--r-- 1 1000 1000 18534 Jan 31 13:02 1738328533512_1738590654199_12_65_gk72Xo_1810_70b22df2ed37 -rw-r--r-- 1 1000 1000 18534 Jan 31 14:51 1738335078475_1738597197100_12_65_dXDG5B_1902_70b22df2ed37 -rw-r--r-- 1 1000 1000 18534 Jan 31 14:51 1738335096003_1738597214022_12_65_Rbe0Ut_1903_70b22df2ed37 etc
But confusingly, #/emails-queue shows as empty:
I want to clear some out because the mailserver is constantly retrying to send out "
Complete your sign up to…" emails it got passed from Ghost after spam sign-ups and they all just bounce so it tries again, and again...