NethServer Version: 8
Module: imapsync
Is there any way to use Imapsync to sync mail to a “Public mailbox”? Seems in the UI you can only configure a user to sync to.
If not, is there any other (documented) way to achieve this?
NethServer Version: 8
Module: imapsync
Is there any way to use Imapsync to sync mail to a “Public mailbox”? Seems in the UI you can only configure a user to sync to.
If not, is there any other (documented) way to achieve this?
NS8 supports custom imapsync scripts. This way it should be possible to configure imapsync to sync mails to a public mailbox.
See also the imapsync documentation.
Is it possible to use a sieve filter for that, as alternative?
The destination account should be granted write access to the public folder.
Yes, using a sieve filter is a great idea and just works. This way everything can be managed from cluster-admin UI and just NS8 base apps are used.
I created a user fetchinguser which is granted access (full control) to the public mailbox “publicmailbox1”:
In Roundcube I created a sieve filter for the fetchinguser to move all mails that are no duplicates to the publicmailbox1:
In Imapsync I setup a task that syncs mails from my mailserver to the fetchinguser mailbox and enabled sieve processing, see also Imapsync — NS8 documentation
Now the mails from the mailservers “markus” mailbox are synced to the public mail folder publicmailbox1.