• Bez kategorii

dovecot-2.0-sieve-0.2.0

Pigeonhole – Sieve Support for Dovecot

Projekt Pigeonhole is the name of the project that adds support for the Sieve language (RFC 5228) and the ManageSieve protocol (RFC 5804) to the Dovecot Secure IMAP Server. In the literal sense, a pigeonhole is a a hole or recess inside a dovecot for pigeons to nest in. It is, however, also the name for one of a series of small, open compartments in a cabinet used for filing or sorting mail. As a verb, it describes the act of putting an item into one of those pigeonholes. The name `Pigeonhole’ therefore well describes an important part of the functionality that this project adds to Dovecot: sorting and filing e-mail messages.

Source: http://pigeonhole.dovecot.org/

Download sources, unpacking and preparing configuration script:


soft@feniks:~/dovecot% wget http://www.rename-it.nl/dovecot/2.0/dovecot-2.0-pigeonhole-0.2.0.tar.gz
soft@feniks:~/dovecot% gtar -zxf dovecot-2.0-pigeonhole-0.2.0.tar.gz
soft@feniks:~/dovecot% cp drf_sieve-1.2-0.1.17_conf drf_sieve-2.0-0.2.0_conf
soft@feniks:~/dovecot% vi drf_sieve-2.0-0.2.0_conf

Configuration and compilation with use of script:


soft@feniks:~/dovecot% ./drf_sieve-2.0-0.2.0_conf 
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12
usage: cc [ options] files.  Use 'cc -flags' for details
PATH=/usr/local/bin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/ucb
CFLAGS=-xtarget=native -xO3 -xautopar
CPPFLAGS=-I/usr/local/openldap/include -I/usr/local/ssl/include -I/usr/local/include
CXXFLAGS=-xtarget=native -xO3 -xautopar
LDFLAGS=-L/usr/local/openldap/lib -R/usr/local/openldap/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/lib -R/usr/local/lib
=============================================
dmake clean [y|n] ?
n
=============================================
configure [y|n] ?
y
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/mkdir -p
checking for gawk... gawk
...
config.status: creating pigeonhole-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=============================================
dmake [y|n] ?
y
...
Making all in conf.d
Compillation successful

Switch to root and install:


soft@feniks:~/dovecot% exit
root@feniks:/home/soft/dovecot# cd dovecot-2.0-pigeonhole-0.2.0 
root@feniks:/home/soft/dovecot/dovecot-2.0-pigeonhole-0.2.0# dmake install

Listing of installed files:


root@feniks:/home/soft/dovecot/dovecot-2.0-pigeonhole-0.2.0# ls -la /usr/local/dovecot-2.0.3/lib/dovecot/*sieve*
-rw-r--r--+ 1 root root   18548 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/lib90_sieve_plugin.a
-rwxr-xr-x+ 1 root root    1249 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/lib90_sieve_plugin.la
-rwxr-xr-x+ 1 root root   22300 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/lib90_sieve_plugin.so
-rw-r--r--+ 1 root root 1787864 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/libdovecot-sieve.a
-rwxr-xr-x+ 1 root root    1187 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/libdovecot-sieve.la
lrwxrwxrwx  1 root root      25 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/libdovecot-sieve.so -> libdovecot-sieve.so.0.0.0
lrwxrwxrwx  1 root root      25 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/libdovecot-sieve.so.0 -> libdovecot-sieve.so.0.0.0
-rwxr-xr-x+ 1 root root 1219544 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/libdovecot-sieve.so.0.0.0

dovecot-2.0-sieve-0.2.0

Interpreter Pigeonhole Sieve

Projekt Pigeonhole dostarcza Sieve jako plugina dla Dovecotowego agenta dostarczania poczty (LDA) jak również usługi LMTP. Plugin implementuje interpreter języka Sieve, który pozwala na filtrowanie przychodzących wiadomości używając skryptów zgodnych ze specyfikacją języka Sieve (RFC 5228). Skrypty Sieve mogą być modyfikowane przez użytkowników i dzięki temu użytkownik może decydować o obsłudze przychodzących wiadomości. Mogą być one dostarczane do konkretnych folderów, przekazywane, odrzucane itd.

Ściągnięcie źródeł, rozpakowanie i edycja skryptu do konfiguracji i kompilacji Sieve:


soft@feniks:~/dovecot% wget http://www.rename-it.nl/dovecot/2.0/dovecot-2.0-pigeonhole-0.2.0.tar.gz
soft@feniks:~/dovecot% gtar -zxf dovecot-2.0-pigeonhole-0.2.0.tar.gz
soft@feniks:~/dovecot% cp drf_sieve-1.2-0.1.17_conf drf_sieve-2.0-0.2.0_conf
soft@feniks:~/dovecot% vi drf_sieve-2.0-0.2.0_conf

Konfiguracja i kompilacja przy pomocy skryptu:


soft@feniks:~/dovecot% ./drf_sieve-2.0-0.2.0_conf 
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12
usage: cc [ options] files.  Use 'cc -flags' for details
PATH=/usr/local/bin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/ucb
CFLAGS=-xtarget=native -xO3 -xautopar
CPPFLAGS=-I/usr/local/openldap/include -I/usr/local/ssl/include -I/usr/local/include
CXXFLAGS=-xtarget=native -xO3 -xautopar
LDFLAGS=-L/usr/local/openldap/lib -R/usr/local/openldap/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/lib -R/usr/local/lib
=============================================
dmake clean [y|n] ?
n
=============================================
configure [y|n] ?
y
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/mkdir -p
checking for gawk... gawk
...
config.status: creating pigeonhole-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=============================================
dmake [y|n] ?
y
...
Making all in conf.d
Compillation successful

Przejście na roota i instalacja:


soft@feniks:~/dovecot% exit
root@feniks:/home/soft/dovecot# cd dovecot-2.0-pigeonhole-0.2.0 
root@feniks:/home/soft/dovecot/dovecot-2.0-pigeonhole-0.2.0# dmake install

Wylistowanie zainstalowanych plików:


root@feniks:/home/soft/dovecot/dovecot-2.0-pigeonhole-0.2.0# ls -la /usr/local/dovecot-2.0.3/lib/dovecot/*sieve*
-rw-r--r--+ 1 root root   18548 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/lib90_sieve_plugin.a
-rwxr-xr-x+ 1 root root    1249 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/lib90_sieve_plugin.la
-rwxr-xr-x+ 1 root root   22300 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/lib90_sieve_plugin.so
-rw-r--r--+ 1 root root 1787864 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/libdovecot-sieve.a
-rwxr-xr-x+ 1 root root    1187 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/libdovecot-sieve.la
lrwxrwxrwx  1 root root      25 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/libdovecot-sieve.so -> libdovecot-sieve.so.0.0.0
lrwxrwxrwx  1 root root      25 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/libdovecot-sieve.so.0 -> libdovecot-sieve.so.0.0.0
-rwxr-xr-x+ 1 root root 1219544 Sep 22 08:30 /usr/local/dovecot-2.0.3/lib/dovecot/libdovecot-sieve.so.0.0.0

Może Ci się również spodoba

Dodaj komentarz