Tip: how to share someone's mailbox as public folder.
This commit is contained in:
parent
d385da4eeb
commit
83f1eb6271
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
<span>iRedMail</span>
|
||||
</a>
|
||||
// <a href="./index.html">Document Index</a></div><h1 id="enable-dnsbl-service-in-postfix-to-reduce-spam">Enable DNSBL service in Postfix to reduce spam</h1>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">Important Note</p>
|
||||
<div class="admonition attention">
|
||||
<p class="admonition-title">Attention</p>
|
||||
<p>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
|
||||
<code>zen.spamhaus.org</code> may improperly reply if your server exceed the DNS
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
<li><a href="#manage-access-control-with-doveadm">Manage Access Control with doveadm</a></li>
|
||||
<li><a href="#manage-access-control-manually">Manage Access Control manually</a></li>
|
||||
<li><a href="#troubleshooting">Troubleshooting</a></li>
|
||||
<li><a href="#use-someones-mailbox-as-public-folder">Use someone's mailbox as public folder</a></li>
|
||||
<li><a href="#references">References</a></li>
|
||||
<li><a href="#see-also">See Also</a></li>
|
||||
</ul>
|
||||
|
@ -207,6 +208,18 @@ permissions:</p>
|
|||
<pre><code>doveadm -D acl ...
|
||||
</code></pre>
|
||||
|
||||
<h2 id="use-someones-mailbox-as-public-folder">Use someone's mailbox as public folder</h2>
|
||||
<p>If you want to use someone's mailbox as public folder, here's a simplest way to
|
||||
achieve it.</p>
|
||||
<p>Let's say you want to share user <code>public@domain.com</code>'s mailbox as public folder
|
||||
<code>PublicMailbox</code>,
|
||||
and its maildir path is
|
||||
<code>/var/vmail/vmail1/domain.com/p/u/b/public-20160714100502/Maildir/</code>. What you
|
||||
need to do is just creating a symbol link to this maildir path like this:</p>
|
||||
<pre><code>ln -s /var/vmail/vmail1/domain.com/p/u/b/public-20160714100502/Maildir /var/vmail/public/.PublicMailbox
|
||||
</code></pre>
|
||||
|
||||
<p>Note: there's a dot prepended in public mailbox name.</p>
|
||||
<h2 id="references">References</h2>
|
||||
<ul>
|
||||
<li>
|
||||
|
|
Loading…
Reference in New Issue