Cyrus autocreate folders does not work correctly with virtdomains = on
Cyrus autocreate folders does not work correctly with virtdomains = on
Description
Cyrus autocreate folders does not work correctly with virtdomains = on
Distribution Name and Version
Debian 9 Stretch
FusionDirectory Version
1.21
Plugin with the defect
cyrus
PHP version used
7.0
Origin of php packages
Distribution packages
Steps to Reproduce
Set virtdomains=on in imapd.conf and set a default domain In mail plugin set attribute to mail Add autocreate folders create a mailbox in the default domain
Expected behavior:
The folders should be created under the mailbox
Actual behavior:
127.0.0.1> lm
user/zbeeblebrox (\HasNoChildren)
user/zbeeblebrox@gibb.co.za/Deleted Items (\HasNoChildren)
user/zbeeblebrox@gibb.co.za/Drafts (\HasNoChildren)
user/zbeeblebrox@gibb.co.za/Junk E-mail (\HasNoChildren)
user/zbeeblebrox@gibb.co.za/Outbox (\HasNoChildren)
user/zbeeblebrox@gibb.co.za/Sent Items (\HasNoChildren)
Only the first line is correct
the physical location of these folders is nor correct root@ctgw-3:/var/spool/cyrus/mail# ls z/user/ zbeeblebrox <=Correct root@ctgw-3:/var/spool/cyrus/mail# ls domain/g/gibb.co.za/ Deleted Items Drafts Junk E-mail Outbox Sent Items <=-WTF?
Reproduces how often: 100%