Re: [SOLVED] Re: ipurge difficulties
On Wed, November 21, 2018 10:20, James B. Byrne via Info-cyrus wrote: > > We had previously used the '.' as the separator. Our current settings > are: > > > /usr/local/etc/imapd.conf:unixhierarchysep: true > /usr/local/etc/imapd.conf:altnamespace: true > Change altnamespace/no to false or Options -> Folder Preferences and choose the Trash, Drafts, and Sent folders again. Changing the IMAP name space mid-stream confuses some/many IMAP clients. Mail on Apple thinghies will not recover without deleting the account on the device and creating it again. Don't ask how I know this. :( John Capo 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
Re: [SOLVED] Re: ipurge difficulties
On Wed, November 21, 2018 09:33, Javier Angulo wrote: > > > On 11/21/18 2:38 PM, James B. Byrne via Info-cyrus wrote: >> >> >> On Wed, November 21, 2018 03:25, Javier Angulo wrote: >>> >>> Probably you have to use a '.' instead of '^' >>> >>> try: >>> # sudo -u cyrus /usr/local/cyrus/sbin/ipurge -v -f -d 35 >>> 'user/*/INBOX.Trash' >>> >> >> Thank you. That was it exactly. >> >> My next question is: Why did the conversion to imap3 ignore users' >> existing Trash folder and create a new folder named INBOX^Trash for >> everyone; and likewise with Drafts and Sent? >> > > > mmm we have upgraded quite a few mailboxes and never had that thing. > Just speculating but could be related to new defaults > > unixhierarchysep: on > altnamespace: on > > We had both on before upgrading. > We had previously used the '.' as the separator. Our current settings are: /usr/local/etc/imapd.conf:unixhierarchysep: true /usr/local/etc/imapd.conf:altnamespace: true Before the purge this mailbox folder was displayed in my webmail application (Squirrelmail) as INBOX^Trash, which is why I choose that construction for the ipurge command. However, following the successful purge run of ipurge INBOX.Trash the mailbox now displays as INBOX.Trash. What is equally curious is that there exists a folder simply named Trash, which was used as the trash folder by the previous version of IMAP and which was replaced by INBOX^Trash by some part of the upgrade process. It is certain that these changes (Trash -> INBOX^Trash, Sent -> INBOX^Sent, Drafts -> INBOX^Drafts) were not consciously made and they affected all users. And, yes, I did follow the published upgrade procedures to the best of my understanding. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrnemailto:byrn...@harte-lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 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
Re: [SOLVED] Re: ipurge difficulties
On 11/21/18 2:38 PM, James B. Byrne via Info-cyrus wrote: > > > On Wed, November 21, 2018 03:25, Javier Angulo wrote: >> >> On 11/20/18 3:29 PM, James B. Byrne via Info-cyrus wrote: >>> # sudo -u cyrus /usr/local/cyrus/sbin/ipurge -v -f -d 35 >>> 'user/x/INBOX^Trash' >>> # echo $? >>> 0 >>> >>> What is happening here? >> >> Probably you have to use a '.' instead of '^' >> >> try: >> # sudo -u cyrus /usr/local/cyrus/sbin/ipurge -v -f -d 35 >> 'user/*/INBOX.Trash' >> > > Thank you. That was it exactly. > > My next question is: Why did the conversion to imap3 ignore users' > existing Trash folder and create a new folder named INBOX^Trash for > everyone; and likewise with Drafts and Sent? > mmm we have upgraded quite a few mailboxes and never had that thing. Just speculating but could be related to new defaults unixhierarchysep: on altnamespace: on We had both on before upgrading. check https://www.cyrusimap.org/3.0/imap/download/upgrade.html Cheers 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
[SOLVED] Re: ipurge difficulties
On Wed, November 21, 2018 03:25, Javier Angulo wrote: > > On 11/20/18 3:29 PM, James B. Byrne via Info-cyrus wrote: >> # sudo -u cyrus /usr/local/cyrus/sbin/ipurge -v -f -d 35 >> 'user/x/INBOX^Trash' >> # echo $? >> 0 >> >> What is happening here? > > Probably you have to use a '.' instead of '^' > > try: > # sudo -u cyrus /usr/local/cyrus/sbin/ipurge -v -f -d 35 > 'user/*/INBOX.Trash' > Thank you. That was it exactly. My next question is: Why did the conversion to imap3 ignore users' existing Trash folder and create a new folder named INBOX^Trash for everyone; and likewise with Drafts and Sent? -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrnemailto:byrn...@harte-lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 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
Re: ipurge difficulties
On 11/20/18 3:29 PM, James B. Byrne via Info-cyrus wrote: > # sudo -u cyrus /usr/local/cyrus/sbin/ipurge -v -f -d 35 > 'user/x/INBOX^Trash' > # echo $? > 0 > > What is happening here? Probably you have to use a '.' instead of '^' try: # sudo -u cyrus /usr/local/cyrus/sbin/ipurge -v -f -d 35 'user/*/INBOX.Trash' Cheers, Javier. 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