Hi Steffen,
sorry, in this case "duplicate" means that users have two folders in webmail (Roundcube) with same content.
I did not tried to move messages between folders yte.
I confirm that on previous server, this was Dovecot's settings:
namespace { type = private separator = . prefix = INBOX. inbox = yes }
After migration to new server (as I said I copied spool at filesystem level), I noticed that namespace settings was different:
namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = }
So, I used "INBOX" prefix:
namespace { type = private separator = . prefix = INBOX. inbox = yes }
and restarted Dovecot, but it seems I created lots of issues..
Now I restored the original configuration.. it seems ok
Is it a bit unclear how configure properly Roundcube AND Dovecot (regarding IMAP settings)
Thank you very much
Il 5 ottobre 2017 alle 11.48 Steffen Kaiser <skdovecot@smail.inf.fh-brs.de> ha scritto:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 5 Oct 2017, absolutely_free@libero.it wrote:
I just migrated spool from another server (by copying filesystem, I use maildir), this is an example of mailbox's content:
drwx------ 5 postfix postfix 11 Sep 29 09:27 .Drafts drwx------ 5 postfix postfix 9 Oct 4 10:18 .INBOX.Drafts drwx------ 5 postfix postfix 9 Oct 4 10:18 .INBOX.Sent drwx------ 5 postfix postfix 9 Oct 3 18:01 .INBOX.Trash drwx------ 5 postfix postfix 12 Sep 29 09:27 .Junk drwx------ 5 postfix postfix 8 Dec 9 2014 .Junk E-mail drwx------ 5 postfix postfix 10 Oct 4 12:27 .Sent drwx------ 5 postfix postfix 10 Oct 4 18:01 .Trash
-rw------- 1 postfix postfix 96 Oct 3 18:01 subscriptions
It seems I have duplicate folder (for example during webmail access, I use Roundcube).
You did not explain, which folders are duplicate. Does "duplicate" mean, that they have the some content or just the same name? If copy one message into one folder, is it accessable through the other one?
What is wrong with my setup?
Well, you mean "Sent" and "INBOX.Sent", which latter is a mailbox named "Sent" as subfolder of INBOX, then they are not duplicates, but have the same name. Eventually, your mail client strips the leading "INBOX" for convience for the user. Possibly, you had mailbox prefix configured in your setup ago, which hid all mailboxes except "INBOX" and below. Perhaps you have entries in your subscriptions files, which are no longer available, because of the other setup.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBWdX/3Hz1H7kL/d9rAQIwlQf+N29DnENf2hcXxBiYJdf+/rFpOtHPg5u0 ml7VhtQSBRYk85x0xR/x16FMTqXM/IHRsIjjHwPbFVJ4lHdDJ3LHI4jnLy39v9qX oWjtlWDB88r6/MifJDxkgZXxBbih4tyqI0MNQRObt7mjLSF2POwSU90QZdeFAgCO 3hSooauYMjKCDOfBJpPNa8Uhs1RKw+70YMcgdWKwRZqPgQu5NoudU/5StAFe3cAx Oj4YJSn3NQI7cNLdr6R8Kv2wUbOnPhGvEQcn9NfnpbIROb5pG6Wu2plFmWRNmG9V XeTwtAarIeOHHonW4LNfx4hFPOo2APrm/NcnqDYSFOh14hap3NFGkQ== =oXNE -----END PGP SIGNATURE-----