tachtler:dovecot_migration_-_cyrus2dovecot
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
tachtler:dovecot_migration_-_cyrus2dovecot [2014/04/25 13:44] – [Übertrag Dovecot-Server] klaus | tachtler:dovecot_migration_-_cyrus2dovecot [2018/08/22 11:00] (aktuell) – [Dovecot Migration - cyrus2dovecot] klaus | ||
---|---|---|---|
Zeile 5: | Zeile 5: | ||
:!: **HINWEIS** - **Die Nachfolgende Konfiguration von [[http:// | :!: **HINWEIS** - **Die Nachfolgende Konfiguration von [[http:// | ||
* **[[tachtler: | * **[[tachtler: | ||
+ | * **[[tachtler: | ||
[[http:// | [[http:// | ||
Zeile 1791: | Zeile 1792: | ||
drwx------ | drwx------ | ||
drwx------ | drwx------ | ||
- | drwx------ | + | drwx------ |
drwx------ | drwx------ | ||
</ | </ | ||
Zeile 1815: | Zeile 1816: | ||
<code ini> | <code ini> | ||
# / | # / | ||
- | cyrus2dovecot [klaus]: (warning) Skipping | + | cyrus2dovecot [klaus]: (warning) Skipping |
cyrus2dovecot [klaus]: (warning) Skipping INBOX/ | cyrus2dovecot [klaus]: (warning) Skipping INBOX/ | ||
cyrus2dovecot [klaus]: (warning) Skipping Sent/ | cyrus2dovecot [klaus]: (warning) Skipping Sent/ | ||
Zeile 1898: | Zeile 1899: | ||
drwxr-xr-x | drwxr-xr-x | ||
drwxr-xr-x | drwxr-xr-x | ||
- | drwxr-xr-x | + | drwxr-xr-x |
-rw-r--r-- | -rw-r--r-- | ||
drwxr-xr-x | drwxr-xr-x | ||
Zeile 1956: | Zeile 1957: | ||
</ | </ | ||
- | :!: **WICHTIG** - Nachfolgend müssen **__nach__** dem entpacken noch die Besitzrechte | + | :!: **WICHTIG** - Nachfolgend müssen **__nach__** dem entpacken noch die **Besitzrechte** und die **Dateirechte** angepasst |
Nachfolgendes Beispiel setzt voraus, dass ein **Authentifizierungsbenutzer** wie unter nachfolgendem internen Link beschrieben | Nachfolgendes Beispiel setzt voraus, dass ein **Authentifizierungsbenutzer** wie unter nachfolgendem internen Link beschrieben | ||
* [[tachtler: | * [[tachtler: | ||
+ | * [[tachtler: | ||
verwendet wird. | verwendet wird. | ||
Zeile 1974: | Zeile 1976: | ||
< | < | ||
# chmod -R o-rx / | # chmod -R o-rx / | ||
+ | </ | ||
+ | < | ||
# chmod -R g-rx / | # chmod -R g-rx / | ||
</ | </ | ||
Zeile 1982: | Zeile 1986: | ||
total 4 | total 4 | ||
drwx------ 30 vmail vmail 4096 Apr 24 18:04 Maildir | drwx------ 30 vmail vmail 4096 Apr 24 18:04 Maildir | ||
+ | </ | ||
+ | < | ||
# ls -la / | # ls -la / | ||
total 112 | total 112 | ||
Zeile 1992: | Zeile 1998: | ||
drwx------ | drwx------ | ||
drwx------ | drwx------ | ||
- | drwx------ | + | drwx------ |
-rw------- | -rw------- | ||
drwx------ | drwx------ | ||
drwx------ | drwx------ | ||
</ | </ | ||
+ | |||
+ | ===== Neustart ===== | ||
+ | |||
+ | Bevor der der '' | ||
+ | < | ||
+ | # doveconf -n | ||
+ | # 2.2.10: / | ||
+ | # OS: Linux 2.6.32-431.11.2.el6.x86_64 x86_64 CentOS release 6.5 (Final) | ||
+ | auth_debug = yes | ||
+ | auth_master_user_separator = * | ||
+ | auth_mechanisms = plain digest-md5 cram-md5 login | ||
+ | auth_verbose = yes | ||
+ | listen = * | ||
+ | mail_debug = yes | ||
+ | mail_location = maildir: | ||
+ | mail_plugins = " quota acl zlib mail_log notify" | ||
+ | managesieve_notify_capability = mailto | ||
+ | managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress | ||
+ | comparator-i; | ||
+ | mailbox date ihave | ||
+ | mbox_write_locks = fcntl | ||
+ | namespace { | ||
+ | list = children | ||
+ | location = maildir: | ||
+ | prefix = shared/%%u/ | ||
+ | separator = / | ||
+ | subscriptions = yes | ||
+ | type = shared | ||
+ | } | ||
+ | namespace inbox { | ||
+ | inbox = yes | ||
+ | location = | ||
+ | mailbox Drafts { | ||
+ | auto = subscribe | ||
+ | special_use = \Drafts | ||
+ | } | ||
+ | mailbox Junk { | ||
+ | auto = subscribe | ||
+ | special_use = \Junk | ||
+ | } | ||
+ | mailbox Sent { | ||
+ | auto = subscribe | ||
+ | special_use = \Sent | ||
+ | } | ||
+ | mailbox "Sent Messages" | ||
+ | special_use = \Sent | ||
+ | } | ||
+ | mailbox Trash { | ||
+ | auto = subscribe | ||
+ | special_use = \Trash | ||
+ | } | ||
+ | prefix = INBOX/ | ||
+ | separator = / | ||
+ | } | ||
+ | passdb { | ||
+ | args = / | ||
+ | driver = passwd-file | ||
+ | master = yes | ||
+ | pass = yes | ||
+ | } | ||
+ | passdb { | ||
+ | args = / | ||
+ | driver = sql | ||
+ | } | ||
+ | plugin { | ||
+ | acl = vfile | ||
+ | acl_shared_dict = file:/ | ||
+ | mail_log_fields = uid box msgid size from | ||
+ | quota = maildir: | ||
+ | quota_grace = 10%% | ||
+ | quota_rule = *: | ||
+ | quota_rule2 = INBOX/ | ||
+ | quota_status_nouser = DUNNO | ||
+ | quota_status_overquota = 552 5.2.2 Mailbox is over quota | ||
+ | quota_status_success = DUNNO | ||
+ | quota_warning = storage=95%% quota-warning 95 %u | ||
+ | quota_warning2 = storage=80%% quota-warning 80 %u | ||
+ | sieve = ~/ | ||
+ | sieve_dir = ~/sieve | ||
+ | zlib_save = gz | ||
+ | zlib_save_level = 6 | ||
+ | } | ||
+ | protocols = imap lmtp sieve | ||
+ | service auth { | ||
+ | unix_listener auth-userdb { | ||
+ | group = vmail | ||
+ | user = vmail | ||
+ | } | ||
+ | } | ||
+ | service imap-login { | ||
+ | process_min_avail = 1 | ||
+ | service_count = 0 | ||
+ | } | ||
+ | service lmtp { | ||
+ | inet_listener lmtp { | ||
+ | address = 192.168.0.80 | ||
+ | port = 24 | ||
+ | } | ||
+ | } | ||
+ | service managesieve-login { | ||
+ | inet_listener sieve { | ||
+ | port = 4190 | ||
+ | } | ||
+ | inet_listener sieve_deprecated { | ||
+ | port = 2000 | ||
+ | } | ||
+ | } | ||
+ | service quota-status { | ||
+ | client_limit = 1 | ||
+ | executable = quota-status -p postfix | ||
+ | inet_listener { | ||
+ | address = 192.168.0.80 | ||
+ | port = 12340 | ||
+ | } | ||
+ | } | ||
+ | service quota-warning { | ||
+ | executable = script / | ||
+ | user = vmail | ||
+ | } | ||
+ | ssl_cert = </ | ||
+ | ssl_cipher_list = ECDHE-RSA-AES128-GCM-SHA256: | ||
+ | ssl_key = </ | ||
+ | ssl_prefer_server_ciphers = yes | ||
+ | ssl_protocols = !SSLv2 !SSLv3 | ||
+ | userdb { | ||
+ | driver = prefetch | ||
+ | } | ||
+ | userdb { | ||
+ | args = / | ||
+ | driver = sql | ||
+ | } | ||
+ | verbose_proctitle = yes | ||
+ | protocol lmtp { | ||
+ | mail_plugins = " quota acl zlib mail_log notify sieve" | ||
+ | } | ||
+ | protocol imap { | ||
+ | mail_max_userip_connections = 30 | ||
+ | mail_plugins = " quota acl zlib mail_log notify imap_quota imap_acl imap_zlib" | ||
+ | } | ||
+ | protocol sieve { | ||
+ | mail_max_userip_connections = 30 | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | :!: **HINWEIS** - **die Konfiguration des '' | ||
+ | |||
+ | Danach kann der **dovecot**-Server mit nachfolgendem Befehle **neu** gestartet werden: | ||
+ | < | ||
+ | # service dovecot restart | ||
+ | Stopping Dovecot Imap: | ||
+ | Starting Dovecot Imap: | ||
+ | </ | ||
+ | |||
+ | ==== Login-Test mit telnet ==== | ||
+ | |||
+ | Um zu Überprüfen, | ||
+ | <code ini> | ||
+ | # telnet 192.168.0.80 143 | ||
+ | Trying 192.168.0.80... | ||
+ | Connected to 192.168.0.80. | ||
+ | Escape character is ' | ||
+ | * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=DIGEST-MD5 | ||
+ | AUTH=CRAM-MD5 AUTH=LOGIN] Dovecot ready. | ||
+ | a1 login klaus@tachtler.net geheim | ||
+ | a1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY | ||
+ | THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN | ||
+ | NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH | ||
+ | LIST-STATUS SPECIAL-USE BINARY MOVE COMPRESS=DEFLATE QUOTA ACL RIGHTS=texk] Logged in | ||
+ | a2 list "" | ||
+ | * LIST (\HasChildren) "/" | ||
+ | * LIST (\HasNoChildren \Junk) "/" | ||
+ | * LIST (\HasNoChildren \Sent) "/" | ||
+ | * LIST (\HasNoChildren \Trash) "/" | ||
+ | * LIST (\HasNoChildren \Drafts) "/" | ||
+ | a2 OK List completed. | ||
+ | a3 logout | ||
+ | * BYE Logging out | ||
+ | a3 OK Logout completed. | ||
+ | Connection closed by foreign host. | ||
+ | </ | ||
+ | |||
+ | **__Erforderliche Benutzereingaben__**: | ||
+ | - <code ini> | ||
+ | - <code ini>a1 login klaus@tachtler.net geheim</ | ||
+ | - <code ini>a2 list "" | ||
+ | - <code ini>a3 logout</ | ||
tachtler/dovecot_migration_-_cyrus2dovecot.1398426285.txt.gz · Zuletzt geändert: 2014/04/25 13:44 von klaus