Re: Autocreate not working (cyrus-imapd-3.4.1-10.el9.src.rpm / Rocky 9)
"stefano.antonelli@cnaf" <[email protected]>
| Newsgroups | gmane.mail.imap.cyrus |
|---|---|
| Message-ID | <[email protected]> |
Hi Nels, thank you for your answer; > "autocreate_quota: -1" disables autocreate; you should use 0 or higher. yes, I've tried with 0 too with same results; > Wild guess; are you removing your test mailbox each time you try? The > autocreate functionality is only executed on first post or login; if I'd say yes, at the moment it's a fresh installation so I'm testing it so `cyradm -> dm user.myname` and then `cyr_expire -E 1m -D 1m -u myname` and check that the mailbox doesn't exist on the fs anymore and so again `cm user.myname`; > the mailbox existed prior to adding the autocreate_inbox_folders > configuration option, it wouldn't be triggered on subsequent logins. ok, I'll consider it and test it again; my guess, may it be that, even after deletion, it's still in some .db file? thank you regards Stefano Il 2024-02-23 20:11 Nels Lindquist ha scritto: > Hi, Stefano. > > On 2024-02-21 7:00 AM, [email protected] wrote: > >> on a new configuration ( rpm repo appstream; `cyr_info version` >> -> cyrus-imapd 3.4.1-10.el9 Fedora; Rocky Linux 9) I'm trying to >> enable autocreate_inbox_folders (Drafts | Trash | Sent) but it's not >> working apart from INBOX. This are the options I've set in imapd.conf >> different from default ones. >> >> I've tried even with `autocreate_quota: 0` and default >> "partion-default: /var/spool/imap" but when I login (Thunderbird >> client) I see only the INBOX folder. Log file in debug mode does not >> give particular informations. > > "autocreate_quota: -1" disables autocreate; you should use 0 or higher. > > Wild guess; are you removing your test mailbox each time you try? The > autocreate functionality is only executed on first post or login; if > the mailbox existed prior to adding the autocreate_inbox_folders > configuration option, it wouldn't be triggered on subsequent logins. > >> As much as I can understand, I've tried to check the spec file from >> Rocky repo >> (https://git.rockylinux.org/staging/rpms/cyrus-imapd/-/blob/r9/SPECS/cyrus-imapd.spec >> <https://git.rockylinux.org/staging/rpms/cyrus-imapd/-/blob/r9/SPECS/cyrus-imapd.spec>) >> and I'd say that autocreate is enabled > > Looks like it is, yup. > >> defaultpartition: mbox >> partition-mbox: /mailbox >> altnamespace: no >> unixhierarchysep: no >> autocreate_post: 1 >> autocreate_quota: -1 >> autocreate_subscribe_folders: Sent | Drafts | Trash >> autocreate_inbox_folders: Sent | Drafts | Trash >> debug: yes >> syslog_facility: LOCAL6 >> #Cyrus output I/O >> iolog: 1 > > > -- > Nels Lindquist > [email protected] > ------------------------------------------ Cyrus: Info Permalink: https://cyrus.topicbox.com/groups/info/T822c905bced47a3b-Mc80ff16c09bd93e8294d8902 Delivery options: https://cyrus.topicbox.com/groups/info/subscription