search for: mutf

Displaying 20 results from an estimated 43 matches for "mutf".

2019 Mar 12
6
“doveadm mailbox” command fails with UTF-8 mailboxes
Hello, I?ve got a strange misconfiguration where the following command: doveadm -f pager mailbox status -u spamutf8 'messages vsize guid' INBOX 'INBOX.*' ? fails with error code 68, saying that it can?t find one of the mailboxes. (It lists the user?s other mailboxes.) The name of the mailbox in question is saved to disk in UTF-8 rather than mUTF-7, but strace shows that doveadm is stat()ing the...
2008 Nov 01
2
mUTF-7 vs UTF-8 in mailbox names
...about v1.2 only, v1.1 will stay as it is.) Until today Dovecot didn't care about mailbox names. IMAP RFC requires them to be modified-UTF-7, but Dovecot didn't try to enforce it in any way. Mailbox names in Sieve scripts should be UTF-8, but currently Dovecot doesn't translate them to mUTF-7 as it should. Cyrus also did this until the latest release (v2.3.13). Now that I finally today wrote code to do mUTF-7 <-> UTF-8 conversion, Dovecot can finally do the right thing. But should there be an option to keep things backwards compatible? - IMAP: CREATE command requiring the mai...
2016 Jul 23
3
Converting mailboxes to UTF-8
Is any proven routine to migrate mailboxes from mUTF-7 to UTF-8 encoding? I've try to use doveadm list/mutf7/rename but have been stuck with nested inboxes. Say I have the next structure: INBOX INBOX.??? INBOX.???.??? encoded for FS respectively as .INBOX .INBOX.&BDYESwRA- .INBOX.&BDYESwRA-.&BE8ENARK- ?When I've try to rename...
2013 Sep 20
5
Bug report: "doveadm rename" encodes special characters wrongly in mUTF-7 (in fs)
..." trying to rename a folder with special characters e.g. german umlauts like "??" it seems to create the folder wrongly in the filesystem. Example: When I want to rename a users folder 'geschaftliches' to 'gesch&AOQ-ftliches' ("&AOQ-" is the correct mUTF-7 encoding for "??") using the command doveadm mailbox rename -u user 'geschaftliches' 'gesch&AOQ-ftliches' it ends up in the filesystem renamed as "gesch&-AOQ-ftliches" which has an falsely added "-" set after the "&" and theref...
2012 May 04
1
doveadm mailbox: rc=0 on error
Hi all, I use "doveadm mailbox mutf7 -7 $folder" to convert imap foldernames to UTF-8. If $foldername is not mUTF-7 encoded, doveadm returns "doveadm(root): Error: Mailbox name not valid mUTF-7: $folder" This errormessage is printed on stderr but the returncode of doveadm is zero. I tested with dovecot-2.0.* and dove...
2019 Mar 12
1
Re: “doveadm mailbox” command fails with UTF-8 mailboxes
...om> wrote: > > >> On 12 March 2019 21:20 Felipe Gasper via dovecot <dovecot at dovecot.org> wrote: >> >> >> Hello, >> >> I?ve got a strange misconfiguration where the following command: >> >> doveadm -f pager mailbox status -u spamutf8 'messages vsize guid' INBOX 'INBOX.*' >> >> ? fails with error code 68, saying that it can?t find one of the mailboxes. (It lists the user?s other mailboxes.) The name of the mailbox in question is saved to disk in UTF-8 rather than mUTF-7, but strace shows that dovead...
2009 Jul 30
2
sieve delivery to utf folders
Hello list, Today, my users have noticed, that delivery to folders with non-english names is broken. For example, if I create russian directory, it correct encoded and display into mail-client program and my webmail: Encoded: Normal view .INBOX.&BEIENQRBBEI- ???? This is part of sieve script, which routing delivery to russian folder. .... elsif allof (header :contains "Subject"
2013 Sep 13
1
SELECT: Bug in untagged response
Dovecot 2.2.5 In selected state: C: 1 SELECT &#-&#/# S: 1 NO Mailbox name is not valid mUTF-7 S: * OK [CLOSED] Previous mailbox closed. I can verify that this only seems to happen when the mailbox name is incorrect mUTF-7. Things work fine if I access a non-existent mailbox: C: 1 SELECT non-existent-mailbox S: * OK [CLOSED] Previous mailbox closed. S: a NO Mailbox doesn't exist:...
2009 Dec 14
4
Problem with dovecot-sieve and russian
Hello I have a problem with dovecot-sieve. When I create a folder in russian, the filter is not working properly. It creates a new folder with the same name and delivers the letter there. For example, I created a folder called &BD8EQAQ4BDIENQRC-/, but the letter got in &-BD8EQAQ4BDIENQRC-/. In all cases, the difference in the sign -. The folders in the english language is no problem. #
2009 Nov 10
3
UTF-8 mailbox names in filesystem
Currently mailbox names are stored in IMAP's modified-UTF-7 format in filesystem. I was wondering about changing this in v2.0. The default would still be to use mUTF-7 in filesystem, but just adding :UTF8 or something to mail_location could enable UTF-8. Any thoughts? Could this be dangerous somehow? UTF-8 enables a lot of weird characters, perhaps no one really wants to see them on filesystem since there's no way to type the characters? But for small syst...
2019 Mar 12
0
Re: “doveadm mailbox” command fails with UTF-8 mailboxes
> On 12 March 2019 21:20 Felipe Gasper via dovecot <dovecot at dovecot.org> wrote: > > > Hello, > > I?ve got a strange misconfiguration where the following command: > > doveadm -f pager mailbox status -u spamutf8 'messages vsize guid' INBOX 'INBOX.*' > > ? fails with error code 68, saying that it can?t find one of the mailboxes. (It lists the user?s other mailboxes.) The name of the mailbox in question is saved to disk in UTF-8 rather than mUTF-7, but strace shows that doveadm is sta...
2019 Mar 12
0
Re: “doveadm mailbox” command fails with UTF-8 mailboxes
On 12 Mar 2019, at 21.20, Felipe Gasper via dovecot <dovecot at dovecot.org> wrote: > > Hello, > > I?ve got a strange misconfiguration where the following command: > > doveadm -f pager mailbox status -u spamutf8 'messages vsize guid' INBOX 'INBOX.*' > > ? fails with error code 68, saying that it can?t find one of the mailboxes. (It lists the user?s other mailboxes.) The name of the mailbox in question is saved to disk in UTF-8 rather than mUTF-7, but strace shows that doveadm is sta...
2009 Oct 06
10
Binary locations
...to call from mail_executable setting: - rawlog - gdbhelper 3) Index file dumping programs, mostly meant for debugging problems: - idxview - listview - logview - mailboxlogview - threadview 4) Some extra tools that might be useful sometimes: - imap-utf7 : Encode/decode IMAP mailbox names (mUTF-7 <-> UTF-8) - maildirlock : Lock a Maildir, primarily intended for compressing files in maildir And perhaps some of the binaries should be renamed? The authtest actually now looks like a bad name. Maybe it should have been "doveauthtest" or "dovecot-authtest" or ..? ---...
2011 Apr 05
2
is it posible to autocreate imap folders with non ascii chars?
Hello. I'm migrating from cyrus to dovecot and now after i converted mailboxes to Maildir. Some users already has imap folders with cyrillic chars. How could i autocreate folders with cyrillic chars? When i type something like: ... autocreate = utf8_chars autosubscribe = utf8_chars ... In logs i see that dovecot complains: Apr 05 16:21:43 imap(pavelkor): Debug: autocreate: Failed to create
2012 Jul 02
1
UTF-8 mailbox name STATUS response
STATUS in Dovecot 2.1.7 returns the UTF-8 decoded folder name in a string literal: . CREATE "INBOX.Euro &IKw-" . OK Create completed. . LIST "" "INBOX.Euro &IKw-" * LIST (\HasNoChildren) "." "INBOX.Euro &IKw-" . STATUS "INBOX.Euro &IKw-" (MESSAGES) * STATUS {14} INBOX.Euro ? (MESSAGES 0) . OK Status completed. Is this
2012 Jul 03
0
v2.1.8 released
http://dovecot.org/releases/2.1/dovecot-2.1.8.tar.gz http://dovecot.org/releases/2.1/dovecot-2.1.8.tar.gz.sig Most importantly fixes a pretty bad behavior of sending mailbox names as UTF-8 instead of mUTF-7 as required by IMAP RFC. I'm surprised nobody hadn't noticed this in v2.1.x tree before yesterday. I guess some clients might have translated the name to UTF-8 anyway and not noticed it, while others would have silently ignored the problem of not seeing STATUS updates. + pop3c: Added po...
2012 Jul 03
0
v2.1.8 released
http://dovecot.org/releases/2.1/dovecot-2.1.8.tar.gz http://dovecot.org/releases/2.1/dovecot-2.1.8.tar.gz.sig Most importantly fixes a pretty bad behavior of sending mailbox names as UTF-8 instead of mUTF-7 as required by IMAP RFC. I'm surprised nobody hadn't noticed this in v2.1.x tree before yesterday. I guess some clients might have translated the name to UTF-8 anyway and not noticed it, while others would have silently ignored the problem of not seeing STATUS updates. + pop3c: Added po...
2012 Jul 11
1
mail_log plugin logs UTF-8 mailbox name
A small bug in the mail_log plugin: When I copy a mail from the inbox to a mailbox with special characters, the mailbox name is logged in UTF-8: [...] copy from INBOX: box=INBOX.Euro ?, [...] I guess the name should be in mUTF-7, like it is done when I copy the other way round: [...] copy from Euro &IKw-: box=INBOX, [...]
2012 Aug 21
2
How dovecot treats UTF8 mailbox names in sieve scripts and `namespace' section
Hello. I read on upgrading page that one can use UTF8 mailbox names for plugins. As i understand i do not need to convert UTF8 names to mUTF-7 and can use raw UTF8 in plugins section, e.g.: /etc/dovecot/dovecot.conf ... plugin { ... # Autocreate \Spam folder autocreate = ???? autosubscribe = ???? ... But what about sieve scripts and other configuration sections: 1. Do i need to convert UTF8 mailbox names in `namespace' section?...
2012 Feb 18
5
Folder name migration when moving from 2.0.x to 2.1.x?
Today I encountered this after upgrading: Feb 18 18:15:40 postamt dovecot: imap(lehnertr): Panic: LIST: Mailbox name not UTF-8: INBOX.Entw?rfe Feb 18 18:15:40 postamt dovecot: imap(lehnertr): Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x4104a) [0xb75cc04a] -> /usr/local/lib/dovecot/libdovecot.so.0(+0x410bb) [0xb75cc0bb] -> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0)