Page 1 of 1

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

Posted: Fri Mar 19, 2010 5:11 pm
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

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

Posted: Tue Oct 18, 2011 7:30 pm
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?

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

Posted: Thu Oct 20, 2011 7:11 am
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.