[Dovecot] warning from managesieve

Michael Cramer michael at bigmichi1.de
Thu Dec 12 12:28:44 EET 2013


# 2.2.9 (5c170e0786f3): /etc/dovecot/dovecot.conf
# OS: Linux 3.11.0-14-generic x86_64 Ubuntu 13.10 ext4
auth_master_user_separator = *
auth_mechanisms = plain login
debug_log_path = /var/log/dovecot/debug.log
dict {
   acl = pgsql:/etc/dovecot/dovecot-dict-sql.conf.ext
   expire = pgsql:/etc/dovecot/dovecot-dict-sql.conf.ext
   quota = pgsql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
first_valid_gid = 8
first_valid_uid = 8
info_log_path = /var/log/dovecot/info.log
last_valid_gid = 8
last_valid_uid = 8
log_path = /var/log/dovecot/error.log
mail_gid = 8
mail_location =  
mdbox:/srv/vmail/mail/%d/%n:INDEX=/srv/vmail/indexes/shared/%d/%n
mail_plugins = quota zlib acl expire virtual fts fts_solr mail_log notify
mail_uid = 8
mailbox_list_index = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope  
encoded-character vacation subaddress comparator-i;ascii-numeric  
relational regex imap4flags copy include variables body enotify  
environment mailbox date ihave imapflags notify
mdbox_preallocate_space = yes
mdbox_rotate_size = 10 M
namespace {
   list = children
   location =  
mdbox:/srv/vmail/mail/%%d/%%n:INDEX=/srv/vmail/indexes/shared/%%d/%%n:INDEXPVT=/srv/vmail/indexes/private/%d/%n/shared/%%u
   prefix = Shared/%%u/
   separator = /
   subscriptions = no
   type = shared
}
namespace inbox {
   inbox = yes
   location =
   mailbox Archive {
     auto = subscribe
     special_use = \Archive
   }
   mailbox Drafts {
     auto = subscribe
     special_use = \Drafts
   }
   mailbox Sent {
     auto = subscribe
     special_use = \Sent
   }
   mailbox Spam {
     auto = subscribe
     special_use = \Junk
   }
   mailbox Trash {
     auto = subscribe
     special_use = \Trash
   }
   mailbox virtual/All {
     auto = subscribe
     special_use = \All
   }
   mailbox virtual/Flagged {
     auto = subscribe
     special_use = \Flagged
   }
   prefix =
   separator = /
   type = private
}
namespace virtual {
   location =  
virtual:/srv/vmail/virtual:INDEX=/srv/vmail/indexes/shared/%d/%n/virtual
   prefix = virtual/
   separator = /
}
passdb {
   args = /etc/dovecot/dovecot-sql-master.conf.ext
   driver = sql
   master = yes
   pass = yes
}
passdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
passdb {
   args = /etc/dovecot/passwd.masterusers
   driver = passwd-file
   master = yes
   pass = yes
}
plugin {
   acl = vfile:/srv/vmail/acl:cache_secs=300
   acl_anyone = allow
   acl_shared_dict = proxy::acl
   expire = Trash
   expire1 = Trash/*
   expire2 = Spam
   expire_dict = proxy::expire
   fts = solr
   fts_autoindex = yes
   fts_solr = break-imap-search url=http://localhost:28080/solr/dovecot/
   quota = dict:User quota::proxy::quota
   quota_warning = storage=95%% quota-warning 95 %u
   quota_warning2 = storage=80%% quota-warning 80 %u
   quota_warning3 = -storage=100%% quota-warning below %u
   sieve = /srv/vmail/sieve/%d/%n/.dovecot.sieve
   sieve_default = /srv/vmail/sieve/default.sieve
   sieve_dir = /srv/vmail/sieve/%d/%n/
   sieve_extensions = +notify +imapflags
   sieve_global_dir = /srv/vmail/sieve/global
   zlib_save = gz
   zlib_save_level = 6
}
postmaster_address = postmaster at domain.com
protocols = " imap lmtp sieve"
service auth-worker {
   user = $default_internal_user
}
service auth {
   unix_listener /var/spool/postfix/private/auth {
     group = postfix
     mode = 0666
     user = postfix
   }
   unix_listener auth-userdb {
     group = mail
     mode = 0666
     user = mail
   }
}
service dict {
   unix_listener dict {
     group = mail
     mode = 0660
     user = mail
   }
}
service managesieve-login {
   inet_listener sieve {
     port = 4190
   }
}
service quota-warning {
   executable = script /usr/local/bin/quota-warning.sh
   unix_listener quota-warning {
     user = mail
   }
   user = dovecot
}
ssl_cert = </srv/ssl/ssl-unified.crt
ssl_key = </srv/ssl/ssl-decrypted.key
userdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
protocol lda {
   debug_log_path = /var/log/dovecot/deliver-debug.log
   info_log_path = /var/log/dovecot/deliver-info.log
   log_path = /var/log/dovecot/deliver-errors.log
   mail_plugins = quota zlib acl expire virtual fts fts_solr mail_log  
notify sieve
}
protocol imap {
   mail_plugins = quota zlib acl expire virtual fts fts_solr mail_log  
notify imap_quota imap_acl imap_zlib
}


same warning is shown when using telnet and upload a script


Zitat von Stephan Bosch <stephan at rename-it.nl>:

> On 12/12/2013 10:17 AM, Michael Cramer wrote:
>> when .dovecot.sieve is a symlink (which it is in my case) a warning is
>> written to the error log file, but it still works.
>>
>>
>> Dec 12 10:02:33 managesieve(tester at domain.com): Warning:
>> sieve-storage: Active sieve script symlink
>> /srv/vmail/sieve/domain.com/tester/.dovecot.sieve is broken:
>> invalid/unknown path to storage (points to ingo.sieve).
>>
>>
>> root at i920:/srv/vmail/sieve/domain.com/tester# ll
>> insgesamt 20
>> drwx------  3 mail mail 4096 Dez 12 10:03 ./
>> drwx------ 15 mail mail 4096 Dez 12 10:02 ../
>> lrwxrwxrwx  1 mail mail   10 Dez 12 10:02 .dovecot.sieve -> ingo.sieve
>> -rw-------  1 mail mail 1575 Dez 12 10:03 .dovecot.svbin
>> -rw-------  1 mail mail 2457 Dez 12 10:02 ingo.sieve
>> drwx------  2 mail mail 4096 Dez 12 10:02 tmp/
>>
>>
>
> What is your configuration? Show output from `dovecot -n`.
>
> Regards,
>
> Stephan.




More information about the dovecot mailing list