tachtler:dovecot_pigeonhole_sieve
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
tachtler:dovecot_pigeonhole_sieve [2015/05/05 09:10] – [Horde.org - ingo] klaus | tachtler:dovecot_pigeonhole_sieve [2015/07/10 15:31] (aktuell) – [Neustart] klaus | ||
---|---|---|---|
Zeile 5: | Zeile 5: | ||
:!: **HINWEIS** - **Die Nachfolgende Installation von [[http:// | :!: **HINWEIS** - **Die Nachfolgende Installation von [[http:// | ||
* **[[tachtler: | * **[[tachtler: | ||
+ | * **[[tachtler: | ||
[[http:// | [[http:// | ||
Zeile 35: | Zeile 36: | ||
* **http:// | * **http:// | ||
- | ===== Installation - ATrpms ===== | + | ===== Installation |
Bevor die Installation von [[http:// | Bevor die Installation von [[http:// | ||
Zeile 289: | Zeile 290: | ||
/ | / | ||
/ | / | ||
+ | </ | ||
+ | |||
+ | ===== Installation CentOS 7 - mailserver.guru ===== | ||
+ | |||
+ | Nachfolgend soll ein **Drittanbieter-Repository**, | ||
+ | * [[tachtler: | ||
+ | |||
+ | ==== Paket installieren ==== | ||
+ | |||
+ | Nachdem das **Drittanbieter-Repository** | ||
+ | * [[tachtler: | ||
+ | erfolgreich eingebunden wurde, kann mit nachfolgendem Befehl, das '' | ||
+ | < | ||
+ | # yum install dovecot-pigeonhole | ||
+ | Loaded plugins: changelog, priorities | ||
+ | base | 3.6 kB | ||
+ | epel | 4.4 kB | ||
+ | extras | ||
+ | mailserver.guru-os | ||
+ | updates | ||
+ | 102 packages excluded due to repository priority protections | ||
+ | Resolving Dependencies | ||
+ | --> Running transaction check | ||
+ | ---> Package dovecot-pigeonhole.x86_64 1: | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Changes in packages about to be updated: | ||
+ | |||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ================================================================================ | ||
+ | | ||
+ | ================================================================================ | ||
+ | Installing: | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ================================================================================ | ||
+ | Install | ||
+ | |||
+ | Total download size: 343 k | ||
+ | Installed size: 1.2 M | ||
+ | Is this ok [y/d/N]: y | ||
+ | Downloading packages: | ||
+ | dovecot-pigeonhole-2.2.18-1.el7.centos.x86_64.rpm | ||
+ | Running transaction check | ||
+ | Running transaction test | ||
+ | Transaction test succeeded | ||
+ | Running transaction | ||
+ | Installing : 1: | ||
+ | Verifying | ||
+ | |||
+ | Installed: | ||
+ | dovecot-pigeonhole.x86_64 1: | ||
+ | |||
+ | Complete! | ||
+ | </ | ||
+ | |||
+ | Mit nachfolgendem Befehl kann überprüft werden, welche Inhalte mit den Paket **'' | ||
+ | |||
+ | < | ||
+ | # rpm -qil dovecot-pigeonhole | ||
+ | Name : dovecot-pigeonhole | ||
+ | Epoch : 1 | ||
+ | Version | ||
+ | Release | ||
+ | Architecture: | ||
+ | Install Date: Fri 10 Jul 2015 01:58:24 PM CEST | ||
+ | Group : System Environment/ | ||
+ | Size : 1290355 | ||
+ | License | ||
+ | Signature | ||
+ | Source RPM : dovecot-2.2.18-1.el7.centos.src.rpm | ||
+ | Build Date : Thu 21 May 2015 11:17:58 PM CEST | ||
+ | Build Host : vml000200.dmz.nausch.org | ||
+ | Relocations : (not relocatable) | ||
+ | Packager | ||
+ | URL : http:// | ||
+ | Summary | ||
+ | Description : | ||
+ | This package provides sieve and managesieve plug-in for dovecot LDA. | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
</ | </ | ||
Zeile 294: | Zeile 430: | ||
==== Konfigurationsdateien ==== | ==== Konfigurationsdateien ==== | ||
+ | |||
+ | :!: **HINWEIS** - **Nur - Centos 6 - Atrpms!** | ||
Nach der erfolgreichen Installation von [[http:// | Nach der erfolgreichen Installation von [[http:// | ||
Zeile 299: | Zeile 437: | ||
# cp -a / | # cp -a / | ||
</ | </ | ||
+ | |||
+ | :!: **HINWEIS** - **Nur - Centos 6 - Atrpms!** | ||
Anschließend kann mit nachfolgendem Befehl überprüft werden, ob dies erfolgreich durchgeführt wurde: | Anschließend kann mit nachfolgendem Befehl überprüft werden, ob dies erfolgreich durchgeführt wurde: | ||
< | < | ||
- | # ll / | + | # ls -l / |
-rw-r--r-- 1 root root 2398 May 24 2013 / | -rw-r--r-- 1 root root 2398 May 24 2013 / | ||
-rw-r--r-- 1 root root 5062 Apr 7 2013 / | -rw-r--r-- 1 root root 5062 Apr 7 2013 / | ||
Zeile 329: | Zeile 469: | ||
Zusätzliche Informationen hierzu, können unter nachfolgendem internen Link nachgelesen werden | Zusätzliche Informationen hierzu, können unter nachfolgendem internen Link nachgelesen werden | ||
* [[tachtler: | * [[tachtler: | ||
+ | * [[tachtler: | ||
==== / | ==== / | ||
Zeile 351: | Zeile 492: | ||
service managesieve-login { | service managesieve-login { | ||
inet_listener sieve { | inet_listener sieve { | ||
+ | # Tachtler -new | ||
+ | address = 192.178.0.80 | ||
port = 4190 | port = 4190 | ||
} | } | ||
- | inet_listener sieve_deprecated { | + | |
- | port = 2000 | + | # |
- | } | + | |
# Number of connections to handle before starting a new process. Typically | # Number of connections to handle before starting a new process. Typically | ||
Zeile 372: | Zeile 515: | ||
</ | </ | ||
- | :!: **HINWEIS** - Es empfiehlt sich __aktuell__ | + | :!: **HINWEIS** - Es empfiehlt sich __ggf.__ |
'' | '' | ||
Zeile 433: | Zeile 576: | ||
# is also where the ManageSieve service stores the user's scripts. | # is also where the ManageSieve service stores the user's scripts. | ||
sieve_dir = ~/sieve | sieve_dir = ~/sieve | ||
+ | ... | ||
+ | </ | ||
+ | bzw. | ||
+ | <code ini> | ||
+ | ... | ||
+ | plugin { | ||
+ | # The location of the user's main Sieve script or script storage. The LDA | ||
+ | # Sieve plugin uses this to find the active script for Sieve filtering at | ||
+ | # delivery. The " | ||
+ | # :personal scripts. This is also where the ManageSieve service will store | ||
+ | # the user's scripts, if supported. | ||
+ | # | ||
+ | # Currently only the ' | ||
+ | # Other location types like ' | ||
+ | # be used as a read-only script source (). | ||
+ | # | ||
+ | # For the ' | ||
+ | # active script symlink is located. | ||
+ | # For other types: use the '; | ||
+ | # default/ | ||
+ | sieve = file: | ||
... | ... | ||
</ | </ | ||
Zeile 449: | Zeile 613: | ||
< | < | ||
# doveconf -n | # doveconf -n | ||
- | # 2.2.10: / | + | # 2.2.18: / |
- | # OS: Linux 2.6.32-431.11.2.el6.x86_64 x86_64 CentOS release | + | # Pigeonhole version 0.4.8 (0c4ae064f307+) |
+ | # OS: Linux 3.10.0-229.7.2.el7.x86_64 x86_64 CentOS | ||
auth_debug = yes | auth_debug = yes | ||
+ | auth_debug_passwords = yes | ||
auth_master_user_separator = * | auth_master_user_separator = * | ||
auth_mechanisms = plain digest-md5 cram-md5 login | auth_mechanisms = plain digest-md5 cram-md5 login | ||
auth_verbose = yes | auth_verbose = yes | ||
+ | listen = * | ||
mail_debug = yes | mail_debug = yes | ||
mail_location = maildir: | mail_location = maildir: | ||
mail_plugins = " quota acl" | mail_plugins = " quota acl" | ||
managesieve_notify_capability = mailto | managesieve_notify_capability = mailto | ||
- | managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress | + | managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i; |
- | comparator-i; | + | |
- | mailbox date ihave | + | |
mbox_write_locks = fcntl | mbox_write_locks = fcntl | ||
namespace { | namespace { | ||
Zeile 514: | Zeile 679: | ||
quota_warning = storage=95%% quota-warning 95 %u | quota_warning = storage=95%% quota-warning 95 %u | ||
quota_warning2 = storage=80%% quota-warning 80 %u | quota_warning2 = storage=80%% quota-warning 80 %u | ||
- | sieve = ~/.dovecot.sieve | + | sieve = file:~/sieve;active=~/.dovecot.sieve |
- | sieve_dir | + | |
} | } | ||
protocols = imap lmtp sieve | protocols = imap lmtp sieve | ||
Zeile 532: | Zeile 696: | ||
service managesieve-login { | service managesieve-login { | ||
inet_listener sieve { | inet_listener sieve { | ||
+ | address = 192.168.0.80 | ||
port = 4190 | port = 4190 | ||
- | } | ||
- | inet_listener sieve_deprecated { | ||
- | port = 2000 | ||
} | } | ||
} | } | ||
Zeile 548: | Zeile 710: | ||
service quota-warning { | service quota-warning { | ||
executable = script / | executable = script / | ||
+ | unix_listener quota-warning { | ||
+ | user = vmail | ||
+ | } | ||
user = vmail | user = vmail | ||
} | } | ||
ssl_cert = </ | ssl_cert = </ | ||
+ | ssl_cipher_list = ECDHE-RSA-AES128-GCM-SHA256: | ||
+ | ssl_dh_parameters_length = 2048 | ||
ssl_key = </ | ssl_key = </ | ||
+ | ssl_prefer_server_ciphers = yes | ||
ssl_protocols = !SSLv2 !SSLv3 | ssl_protocols = !SSLv2 !SSLv3 | ||
userdb { | userdb { | ||
Zeile 562: | Zeile 730: | ||
} | } | ||
protocol imap { | protocol imap { | ||
+ | mail_max_userip_connections = 10 | ||
mail_plugins = " quota acl imap_quota imap_acl" | mail_plugins = " quota acl imap_quota imap_acl" | ||
+ | } | ||
+ | protocol sieve { | ||
+ | mail_max_userip_connections = 10 | ||
} | } | ||
</ | </ | ||
Zeile 573: | Zeile 745: | ||
Stopping Dovecot Imap: | Stopping Dovecot Imap: | ||
Starting Dovecot Imap: | Starting Dovecot Imap: | ||
+ | </ | ||
+ | bzw. | ||
+ | < | ||
+ | # systemctl restart dovecot | ||
</ | </ | ||
Zeile 578: | Zeile 754: | ||
< | < | ||
# netstat -tulpen | grep dovecot | # netstat -tulpen | grep dovecot | ||
- | tcp 0 0 0.0.0.0:143 | + | tcp 0 0 0.0.0.0:993 |
- | tcp 0 0 0.0.0.0:2000 0.0.0.0: | + | tcp 0 0 0.0.0.0:143 |
- | tcp 0 0 192.168.0.80: | + | tcp 0 0 192.168.0.80: |
- | tcp 0 0 192.168.0.80: | + | tcp 0 0 192.168.0.80: |
- | tcp 0 | + | tcp 0 0 192.168.0.80:4190 0.0.0.0: |
- | tcp 0 0 0.0.0.0: | + | |
- | tcp 0 0 ::: | + | |
- | tcp 0 0 ::: | + | |
- | tcp 0 0 ::: | + | |
- | tcp 0 0 ::: | + | |
</ | </ | ||
tachtler/dovecot_pigeonhole_sieve.1430809843.txt.gz · Zuletzt geändert: 2015/05/05 09:10 von klaus