From 1eaf765aeb68bd3eea5ff49857c6dc16840c8b84 Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Tue, 30 Jun 2015 20:32:44 +0800 Subject: [PATCH] Auto create 'Archive' folder with Dovecot-2.2.x. --- html/css/markdown.css | 6 ++- html/upgrade.iredmail.0.9.2-0.9.3.html | 47 ++++++++++++++++++++ upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md | 54 +++++++++++++++++++++++ 3 files changed, 106 insertions(+), 1 deletion(-) diff --git a/html/css/markdown.css b/html/css/markdown.css index 33938839..e2f19a9d 100644 --- a/html/css/markdown.css +++ b/html/css/markdown.css @@ -248,7 +248,7 @@ button::-moz-focus-inner { pre, code { background: #f5f5f5; border: 1px solid #ccc; - border-radius: 3px; + /*border-radius: 3px;*/ overflow-x: auto; padding: 5px 10px 5px 10px; word-wrap: normal; @@ -301,3 +301,7 @@ pre>code { } th { font-style: bold; text-align: left; } + +/* +code.bash { background-color: green; color: white; } +*/ diff --git a/html/upgrade.iredmail.0.9.2-0.9.3.html b/html/upgrade.iredmail.0.9.2-0.9.3.html index a0b4fb29..3e812620 100644 --- a/html/upgrade.iredmail.0.9.2-0.9.3.html +++ b/html/upgrade.iredmail.0.9.2-0.9.3.html @@ -19,6 +19,7 @@
  • Update /etc/iredmail-release with new iRedMail version number
  • Upgrade iRedAPD (Postfix policy server) to the latest 1.7.0
  • Upgrade Roundcube webmail to the latest stable release
  • +
  • Dovecot-2.2: Add more special folders as alias folders
  • [OPTIONAL] Fixed: Not preserve the case of ${extension} while delivering message to mailbox
  • @@ -32,6 +33,7 @@

    We provide remote upgrade service, check the price and contact us.

    General (All backends should apply these steps)

    @@ -51,6 +53,51 @@ so that you can know which version of iRedMail you're running. For example:

    Upgrade Roundcube webmail to the latest stable release

    Please follow Roundcube official tutorial to upgrade Roundcube webmail to the latest stable release immediately: How to upgrade Roundcube

    +

    Dovecot-2.2: Add more special folders as alias folders

    +

    Note: This is applicable to Dovecot-2.2.x. if you're running Dovecot-2.1.x or +earlier versions, please skip this step. Check Dovecot version number with +below command:

    +
    # dovecot --version
    +
    + +

    Open Dovecot config file /etc/dovecot/dovecot.conf (Linux/OpenBSD) or +/usr/local/etc/dovecot/dovecot.conf (FreeBSD), find below setting:

    +
    namespace {
    +    type = private
    +    ...
    +    inbox = yes
    +    ...
    +}
    +
    + +

    Add below alias folders inside the same namespace {} block:

    +
        mailbox "Sent Items" {
    +        auto = no
    +        special_use = \Sent
    +    }
    +
    +    mailbox "Deleted Messages" {
    +        auto = no
    +        special_use = \Trash
    +    }
    +
    +    mailbox "Deleted Messages" {
    +        auto = no
    +        special_use = \Trash
    +    }
    +
    +    # Archive
    +    mailbox Archive {
    +        auto = subscribe
    +        special_use = \Archive
    +    }
    +    mailbox Archives {
    +        auto = no
    +        special_use = \Archive
    +    }
    +
    + +

    Restart Dovecot service is required.

    [OPTIONAL] Fixed: Not preserve the case of ${extension} while delivering message to mailbox

    With iRedMail-0.9.2 and earlier releases, email sent to user username+Ext@domain.com (upper case E) will be delivered to folder diff --git a/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md b/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md index bc8b2ef3..64bc74cf 100644 --- a/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md +++ b/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md @@ -8,6 +8,7 @@ __This is still a DRAFT document, do NOT apply it.__ > We provide remote upgrade service, check [the price](../support.html) and [contact us](../contact.html). +* 2015-06-30: Dovecot-2.2: Add more special folders as alias folders. * 2015-06-09: [OPTIONAL] Fixed: Not preserve the case of `${extension}` while delivering message to mailbox. ## General (All backends should apply these steps) @@ -36,6 +37,59 @@ Detailed release notes are available here: [iRedAPD release notes](./iredapd.rel Please follow Roundcube official tutorial to upgrade Roundcube webmail to the latest stable release immediately: [How to upgrade Roundcube](http://trac.roundcube.net/wiki/Howto_Upgrade) +### Dovecot-2.2: Add more special folders as alias folders + +Note: This is applicable to Dovecot-2.2.x. if you're running Dovecot-2.1.x or +earlier versions, please skip this step. Check Dovecot version number with +below command: + +```bash +# dovecot --version +``` + +Open Dovecot config file `/etc/dovecot/dovecot.conf` (Linux/OpenBSD) or +`/usr/local/etc/dovecot/dovecot.conf` (FreeBSD), find below setting: + +``` +namespace { + type = private + ... + inbox = yes + ... +} +``` + +Add below alias folders inside the same `namespace {}` block: + +``` + mailbox "Sent Items" { + auto = no + special_use = \Sent + } + + mailbox "Deleted Messages" { + auto = no + special_use = \Trash + } + + mailbox "Deleted Messages" { + auto = no + special_use = \Trash + } + + # Archive + mailbox Archive { + auto = subscribe + special_use = \Archive + } + mailbox Archives { + auto = no + special_use = \Archive + } +``` + +Restart Dovecot service is required. + ### [OPTIONAL] Fixed: Not preserve the case of `${extension}` while delivering message to mailbox With iRedMail-0.9.2 and earlier releases, email sent to user