[Dovecot] Strange behaviour for sieve_before
Simone Caruso
info at simonecaruso.com
Fri May 4 12:20:22 EEST 2012
Hi all,
i moved from dovecot 2.0.15 (lda) to 2.1.5 with lmtp transport, all works well
with the same configuration directives.
But sieve_before stopped working with mail_debug=no.
The weird thing is that, with mail_debug=yes the sieve_before script starts working.
Any idea? Thanks
(my conf attacched, for the new install i used prebuild packages)
--
Simone Caruso
IT Consultant
+39 349 65 90 805
-------------- next part --------------
# 2.1.5 (d5bbb1d203c5): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-xen-amd64 x86_64 Debian 6.0.4 ext3
auth_cache_size = 5 M
auth_master_user_separator = *
auth_mechanisms = plain login
auth_worker_max_count = 15
base_dir = /var/run/dovecot/
dict {
quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
quotadict = mysql:/etc/dovecot/dovecot-dict-sql.conf
}
disable_plaintext_auth = no
first_valid_gid = 8
first_valid_uid = 8
hostname = mail.ardeek.com
listen = *
mail_home = /var/dovecot-homes/%d/%n/home
mail_location = maildir:/var/mail/%d/%n:INDEX=/var/dovecot-index/%d/%n
mail_plugins = quota autocreate
mail_privileged_group = mail
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
namespace {
inbox = yes
list = yes
location =
prefix = INBOX.
separator = .
type = private
}
passdb {
args = /etc/dovecot/conf.d/auth-master.conf.ext
driver = sql
master = yes
pass = yes
}
passdb {
args = /etc/dovecot/conf.d/auth-sql.conf.ext
driver = sql
}
plugin {
autocreate = INBOX.Trash
autocreate2 = INBOX.Sent
autocreate3 = INBOX.Drafts
autocreate4 = INBOX.Spam
autosubscribe = INBOX.Trash
autosubscribe2 = INBOX.Sent
autosubscribe3 = INBOX.Drafts
autosubscribe4 = INBOX.Spam
quota = dict:User quota::proxy::quotadict
quota_rule2 = INBOX.Trash:storage=+55M
quota_warning = storage=90%% /usr/sbin/quota-warning.sh 90 %u
sieve = /var/mail/%d/%n/sieve/.default.sieve
sieve_before = /etc/dovecot/sieve/dovecot.sieve
sieve_dir = /var/mail/%d/%n/sieve
sieve_storage = /var/mail/%d/%n/sieve
}
postmaster_address = postmaster at ardeek.com
protocols = " imap lmtp sieve pop3"
service auth {
unix_listener auth-userdb {
mode = 0666
user = mail
}
}
service dict {
unix_listener dict {
mode = 0600
user = mail
}
}
service imap-login {
inet_listener imap {
port = 143
}
inet_listener imaps {
port = 993
ssl = yes
}
process_min_avail = 3
service_count = 0
vsz_limit = 128 M
}
service imap {
client_limit = 25
process_limit = 10
process_min_avail = 2
service_count = 0
}
service lmtp {
inet_listener lmtp {
address = *
port = 24
}
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
inet_listener sieve_deprecated {
port = 2000
}
process_min_avail = 1
vsz_limit = 128 M
}
service pop3-login {
client_limit = 5
inet_listener pop3 {
port = 110
}
inet_listener pop3s {
port = 995
ssl = yes
}
process_limit = 6
process_min_avail = 3
service_count = 0
}
service pop3 {
client_limit = 25
process_limit = 10
process_min_avail = 2
service_count = 0
}
ssl_cert = </etc/ssl/certs/mail.keedra.com-public.cert
ssl_key = </etc/ssl/private/mail.keedra.com-priv-plain.key
userdb {
args = /etc/dovecot/conf.d/auth-sql.conf.ext
driver = sql
}
protocol lmtp {
mail_plugins = quota autocreate quota sieve
}
protocol lda {
mail_plugins = quota autocreate sieve
}
protocol imap {
imap_logout_format = bytes=%i/%o
mail_max_userip_connections = 10
mail_plugins = quota autocreate imap_quota
}
protocol pop3 {
mail_plugins = quota autocreate
pop3_uidl_format = %08Xu%08Xv
}
More information about the dovecot
mailing list