Am 08.01.2017 um 17:31 schrieb Jibeji:
Hello, I am trying to set sieve up on a Centos 7 server. It's a configuration with postfix, Maildir, MySQL and virtual domains which works fine.
I have created a simple .dovecot.sieve in the user's directory:
# cat /home/mail/domain.com/user/.dovecot.sieve require "fileinto"; redirect "other_address@other_domain.com";
Here are the logs:
dovecot: lda(user@domain.com): Debug: sieve: Pigeonhole version 0.4.2 initializing lda(user@domain.com): Debug: sieve: include: sieve_global_dir is not set; it is currently not possible to include `:global' scripts. dovecot: lda(user@domain.com): Debug: sieve: script file /home/mail/ domain.com/.dovecot.sieve not found dovecot: lda(user@domain.com): Debug: sieve: user's script ~/.dovecot.sieve doesn't exist (trying default script location instead) lda(user@domain.com): Debug: sieve: no default script configured for user lda(user@domain.com): Debug: sieve: user has no valid location for a personal script lda(user@domain.com): Debug: sieve: no scripts to execute: reverting to default delivery. dovecot: lda(user@domain.com): msgid=005b01d269ca$f287ebf0$d797c3d0$@fr: saved mail to INBOX
It tells that user's script ~/.dovecot.sieve doesn't exis
However, on the troubleshooting guide, I can see these logs:
dovecot: lda(hendrik): Debug: sieve: using sieve path for user's script: /home/hendrik/.dovecot.sieve dovecot: lda(hendrik): Debug: sieve: opening script /home/hendrik/.dovecot.sieve
As you can see, it refers to "lda(hendrik)" but not "lda(user@domain.com"
I am wondering whether Sieve looks for the file elsewhere than /home/mail/ domain.com/user/.dovecot.sieve
Do you have any idea?
You hopefully see that you have mismatching path information:
dovecot: lda(user@domain.com): Debug: sieve: script file /home/mail/ domain.com/.dovecot.sieve not found
dovecot: lda(hendrik): Debug: sieve: using sieve path for user's script: /home/hendrik/.dovecot.sieve
So please provide your "doveconf -n" output or at least validate yourself the sieve settings.
And .dovecot.sieve is a symlink to the active sieve filter.
Alexander