[Dovecot] Strange behavior on with "listescape" and "lda_mailbox_autocreate" - double entries

Patrick De Zordo patrick at spamreducer.eu
Thu May 8 15:32:26 UTC 2014


Dear Robert, hallo Robert (ich spreche Deutsch),

--- dovecot --version ---
2.0.19
--------------------------------

System: Ubuntu 12.04.4

--- dovecot -n -------------
# 2.0.19: /etc/dovecot/dovecot.conf
# OS: Linux 3.8.0-29-generic x86_64 Ubuntu 12.04.4 LTS ext4
auth_mechanisms = plain login
dict {
   quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
first_valid_uid = 150
last_valid_uid = 150
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
mail_gid = mail
mail_location = maildir:/var/vmail/%d/%n
mail_plugins = " quota listescape"
mail_uid = vmail
namespace {
   inbox = yes
   location =
   prefix =
   separator = /
   subscriptions = yes
   type = private
}
passdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
plugin {
   autocreate = Trash
   autocreate2 = Sent
   autocreate3 = Drafts
   autosubscribe = Trash
   autosubscribe2 = Sent
   autosubscribe3 = Drafts
   quota = dict:user::proxy::quota
   quota_rule = *:storage=10MB
   quota_rule2 = Trash:storage=+10%%
   quota_warning = storage=95%% quota-warning 95 %u
   quota_warning2 = storage=80%% quota-warning 80 %u
   sieve = ~/.dovecot.sieve
   sieve_dir = ~/sieve
}
postmaster_address = postmaster at xx.com
protocols = " imap pop3"
service auth {
   unix_listener /var/spool/postfix/private/auth {
     group = postfix
     mode = 0660
     user = postfix
   }
   unix_listener auth-userdb {
     group = mail
     mode = 0600
     user = vmail
   }
}
service dict {
   unix_listener dict {
     group = mail
     mode = 0660
     user = vmail
   }
}
service quota-warning {
   executable = script /usr/local/bin/quota-warning.sh
   unix_listener quota-warning {
     user = vmail
   }
   user = vmail
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
protocol lda {
   mail_plugins = " quota listescape quota sieve listescape"
}
protocol imap {
   mail_plugins = " quota listescape imap_quota listescape"
}
--------------------------------

Viele Grüße und vielen Dank!
Patrick.

Am 08.05.2014 14:03, schrieb Robert Schetterer:
> Am 08.05.2014 13:43, schrieb Patrick De Zordo:
>> Hello Guys,
>> we are using Dovecot since years; all working flawless but one strange
>> behavior:
>>
>> Let me explain..
>>
>> - we have enabled the "listescape" plugin in "15-lda.conf",
>> "10-mail.conf" and "20-imap.conf".
>> - we use the following default namespace in "10-mail.conf":
>> --------------- 10-mail.conf -----------------------------------------
>> namespace {
>>    type = private
>>    prefix =
>>    separator = /
>>    inbox = yes
>>    subscriptions = yes
>> }
>> ----------------------------------------------------------------------------------------
>>
>>
>> - we use a sieve script that automatically generates folders in the
>> following form (example):
>> ----------------------------------------------------------------------------------------
>>
>> ".INBOX.2014.05.patrick.incoming" for user "patrick at xx.com"
>> ".INBOX.2014.05.patrick.outgoing" for user "patrick at xx.com"
>> ".INBOX.2014.05.p\2edezordo.incoming" for user "p.dezordo at xx.com"
>> ----------------------------------------------------------------------------------------
>>
>>
>> This is ok, but the automatically generated "subscriptions"-file of the
>> user contains double lines (the second line is something strange?!);
>> the second one should not be created, its totally wrong..!
>>
>> --------------- subscriptions -----------------------------------------
>> Trash
>> Sent
>> INBOX.2014.05.patrick.incoming
>> INBOX.2014.05.patrick.outgoing
>> INBOX.2014.05.p\2edezordo.incoming
>> INBOX\2e2014\2e05\2ep\5c2edezordo\2eincoming <----- this line!?!?!?
>> ----------------------------------------------------------------------------------------
>>
>>
>> Have you any ideas whats going on?
>> Could this be a bug, or misconfiguration?
>>
>> Thanks in advance!!
>>
>> Greeting from Italy!
>> Patrick.
> which version of dove
> listescape had bugs in the past
>
> i.e
>
> http://hg.dovecot.org/dovecot-2.1/rev/63af3274fb6f
> http://hg.dovecot.org/dovecot-2.2/rev/63af3274fb6f
> http://hg.dovecot.org/dovecot-2.2/rev/fce84463f508
>
> perhaps reread
>
> http://wiki2.dovecot.org/Plugins/Listescape
>
> post complete dove conf
>
> Best Regards
> MfG Robert Schetterer
>



More information about the dovecot mailing list