File tree Expand file tree Collapse file tree 1 file changed +23
-27
lines changed
Expand file tree Collapse file tree 1 file changed +23
-27
lines changed Original file line number Diff line number Diff line change @@ -380,7 +380,29 @@ dict_server {
380380 password = sqlpass
381381 }
382382 }
383- !include /etc/dovecot/dovecot-dict-sql.conf.inc
383+
384+ dict_map shared/shared-boxes/user/$to/$from {
385+ sql_table = user_shares
386+ value_field dummy {
387+ }
388+
389+ key_field from_user {
390+ value = $from
391+ }
392+ key_field to_user {
393+ value = $to
394+ }
395+ }
396+
397+ dict_map shared/shared-boxes/anyone/$from {
398+ sql_table = anyone_shares
399+ value_field dummy {
400+ }
401+
402+ key_field from_user {
403+ value = $from
404+ }
405+ }
384406 }
385407}
386408```
@@ -405,32 +427,6 @@ CREATE TABLE anyone_shares (
405427COMMENT ON TABLE anyone_shares IS 'User from_user shares folders to anyone.';
406428```
407429
408- ``` [/etc/dovecot/dovecot-dict-sql.conf.inc]
409- dict_map shared/shared-boxes/user/$to/$from {
410- sql_table = user_shares
411- value_field dummy {
412- }
413-
414- key_field from_user {
415- pattern = $from
416- }
417- key_field to_user {
418- pattern = $to
419- }
420- }
421-
422- dict_map shared/shared-boxes/anyone/$from {
423- sql_table = anyone_shares
424- value_field dummy {
425- }
426-
427- key_field from_user {
428- pattern = $from
429- }
430- }
431- ```
432- :::
433-
434430### Mailbox Sharing
435431
436432You can use [[ doveadm,acl]] to share mailboxes, or it can be done using
You can’t perform that action at this time.
0 commit comments