From 83f1eb6271cda707df6f25e47eca5f504a4cf181 Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Thu, 14 Jul 2016 10:16:16 +0800 Subject: [PATCH] Tip: how to share someone's mailbox as public folder. --- en_US/howto/enable.dnsbl.md | 2 +- en_US/howto/public.folder.md | 17 +++++++++++++++++ html/enable.dnsbl.html | 4 ++-- html/public.folder.html | 13 +++++++++++++ 4 files changed, 33 insertions(+), 3 deletions(-) diff --git a/en_US/howto/enable.dnsbl.md b/en_US/howto/enable.dnsbl.md index c851dd19..bc303c4e 100644 --- a/en_US/howto/enable.dnsbl.md +++ b/en_US/howto/enable.dnsbl.md @@ -1,6 +1,6 @@ # Enable DNSBL service in Postfix to reduce spam -!!! note "Important Note" +!!! attention If you're running a high-traffic mail server, you'd better setup a local DNS server to cache DNS queries, because free RBL services like diff --git a/en_US/howto/public.folder.md b/en_US/howto/public.folder.md index c725e552..1a3997e0 100644 --- a/en_US/howto/public.folder.md +++ b/en_US/howto/public.folder.md @@ -208,6 +208,23 @@ echo 'anyone lr' >> /var/vmail/public/.TestFolder/dovecot-acl doveadm -D acl ... ``` +## Use someone's mailbox as public folder + +If you want to use someone's mailbox as public folder, here's a simplest way to +achieve it. + +Let's say you want to share user `public@domain.com`'s mailbox as public folder +`PublicMailbox`, +and its maildir path is +`/var/vmail/vmail1/domain.com/p/u/b/public-20160714100502/Maildir/`. What you +need to do is just creating a symbol link to this maildir path like this: + +``` +ln -s /var/vmail/vmail1/domain.com/p/u/b/public-20160714100502/Maildir /var/vmail/public/.PublicMailbox +``` + +Note: there's a dot prepended in public mailbox name. + ## References * Dovecot official documents: diff --git a/html/enable.dnsbl.html b/html/enable.dnsbl.html index bf59b1fa..447a75b5 100644 --- a/html/enable.dnsbl.html +++ b/html/enable.dnsbl.html @@ -16,8 +16,8 @@ iRedMail   //  Document Index

Enable DNSBL service in Postfix to reduce spam

-
-

Important Note

+
+

Attention

If you're running a high-traffic mail server, you'd better setup a local DNS server to cache DNS queries, because free RBL services like zen.spamhaus.org may improperly reply if your server exceed the DNS diff --git a/html/public.folder.html b/html/public.folder.html index 9d7c48ef..cad62ef8 100644 --- a/html/public.folder.html +++ b/html/public.folder.html @@ -23,6 +23,7 @@

  • Manage Access Control with doveadm
  • Manage Access Control manually
  • Troubleshooting
  • +
  • Use someone's mailbox as public folder
  • References
  • See Also
  • @@ -207,6 +208,18 @@ permissions:

    doveadm -D acl ...
     
    +

    Use someone's mailbox as public folder

    +

    If you want to use someone's mailbox as public folder, here's a simplest way to +achieve it.

    +

    Let's say you want to share user public@domain.com's mailbox as public folder +PublicMailbox, +and its maildir path is +/var/vmail/vmail1/domain.com/p/u/b/public-20160714100502/Maildir/. What you +need to do is just creating a symbol link to this maildir path like this:

    +
    ln -s /var/vmail/vmail1/domain.com/p/u/b/public-20160714100502/Maildir /var/vmail/public/.PublicMailbox
    +
    + +

    Note: there's a dot prepended in public mailbox name.

    References