5/31/2023 0 Comments Dsync folder sync![]() Furthermore, the configuration makes sure that each user becomes subscribed to the mailbox whenever the users check their E-Mail. ![]() "Mailboxes" (containing several mails/messages) can then be placed under /var/mail/public and offered to users as read-only. The following example creates a public mailbox in mbox format at /var/mail/public/ whilst retaining "Seen" flags for each user under their home directory at ~/.support. For instance, company news, mail orders, server settings, or various notifications could be stored inside the mail server itself and conveniently accessed by all users. Sometimes it is useful to have a public mailbox that is accessible by all users where messages can be placed that are of public interest. In that case you would issue:ĭsync -u username mirror -m maps mbox:~ /mail: INBOX= /var /mail /usernameĪutomatically Create Folders for Compatibility Suppose you want to synchronize a folder named maps and that you have a mbox mailbox at ~/mail containing, amongst others, the maps folder. Sometimes folders fail to sync with dsync - if so, you may manually want to synchronize a folder without synchronizing the entire mailbox. Where username is the name of the user whose mailbox is to be synchronised. In the Dovecot configuration ( /etc/dovecot/conf.d/nf on Debian) and set the separator:Īfter which for every mailbox / user to migrate, you would run the command:ĭsync -u username mirror mbox:~ /mail: INBOX= /var /mail /username As Dovecot supports multiple mailbox formats, it is useful to be able to convert or synchronise between them.įor example, to convert from mbox to Maildir, you would set:
0 Comments
Leave a Reply. |