Re: Message remains in spool after expunge

Patrick Boutilier <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
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
>

----
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
boutilpj.vcf (text/x-vcard, 286 B)
begin:vcard
fn:Patrick Boutilier
n:Boutilier;Patrick
org:;Nova Scotia Department of Education
adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada
email;internet:[email protected]
title:WAN Communications Specialist
tel;work:902-424-6800
tel;fax:902-424-0874
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.