1

Topic: Cannot share Inbox/Posta in Arrivo

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version 1.6.2
- Deployed via downloadable installer
- Debian 11
- Store mail accounts in mysql
- Web server Nginx
- Manage mail accounts with iRedAdmin-Pro? No
====
I have a problem sharing IMAP mailboxes' folders (through the roundcube plug-in)

Let's get an e-mail ingrita@posta.locale with
Inbox (Posta in arrivo) 1.jpg,
Sent (Inviata) 2.jpg and
Trash (Cestino) 3.jpg

that I want to share with annalisa@posta.locale

So far, so good

BUT the annalisa@posta.locale (4.jpg) only gets Sent and Trash, no Inbox (Posta in arrivo)

Could it be a "translation" problem?
Aka the "Posta in arrivo" (inbox) is somehow... lost?

How can I correct it?
Thank you for any response

Post's attachments

1.jpg 101.41 kb, file has never been downloaded. 

2.jpg 91.48 kb, file has never been downloaded. 

3.jpg
3.jpg 64.33 kb, file has never been downloaded. 

4.jpg
4.jpg 22.11 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by fcorbelli 2024-06-12 21:18:47)

Re: Cannot share Inbox/Posta in Arrivo

The final goal is to get in Thunderbird the shared folders (5.jpg)

In annalisa@posta.locale => shared => ingrita@posta.locale I get only Sent (Inviata) and Trash (Cestino) but not Inbox (Posta in Arrivo)

Maybe I am doing something wrong, but having shared three folders with the same method, but only two work, I don't know what to do
roll

Post's attachments

5.jpg
5.jpg 45.49 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

3

Re: Cannot share Inbox/Posta in Arrivo

I'm afraid that i cannot help much since all text are in Italian(?) sad

4 (edited by fcorbelli 2024-06-14 14:55:57)

Re: Cannot share Inbox/Posta in Arrivo

ZhangHuangbin wrote:

I'm afraid that i cannot help much since all text are in Italian(?) sad

Yes, they are right in Italian, and I think (or at least suspect) that the problem is right there
Let me try to summarize succinctly

I want to share the INBOX folder of the PIPPO email (which in Italian is called Posta in Arrivo) with the PLUTO email, nothing more complex
This is through the roundcube plugin (aka: the "web" GUI)
I can use the doveadm (if necessary) via a ssh connection to the Linux server

