Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
smedev:dovecot [26/04/2012 22:56] dani [Installation] |
smedev:dovecot [23/11/2013 19:40] (Version actuelle) dani [Configuration] |
||
---|---|---|---|
Ligne 31: | Ligne 31: | ||
- | This project is in early beta stage. We're using it on a small site (~10 users) and it seems to be working fine, but please, don't run this yet on production server. | + | This project is in beta stage. We're using it on about 10 production servers |
Ligne 40: | Ligne 40: | ||
- | * **Quota report**: if a user has a quota defined, it'll be available to IMAP clients which support it. (default to enabled). More info on this feature here: [[http:// | + | * **Quota report**: if a user has a quota defined, it'll be available to IMAP clients which support it. (default to enabled). More info on this feature here: [[http:// |
- | * **Full text indexing**: this feature allows dovecot to create full text indexes, which will make subsequent searches (TEXT and BODY) much, much faster. The downside is that it'll take extra space on the hard drive, and consume more memory and CPU (default is disabled). More info on this feature here: [[http:// | + | * **Full text indexing**: this feature allows dovecot to create full text indexes, which will make subsequent searches (TEXT and BODY) much, much faster. The downside is that it'll take extra space on the hard drive, and consume more memory and CPU (default is disabled). More info on this feature here: [[http:// |
- | * **Master user**: if enabled, the admin user will be able to login on the IMAP server as any user. For example, use user1< | + | * **Master user**: if enabled, the admin user will be able to login on the IMAP server as any user. For example, use user1< |
- | * **Shared Mailboxes and IMAP ACL**: this feature | + | * **Shared Mailboxes and IMAP ACL**: this feature |
- | * **Extra logging**: The default dovecot log level is appropriate for high trafic installation: | + | * **Extra logging**: The default dovecot log level is appropriate for high trafic installation: |
- | * **Sieve scripts and manage sieve daemon**: this feature adds sieve scripts support. Sieve is a script language for server side mail processing when mails arrive in your mailbox. With this, you can create filters, reject mails with a custom message, configure a vacation message, forward some mails etc…. These features are often available on mail clients (Outlook, Thunderbird, | + | * **Sieve scripts and manage sieve daemon**: this feature adds sieve scripts support. Sieve is a script language for server side mail processing when mails arrive in your mailbox. With this, you can create filters, reject mails with a custom message, configure a vacation message, forward some mails etc…. These features are often also available on mail clients (Outlook, Thunderbird, |
===== Installation ===== | ===== Installation ===== | ||
Ligne 59: | Ligne 59: | ||
GPGKey http:// | GPGKey http:// | ||
Visible yes status disabled | Visible yes status disabled | ||
+ | |||
db yum_repositories set atrpms-testing repository \ | db yum_repositories set atrpms-testing repository \ | ||
- | BaseURL http:// | + | BaseURL |
EnableGroups yes \ | EnableGroups yes \ | ||
GPGCheck yes \ | GPGCheck yes \ | ||
Ligne 67: | Ligne 68: | ||
Visible no \ | Visible no \ | ||
status disabled \ | status disabled \ | ||
- | IncludePkgs ' | + | IncludePkgs ' |
Priority 9 | Priority 9 | ||
+ | |||
/ | / | ||
Name ' | Name ' | ||
- | BaseURL ' | + | BaseURL ' |
EnableGroups no \ | EnableGroups no \ | ||
GPGCheck yes \ | GPGCheck yes \ | ||
Ligne 81: | Ligne 83: | ||
librpm4, | librpm4, | ||
libacl, | libacl, | ||
- | gd, | + | gd, |
status disabled | status disabled | ||
signal-event yum-modify | signal-event yum-modify | ||
</ | </ | ||
+ | |||
+ | |||
+ | <hidden iPasserelle config> iPasserelle needs a specific repo config as it uses additionnal repo with different priorities | ||
+ | |||
+ | |||
+ | <code bash> | ||
+ | |||
+ | db yum_repositories set atrpms-testing-dovecot repository \ | ||
+ | Name ' | ||
+ | BaseURL ' | ||
+ | EnableGroups no \ | ||
+ | GPGCheck yes \ | ||
+ | GPGKey http:// | ||
+ | Visible no \ | ||
+ | Priority 8 \ | ||
+ | IncludePkgs dovecot-managesieve, | ||
+ | status enabled | ||
+ | |||
+ | signal-event yum-modify | ||
+ | </ | ||
+ | |||
+ | |||
+ | </ | ||
Ligne 91: | Ligne 116: | ||
<code bash> | <code bash> | ||
- | yum --enablerepo=fws-testing --enablerepo=atrpms-testing --enablerepo=atroms | + | yum --enablerepo=fws-testing --enablerepo=atrpms-testing --enablerepo=atrpms |
</ | </ | ||
Ligne 98: | Ligne 123: | ||
- | <code bash># | + | <code bash> |
+ | # | ||
# BE CAREFUL WHEN MODIFYING THIS FILE! It is updated automatically | # BE CAREFUL WHEN MODIFYING THIS FILE! It is updated automatically | ||
# by the SME server software. A few entries are updated during | # by the SME server software. A few entries are updated during | ||
Ligne 121: | Ligne 147: | ||
- | This should already be the case if you have installed the **smeserver-shared-folders** | + | This should already be the case if you have installed the [[http:// |
Ligne 139: | Ligne 165: | ||
- | * imap and imaps are used to be backward compatible with e-smith-imap (and are used to control the TCPPort of the service, and if it's accessible from local network or from the internet) | + | |
* There' | * There' | ||
- | * dovecot is now the main service entry in the configuration DB. It's used to control various optional features of dovecot | + | |
- | * sieve is used to control the managesieve service. Set the status of this service to disabled if you don't want to use the managesieve service | + | |
Ligne 148: | Ligne 174: | ||
- | * **AdminIsMaster** | + | * **AdminIsMaster** |
- | * **FullTextIndexing** | + | * **FullTextIndexing** |
- | * **LogActions** | + | * **LogActions** |
- | * **Quotas** | + | * **Quotas** |
- | * **SharedMailbox** | + | * **SharedMailbox** |
After you've configured the prop like you want, just run | After you've configured the prop like you want, just run | ||
Ligne 162: | Ligne 188: | ||
To apply the new settings | To apply the new settings | ||
+ | |||
==== Sieve and dovecot-lda ==== | ==== Sieve and dovecot-lda ==== | ||
Ligne 189: | Ligne 216: | ||
<code bash> | <code bash> | ||
db configuration setprop dovecot SharedMailbox enabled | db configuration setprop dovecot SharedMailbox enabled | ||
+ | signal-event email-update | ||
</ | </ | ||
- | When this feature is enabled, | + | When this feature is enabled, a special group named sharedmailbox (automatically created during install) will have: |
Ligne 205: | Ligne 233: | ||
- | Once enabled, you can grant different access level (read, post, delete, change flags, create sub folders etc.) to other users, or group of users to some, or all of your mailbox. | + | Once enabled, you can grant different access level (read, post, delete, change flags, create sub folders etc.) to other users, or group of users on your IMAP folders. |
- | This feature is not enabled on a default install because, in theroy, a flaw in dovecot could allow a user to access other usersmailboxes (but dovecot is a quite secure piece of software ;-) ) | ||
===== SOGo integration ===== | ===== SOGo integration ===== |