Hello All!
I`m using dovecot 1.2.6
I have folder named in russian "????", and when in filter i wrote:
fileinto "????";
all works well.
Now i find 2 web applications to manage sieve filters (horde-ingo and
squirrelmail/avelsieve) - then creates filter like this:
if header :contains "Subject" "????"
{
fileinto "&BCEEEAQfBB8-";
stop;
}
And creates another folder ".&-BCEEEAQfBB8-", but GOOD folder name
already exist ".&BCEEEAQfBB8-".
Please help to understand why dovecots deliver make this happen.
Best regards
Michael
p.s.
dovecot -n
# 1.2.6: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.28-hardened-r9 i686 Gentoo Base System release 1.12.11.1
reiserfs
log_path: /var/log/dovecot_err.log
info_log_path: /var/log/dovecot_info.log
protocols: imap pop3 imaps pop3s managesieve
ssl_cert_file: /etc/dovecot/ssl/mail.proton-sss.ru.pem
ssl_key_file: /etc/dovecot/ssl/mail.proton-sss.ru.key
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
login_executable(managesieve): /usr/libexec/dovecot/managesieve-login
mail_location: maildir:/home/%u/.maildir
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_executable(managesieve): /usr/libexec/dovecot/managesieve
mail_plugins(default): acl imap_acl
mail_plugins(imap): acl imap_acl
mail_plugins(pop3):
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(managesieve): /usr/lib/dovecot/managesieve
namespace:
type: private
separator: /
inbox: yes
list: yes
subscriptions: yes
namespace:
type: shared
separator: /
prefix: shared/%%u/
location: maildir:%%h/.maildir/:INDEX=%h/.maildir/shared/%%u
list: children
subscriptions: yes
lda:
postmaster_address: postmaster at example.com
mail_plugins: acl sieve
mail_plugin_dir: /usr/lib/dovecot/lda
log_path: /var/log/dovecot_deliver.log
auth default:
mechanisms: plain login
passdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
userdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
socket:
type: listen
client:
path: /var/run/dovecot/auth-client
mode: 432
group: mail
master:
path: /var/run/dovecot/auth-master
mode: 432
user: mail
group: users
plugin:
acl: vfile
acl_shared_dict: file:/var/lib/dovecot/shared-mailboxes
sieve: %h/.dovecot.sieve
sieve_dir: %h/sieve
dict:
expire: db:/var/lib/dovecot/expire.db
On Wed, 2009-10-28 at 00:14 +0300, proton-sss wrote:> Hello All! > I`m using dovecot 1.2.6 > I have folder named in russian "????", and when in filter i wrote: > fileinto "????"; > all works well.This is the correct way.> Now i find 2 web applications to manage sieve filters (horde-ingo and > squirrelmail/avelsieve) - then creates filter like this: > if header :contains "Subject" "????" > { > fileinto "&BCEEEAQfBB8-"; > stop; > }This is the wrong way, but they're doing it because some existing software didn't handle the UTF-8 mailbox names properly. I'd suggest fixing this on ingo/avelsieve side. Perhaps they already have a setting for it. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20091027/3f6faecd/attachment-0002.bin>
On Wed, 28 Oct 2009 00:14:50 +0300 proton-sss <michael at proton-sss.ru> wrote:> Hello All! > I`m using dovecot 1.2.6 > I have folder named in russian "????", and when in filter i wrote: > fileinto "????"; > all works well. > > Now i find 2 web applications to manage sieve filters (horde-ingo and > squirrelmail/avelsieve) - then creates filter like this: > if header :contains "Subject" "????" > { > fileinto "&BCEEEAQfBB8-"; > stop; > } > > And creates another folder ".&-BCEEEAQfBB8-", but GOOD folder name > already exist ".&BCEEEAQfBB8-". > > Please help to understand why dovecots deliver make this happen. > > Best regards > MichaelTake a look at http://dovecot.org/list/dovecot/2009-July/041690.html Also, roundcube with latest sieverules plugin can handle utf8-sieve directories in correct way.
Nikita Koshikov ?????:> On Wed, 28 Oct 2009 00:14:50 +0300 > proton-sss <michael at proton-sss.ru> wrote: > > >> Hello All! >> I`m using dovecot 1.2.6 >> I have folder named in russian "????", and when in filter i wrote: >> fileinto "????"; >> all works well. >> >> Now i find 2 web applications to manage sieve filters (horde-ingo and >> squirrelmail/avelsieve) - then creates filter like this: >> if header :contains "Subject" "????" >> { >> fileinto "&BCEEEAQfBB8-"; >> stop; >> } >> >> And creates another folder ".&-BCEEEAQfBB8-", but GOOD folder name >> already exist ".&BCEEEAQfBB8-". >> >> Please help to understand why dovecots deliver make this happen. >> >> Best regards >> Michael >> > > Take a look at http://dovecot.org/list/dovecot/2009-July/041690.html > > Also, roundcube with latest sieverules plugin can handle utf8-sieve directories in correct way. >As i understood only way is patch scriptgenerator to delete conversation from utf- 8. Is i`m rigth ? Best Regards Michael