{{tag>Brouillon}}
= IMAP dossier partage
**Brouillon**
Dossier IMAP partagé
Voir :
* http://www.iredmail.org/docs/mailbox.sharing.html
''/etc/dovecot/conf.d/10-mail.conf''
mail_plugins = acl
Ajouter **imap_acl** à la fin de la ligne
''/etc/dovecot/conf.d/20-imap.conf''
mail_plugins = $mail_plugins imap_acl
Décommenter
''/etc/dovecot/conf.d/90-acl.conf''
plugin {
acl = vfile:/etc/dovecot/global-acls:cache_secs=300
}
# To let users LIST mailboxes shared by other users, Dovecot needs a
# shared mailbox dictionary. For example:
plugin {
acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes
}
service dovecot restart
''/etc/letsencrypt/cli.ini''
# Source : https://gist.github.com/mrothNET/cb6f313e9cbe896f3e0fdec80ad2f3fa
# Manage Firewall
#pre-hook = ufw allow http
#post-hook = ufw deny http
# Restart Postfix & Dovecot
renew-hook = systemctl restart dovecot.service postfix.service
Astuce : Si **rlwrap** installé, préfixer votre commande par rlwrap. Il sera plus aissé de rapeller les commandes via fleche du haut
#rlwrap nc localhost 143
#telnet localhost 143
nc localhost 143
**rli** pour read (r), lookup (l) et insert (i)
. login user P@ssw0rd
. SETACL Sent paul rli