After entering on PIPPO email (from roundcube) I go to
"Settings" (on the left side panel), then
"Folders" (in the Settings panel) then
Inbox (on the 3rd panel, the IMAP's folder list)
getting a 4th panel, "Location"
Now there is a list (Sharing)
Clicking on "+ Add" ON THE INBOX
Now there is  "add entry" requester
In the identifier (user) I put the requested e-mail, then Save

Now, in the "Sharing", the new identifier is shown

So far so good.

But this will NOT work
Inside PLUTO's Shared the INBOX (of PIPPO) is not present

---
If I make the exact same sequence with others folders (for example, SENT or Inviati) everything works fine (PLUTO shared will report PIPPO's Sent)

So (I believe) that I am not getting the procedure wrong but that, somehow, the "real" INBOX folder becomes "Posta in Arrivo" (translated from the localization) and this "confuses" (messes) everything (just a guess)


Or, more simply, it is not possible to share the INBOX folder between two email accounts
Thanks for the help

Post's attachments

engli.jpg 153.05 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

5

Re: Cannot share Inbox/Posta in Arrivo

Those are the folders of the "master" (to be shared)
Note INBOX

root@posta:~# dovecot mailbox list -u ingrita@posta.locale
Templates
Junk
SPAM
Archives
Archives/2024
Archives/2023
Archives/2023/2024
Archives/2022
Archives/2021
Archives/2021/2017
Archives/2020
Archives/2019
Archives/2018
Trash
Trash/Trash
Trash/2023
Trash/2023/2024
Trash/2022
Trash/2021
Trash/2021/2017
Trash/2020
Trash/2019
Trash/2018
Sent
Sent/popstate-5
Sent/popstate-5/dat
Sent/popstate-5/dat/Trash
Sent/2005
Sent/2005/04-Apr
Sent/2004
Sent/2004/01-Jan
Drafts
INBOX/Trash
INBOX

6

Re: Cannot share Inbox/Posta in Arrivo

Those are the "slave", with shared Trash and Sent, but NO shared INBOX

root@posta:~# dovecot mailbox list -u annalisa@posta.locale
Trash
Junk
Sent
Drafts
Shared
Shared/ingrita@posta.locale
Shared/ingrita@posta.locale/Trash
Shared/ingrita@posta.locale/Trash/Trash
Shared/ingrita@posta.locale/Trash/2018
Shared/ingrita@posta.locale/Trash/2020
Shared/ingrita@posta.locale/Trash/2022
Shared/ingrita@posta.locale/Trash/2019
Shared/ingrita@posta.locale/Trash/2021
Shared/ingrita@posta.locale/Trash/2021/2017
Shared/ingrita@posta.locale/Trash/2023
Shared/ingrita@posta.locale/Trash/2023/2024
Shared/ingrita@posta.locale/Sent
Shared/segreteria@posta.locale
INBOX

7 (edited by fcorbelli 2024-06-14 15:06:47)

Re: Cannot share Inbox/Posta in Arrivo

Now look at the very first INBOX is in namespace Shared/ingrita@posta.locale
Good.
But WHY I cannot see the e-mails?
The Shared/ingrita@posta.locale is "inclicable"

root@posta:~# doveadm acl debug -u annalisa@posta.locale Shared/ingrita@posta.locale
doveadm(annalisa@posta.locale): Info: Mailbox 'INBOX' is in namespace 'Shared/ingrita@posta.locale/'
doveadm(annalisa@posta.locale): Info: Mailbox path: /vmail/vmail1/posta.locale/i/n/g/ingrita-2023.08.10.13.20.48//Maildir
doveadm(annalisa@posta.locale): Info: All message flags are shared across users in mailbox
doveadm(annalisa@posta.locale): Info: User annalisa@posta.locale has rights: lookup read write-seen
doveadm(annalisa@posta.locale): Info: Mailbox found from dovecot-acl-list
doveadm(annalisa@posta.locale): Info: User ingrita@posta.locale found from ACL shared dict
doveadm(annalisa@posta.locale): Info: Mailbox Shared/ingrita@posta.locale is visible in LIST

Post's attachments

inbox.jpg
inbox.jpg 40.25 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

8

Re: Cannot share Inbox/Posta in Arrivo

https://forum.iredmail.org/post51747.html

9

Re: Cannot share Inbox/Posta in Arrivo

fcorbelli wrote:

Or, more simply, it is not possible to share the INBOX folder between two email accounts

It's ok to share INBOX.

Does it work if you share INBOX with dovecot command line tool?

10 (edited by fcorbelli 2024-06-14 18:01:22)

Re: Cannot share Inbox/Posta in Arrivo

ZhangHuangbin wrote:
fcorbelli wrote:

Or, more simply, it is not possible to share the INBOX folder between two email accounts

It's ok to share INBOX.

Does it work if you share INBOX with dovecot command line tool?

I do not know how to share with command line sad

Something like

doveadm acl add -u ingrita@posta.locale INBOX "user=annalisa@posta.locale" lookup read
systemctl restart dovecot

does not work, even if

root@posta:~# doveadm acl get -u ingrita@posta.locale INBOX
ID                         Global Rights
user=annalisa@posta.locale        lookup read write-seen

?

11

Re: Cannot share Inbox/Posta in Arrivo

The "strange" thing is that INBOX seems very similar to SENT

root@posta:~# doveadm acl debug -u ingrita@posta.locale INBOX
doveadm(ingrita@posta.locale): Info: Mailbox 'INBOX' is in namespace ''
doveadm(ingrita@posta.locale): Info: Mailbox path: /vmail/vmail1/posta.locale/i/n/g/ingrita-2023.08.10.13.20.48//Maildir
doveadm(ingrita@posta.locale): Info: All message flags are shared across users in mailbox
doveadm(ingrita@posta.locale): Info: User ingrita@posta.locale has rights: lookup read write write-seen write-deleted insert post expunge create delete admin
doveadm(ingrita@posta.locale): Info: Mailbox in user's private namespace
doveadm(ingrita@posta.locale): Info: Mailbox INBOX is visible in LIST
root@posta:~# doveadm acl debug -u ingrita@posta.locale Sent
doveadm(ingrita@posta.locale): Info: Mailbox 'Sent' is in namespace ''
doveadm(ingrita@posta.locale): Info: Mailbox path: /vmail/vmail1/posta.locale/i/n/g/ingrita-2023.08.10.13.20.48//Maildir/.Sent
doveadm(ingrita@posta.locale): Info: All message flags are shared across users in mailbox
doveadm(ingrita@posta.locale): Info: User ingrita@posta.locale has rights: lookup read write write-seen write-deleted insert post expunge create delete admin
doveadm(ingrita@posta.locale): Info: Mailbox in user's private namespace
doveadm(ingrita@posta.locale): Info: Mailbox Sent is visible in LIST

Except for this

Info: Mailbox path: /vmail/vmail1/posta.locale/i/n/g/ingrita-2023.08.10.13.20.48//Maildir
Info: Mailbox path: /vmail/vmail1/posta.locale/i/n/g/ingrita-2023.08.10.13.20.48//Maildir/.Sent

Is a .Inbox missing?