Message remains in spool after expunge

Patrick Boutilier boutilpj at ednet.ns.ca
Tue Aug 22 08:57:00 EDT 2017


On 08/22/2017 09:48 AM, Arnaldo Viegas de Lima wrote:
> Hi,
> 
> We have just migrated from 2.4.17 to 3.0.3 and we are having a problem with one of our scripts that perform actions on a SPAM folder for retraining purposes.
> All files placed by the user there are used for retaining. At the end Cyrus is called to remove the files: we mark all files for deletion and then expunge the mailbox. We have been using this script since 2007, flawlessly.
> 
> I’ve set Cyrus chatty mode on and I can see the commands being sent to the server and there is a confirmation log message for the expunge, with the  correct number of files.
> Checking the SPAM mailbox with Cyrus (or any IMAP client), show it as empty. But looking at the mailbox directory in the filesystem, the actual files are still there.
> 
> Am I missing something on 3.0.3 that may be the cause for this problem?
> 
> Thanks in advance.
> 

expunge_mode: delayed is the default since 2.5

https://www.cyrusimap.org/imap/concepts/features/delayed-expunge.html

You would want expunge_mode: immediate to use the default behaviour in 
2.4.17





> Arnaldo.
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: boutilpj.vcf
Type: text/x-vcard
Size: 286 bytes
Desc: not available
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20170822/5e3ddfe2/attachment.vcf>


More information about the Info-cyrus mailing list