How delete queued mails from /home/openemm/var/spool/QUEUE

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

pepekujo
Posts: 2
Joined: Thu Mar 18, 2010 1:35 pm

How delete queued mails from /home/openemm/var/spool/QUEUE

Post by pepekujo »

Hello people, I need your help.

We had configured some campaigns, but we had some network connectivity problems and messages belong to this campaigns was not delivery. When we checked the "Send mail" tab on Mailing Option, the "Distributions status" showed the following message:
" This mailing is being sent at the moment."

Looking at folder /home/openemm/var/spool/QUEUE there are more than 10.000 files.

/home/openemm/var/spool/QUEUE# ls -lrt | wc -l
10072

How can I delete this Campaigns or the queued messages. I don't want that queued mails will be delivery.

Please, can you help with some clue or idea how to solve this issue?

I want to be sure that is not only erase the files from /home/openemm/var/spool/QUEUE folder.

Thanks in advanced
benjilopez
Posts: 1
Joined: Fri Mar 04, 2011 10:30 pm

Re: How delete queued mails from /home/openemm/var/spool/QUE

Post by benjilopez »

Is there an answere to this question?

I deleted the files in /home/openemm/var/spool/QUEUE
After a while, the folder was full again. It looks like the program started sending the next package of mails. So i deleted the files in the folder again. Now in /home/openemm/var/META are only .sync files. As a result, in the OpenEMM platform says that almost all of the emails where sent. There Are still almost 2000 emails to be sent (at the begining where like 10.000). How can I delete the rest of them, if there are no more files in the QUEUE?
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: How delete queued mails from /home/openemm/var/spool/QUE

Post by maschoff »

First, you have to stop OpenEMM. Then you have to delete all files in directory /home/openemm/var/spool/META (holding compressed XML packages which are processed by pickdist.py) and in directory /home/openemm/var/spool/QUEUE (holding the mails generated by pickdist.py). At the end you can start OpenEMM again.
OpenEMM Maintainer
Post Reply