[Dovecot] Sieve libexec /usr/lib/dovecot/deliver

Filip Dvořák fila at pruda.com
Mon Feb 15 10:08:24 EET 2010


Hi,

I have installed dovecot(1.2.10) with --libexecdir=/usr/lib .
Dovecot sieve(0.1.15) is compiled with --with-dovecot
but still uses /usr/libexec/dovecot/deliver instead of  
/usr/lib/dovecot/deliver.

How should be dovecot sieve configured to use /usr/lib/dovecot/deliver

thanks in advance

Filip

# dovecot configuration:
./configure --prefix=/usr --sysconfdir=/etc/dovecot --localstatedir=/var \
         --libexecdir=/usr/lib  --with-moduledir=/usr/lib/dovecot/modules \
         --with-db --with-mysql --with-pgsql --with-sqlite \
         --with-ssl=openssl --with-ssldir=/etc/dovecot/ssl \
         --with-gssapi --with-ldap=plugin --enable-header-install  
--with-docs

# dovecot sieve configuration:
./configure --prefix=/usr --with-dovecot=/usr/lib/dovecot

# /usr/lib/dovecot/dovecot-config:
CFLAGS="-std=gnu99 -march=i686 -mtune=generic -O2 -pipe -Wall -W  
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith  
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2   "
LIBS=" -lrt"
SSL_LIBS="-lssl -lcrypto -ldl -lz  "

STORAGE_LIBS="$(top_builddir)/src/lib-storage/register/libstorage-register.a  
$(top_builddir)/src/lib-storage/list/libstorage_list.a   
$(top_builddir)/src/lib-storage/index/cydir/libstorage_cydir.a  
$(top_builddir)/src/lib-storage/index/dbox/libstorage_dbox.a  
$(top_builddir)/src/lib-storage/index/maildir/libstorage_maildir.a  
$(top_builddir)/src/lib-storage/index/mbox/libstorage_mbox.a  
$(top_builddir)/src/lib-storage/index/raw/libstorage_raw.a  
$(top_builddir)/src/lib-storage/index/shared/libstorage_shared.a  
$(top_builddir)/src/lib-storage/index/libstorage_index.a  
$(top_builddir)/src/lib-storage/libstorage.a  
$(top_builddir)/src/lib-index/libindex.a  
$(top_builddir)/src/lib-imap/libimap.a  
$(top_builddir)/src/lib-mail/libmail.a  
$(top_builddir)/src/lib-auth/libauth.a  
$(top_builddir)/src/lib-charset/libcharset.a  
$(top_builddir)/src/lib/liblib.a"
LIBICONV=""
MODULE_LIBS="-export-dynamic -ldl"

dovecot_incdir=/usr/include/dovecot
moduledir=/usr/lib/dovecot/modules


CFLAGS="-std=gnu99 -march=i686 -mtune=generic -O2 -pipe -Wall -W  
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscri
LIBS=" -lrt"
SSL_LIBS="-lssl -lcrypto -ldl -lz  "

STORAGE_LIBS="$(top_builddir)/src/lib-storage/register/libstorage-register.a  
$(top_builddir)/src/lib-storage/list/libstorage_list.a  $(top_
LIBICONV=""
MODULE_LIBS="-export-dynamic -ldl"

dovecot_incdir=/usr/include/dovecot
moduledir=/usr/lib/dovecot/modules
# end of dovecot-config


dovecot -n output:
# 1.2.10: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.27-lts i686  ext3
protocols: imap imaps pop3 pop3s
ssl_cert_file: /etc/ssl/mail.pruda.com/cert.pem
ssl_key_file: /etc/ssl/mail.pruda.com/key.pem
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
mail_location: maildir:/home/vmail/%u
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
lda:
   postmaster_address: postmaster at pruda.com
   mail_plugins: sieve
   sieve_global_path: /home/vmail/dovecot-global.sieve
   sendmail_path: /usr/sbin/sendmail
auth default:
   user: nobody
   passdb:
     driver: sql
     args: /etc/dovecot/dovecot-mysql.conf
   userdb:
     driver: sql
     args: /etc/dovecot/dovecot-mysql.conf
   socket:
     type: listen
     master:
       path: /var/run/dovecot/auth-master
       mode: 432
       user: vmail
       group: vmail
plugin:
   sieve: /home/vmail/%u/dovecot.sieve
   home: /home/vmail/%u







More information about the dovecot mailing list