[Dovecot] I will chance the Sieve Path

Benjamin Andreas benjamin.andreas at gmail.com
Thu Jul 3 14:12:32 EEST 2008


I open a Thread and i hope anybody can me explain my mistake

I will chance the Sieve Path from my /home to another dir

I use the LDA/Sieve wiki http://wiki.dovecot.org/LDA/Sieve

but If i change the sieve path from sieve=~/.dovecot.sieve
to  sieve = /var/spool/sieve-scripts/%u/dovecot.sieve

Dovecot search the .dovecot.sieve file  continue in my home?
and not in the new path

# 1.1.1: /etc/dovecot/dovecot.conf
log_path: /var/log/dovecot.log
info_log_path: /var/log/dovecot.info
protocols: imap imaps managesieve
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
mail_location: maildir:/var/spool/imap/%u
mail_debug: yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
sieve_storage(default):
sieve_storage(imap):
sieve_storage(managesieve): /var/spool/sieve-scripts/%u
sieve(default):
sieve(imap):
sieve(managesieve): /var/spool/sieve-scripts/%u/dovecot.sieve
auth default:
 passdb:
   driver: pam
 userdb:
   driver: passwd
 socket:
   type: listen
   client:
     path: /var/spool/postfix/private/auth
     mode: 432
     user: postfix
     group: postfix


and here my dovecot log with mail_debug


deliver(andreas): Jul 02 14:50:02 Info: Loading modules from
directory: /usr/lib/dovecot/modules/lda
deliver(andreas): Jul 02 14:50:02 Info: Module loaded:
/usr/lib/dovecot/modules/lda/lib90_cmusieve_plugin.so
deliver(andreas): Jul 02 14:50:02 Info: maildir: data=/var/spool/imap/andreas
deliver(andreas): Jul 02 14:50:02 Info: maildir++:
root=/var/spool/imap/andreas, index=, control=,
inbox=/var/spool/imap/andreas
deliver(andreas): Jul 02 14:50:02 Info: cmusieve:
/home/susan/andreas/.dovecot.sieve doesn't exist
deliver(andreas): Jul 02 14:50:02 Info:
msgid=<b186cc8f0807020552m188b060dpeb95dd24e97d256d at mail.gmail.com>:
saved mail to INBOX
dovecot: Jul 02 14:50:21 Info: imap-login: Aborted login (auth failed,
1 attempts): method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: Jul 02 14:51:11 Info: imap-login: Aborted login (auth failed,
1 attempts): method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured

transtec3:/var/spool/sieve-scripts/andreas# dovecot -n
# 1.1.1: /etc/dovecot/dovecot.conf
log_path: /var/log/dovecot.log
info_log_path: /var/log/dovecot.info
protocols: imap imaps managesieve
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
mail_location: maildir:/var/spool/imap/%u
mail_debug: yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
sieve_storage(default):
sieve_storage(imap):
sieve_storage(managesieve): /var/spool/sieve-scripts/%u
sieve(default):
sieve(imap):
sieve(managesieve): /var/spool/sieve-scripts/%u/dovecot.sieve
auth default:
  passdb:
    driver: pam
  userdb:
    driver: passwd
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix

I need help because i cant find whats wrong with my config

Regards

 Benjamin Andreas


More information about the dovecot mailing list