[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dovecot
Subject:    RE: Using / in folder names
From:       "Scott" <qmail () top-consulting ! net>
Date:       2023-08-04 15:22:56
Message-ID: 20ab01d9c6e7$8bb39f10$a31add30$ () top-consulting ! net
[Download RAW message or body]

This is a multipart message in MIME format.

[Attachment #2 (multipart/alternative)]
This is a multipart message in MIME format.


Ok, I got it working with LAYOUT=index

 

*	I am using SQL so the mail_location was being taken from there instead of the \
                config, hence it was ignoring the config line
*	BROKENCHAR still doesn't work even when added to SQL
*	I let dovecot auto create the home directories of users. This doesn't work with \
LAYOUT=index . It complains that: Error: Couldn't create mailbox list lock  in \
_users_home_dir 

If I manually create the homedir then it works as expected

 

I'll go ahead and re-import my data – thank you.

 

Not sure if the behavior I described so far is a bug and if I should file it as such \
(?)

 

Thanks once again

 

From: Aki Tuomi via dovecot <dovecot@dovecot.org> 
Sent: Friday, August 4, 2023 9:43 AM
To: Scott <qmail@top-consulting.net>; dovecot@dovecot.org
Subject: RE: Using / in folder names

 

You could test this out first on your test deployment. index layout is pretty \
permissive as it uses guids instead of names on disk. 

  

Aki 

On 04/08/2023 16:22 EEST Scott <qmail@top-consulting.net> wrote: 

  

  

Like this ?

 

mail_location = maildir:/ssd_bkp/ingestmail/mail/%n@%d:BROKENCHAR=_

 

still throws the same error

 

I could try migrating to a new layout but will it fix the issue ? I already imported \
about 250GB of data which I assume I have to throw away and start over ?

 

Is this a bug in the listescape plugin ?

Thank you for your assistance

 

From: Aki Tuomi via dovecot <dovecot@dovecot.org> 
Sent: Friday, August 4, 2023 8:40 AM
To: Scott <qmail@top-consulting.net>; dovecot@dovecot.org
Subject: RE: Using / in folder names

 

You could try adding :BROKENCHAR=^

 

to mail location, or you could migrate to LAYOUT=index. 

 

Aki

On 04/08/2023 15:25 EEST Scott <qmail@top-consulting.net \
<mailto:qmail@top-consulting.net> > wrote:

 

 

Hmm, this is what I have:

 

# 2.3.19.1 (9b53102964): /etc/dovecot/dovecot.conf

# Pigeonhole version 0.5.19 (4eae2f79)

# OS: Linux 6.1.0-10-amd64 x86_64 Debian 12.1 nfs

 

namespace inbox {

  inbox = yes

  location =

  mailbox Drafts {

    special_use = \Drafts

  }

  mailbox Junk {

    special_use = \Junk

  }

  mailbox Sent {

    special_use = \Sent

  }

  mailbox "Sent Messages" {

    special_use = \Sent

  }

  mailbox Trash {

    special_use = \Trash

  }

  prefix =

  separator = .

}

 

plugin {

  listescape_char = /

}

 

mail_plugins = " listescape"

 

I see the plugin being loaded when the imap session starts

 

dovecot-debug.log:Aug 03 21:46:06 imap(user)<29177></vViDw8ChfLAqAI/>: Debug: Module \
loaded: /usr/lib/dovecot/modules/lib20_listescape_plugin.so

 

still no go

 

a select "TEST/BLAH"

a NO [CANNOT] Invalid mailbox name: Name must not have '/' characters (0.001 + 0.000 \
secs).

 

 

 

From: Aki Tuomi via dovecot <dovecot@dovecot.org <mailto:dovecot@dovecot.org> > 
Sent: Friday, August 4, 2023 1:47 AM
To: Scott <qmail@top-consulting.net <mailto:qmail@top-consulting.net> >; \
                dovecot@dovecot.org <mailto:dovecot@dovecot.org> 
Subject: Re: Using / in folder names

 

 

On 04/08/2023 04:54 EEST Scott <qmail@top-consulting.net> wrote:

 

 

Is this possible at all ?

 

I am trying to import a PST file and it has a slash in the folder name.

Dovecot errors out with :

 

APPEND "Caixa de Entrada_VIDA/S1" (\Seen)

NO [CANNOT] Invalid mailbox name: Name must not have '/' characters

 

My namespace separator is the dot and I configured the listescape plugin to

escape / but it still doesn't work.

 

The listescape documentation says:

 

The / character is disallowed on POSIX systems.

 

This plugin allows you to use all of these characters, as long as the

virtual separator (i.e. what is set by the separator setting and used as

such by the IMAP protocol) is changed to something else, which means that

the plugin does not make it possible to use the virtual separator in folder

names.

 

 

So it seems that as long as I use the dot, it should work ? Except it

doesn't...

 

How can I do this import ?

 

Thank you!

 

_______________________________________________

dovecot mailing list -- dovecot@dovecot.org <mailto:dovecot@dovecot.org> 

To unsubscribe send an email to dovecot-leave@dovecot.org \
<mailto:dovecot-leave@dovecot.org> 

 

Should work by just loading listescape plugin and not using / as namespace separator. \


 

Aki

 

_______________________________________________ 
dovecot mailing list -- dovecot@dovecot.org <mailto:dovecot@dovecot.org>  
To unsubscribe send an email to dovecot-leave@dovecot.org \
<mailto:dovecot-leave@dovecot.org> 

_______________________________________________ 
dovecot mailing list -- dovecot@dovecot.org 
To unsubscribe send an email to dovecot-leave@dovecot.org 


[Attachment #5 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	mso-ligatures:none;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1158182637;
	mso-list-type:hybrid;
	mso-list-template-ids:-1256576030 -1579504822 67698691 67698693 67698689 67698691 \
67698693 67698689 67698691 67698693;} @list l0:level1
	{mso-level-start-at:3;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Calibri",sans-serif;
	mso-fareast-font-family:Calibri;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple \
style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Ok, I got it \
working with LAYOUT=index<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><ul \
style='margin-top:0in' type=disc><li class=MsoListParagraph \
style='margin-left:0in;mso-list:l0 level1 lfo1'>I am using SQL so the mail_location \
was being taken from there instead of the config, hence it was ignoring the config \
line<o:p></o:p></li><li class=MsoListParagraph style='margin-left:0in;mso-list:l0 \
level1 lfo1'>BROKENCHAR still doesn't work even when added to SQL<o:p></o:p></li><li \
class=MsoListParagraph style='margin-left:0in;mso-list:l0 level1 lfo1'>I let dovecot \
auto create the home directories of users. This doesn't work with LAYOUT=index . It \
complains that: Error: Couldn't create mailbox list lock   in _<i>users_home</i>_dir \
<o:p></o:p></li></ul><p class=MsoListParagraph>If I manually create the homedir then \
it works as expected<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p \
class=MsoNormal>I'll go ahead and re-import my data – thank you.<o:p></o:p></p><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Not sure if the behavior I \
described so far is a bug and if I should file it as such (?)<o:p></o:p></p><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Thanks once \
again<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div \
style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p \
class=MsoNormal><b>From:</b> Aki Tuomi via dovecot &lt;dovecot@dovecot.org&gt; \
<br><b>Sent:</b> Friday, August 4, 2023 9:43 AM<br><b>To:</b> Scott \
&lt;qmail@top-consulting.net&gt;; dovecot@dovecot.org<br><b>Subject:</b> RE: Using / \
in folder names<o:p></o:p></p></div></div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>You could test this out \
first on your test deployment. index layout is pretty permissive as it uses guids \
instead of names on disk. <o:p></o:p></p></div><div><p class=MsoNormal>&nbsp; \
<o:p></o:p></p></div><div><p class=MsoNormal>Aki <o:p></o:p></p></div><blockquote \
style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>On 04/08/2023 \
16:22 EEST Scott &lt;qmail@top-consulting.net&gt; wrote: <o:p></o:p></p></div><div><p \
class=MsoNormal>&nbsp; <o:p></o:p></p></div><div><p class=MsoNormal>&nbsp; \
<o:p></o:p></p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Like this \
?<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>mail_location \
= maildir:/ssd_bkp/ingestmail/mail/%n@%d:BROKENCHAR=_<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>still \
throws the same error<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I could \
try migrating to a new layout but will it fix the issue ? I already imported about \
250GB of data which I assume I have to throw away and start over ?<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Is this a \
bug in the listescape plugin ?<br><br>Thank you for your assistance<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><div><div \
style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><span \
style='font-family:"Calibri",sans-serif'>From:</span></strong> Aki Tuomi via dovecot \
&lt;dovecot@dovecot.org&gt; <br><strong><span \
style='font-family:"Calibri",sans-serif'>Sent:</span></strong> Friday, August 4, 2023 \
8:40 AM<br><strong><span style='font-family:"Calibri",sans-serif'>To:</span></strong> \
Scott &lt;qmail@top-consulting.net&gt;; dovecot@dovecot.org<br><strong><span \
style='font-family:"Calibri",sans-serif'>Subject:</span></strong> RE: Using / in \
folder names<o:p></o:p></p></div></div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>You could \
try adding :BROKENCHAR=^<o:p></o:p></p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>to mail \
location, or you could migrate to LAYOUT=index.&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Aki<o:p></o:p></p></div><blockquote \
style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On 04/08/2023 15:25 EEST \
Scott &lt;<a href="mailto:qmail@top-consulting.net">qmail@top-consulting.net</a>&gt; \
wrote:<o:p></o:p></p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hmm, this \
is what I have:<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'># 2.3.19.1 \
(9b53102964): /etc/dovecot/dovecot.conf<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'># Pigeonhole version \
0.5.19 (4eae2f79)<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'># OS: Linux 6.1.0-10-amd64 \
x86_64 Debian 12.1 nfs<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>namespace \
inbox {<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; inbox = \
yes<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; location \
=<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; mailbox Drafts \
{<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;&nbsp;&nbsp; \
special_use = \Drafts<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; }<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; \
mailbox Junk {<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;&nbsp;&nbsp; \
special_use = \Junk<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; }<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; \
mailbox Sent {<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;&nbsp;&nbsp; \
special_use = \Sent<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; }<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; \
mailbox &quot;Sent Messages&quot; {<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;&nbsp;&nbsp; \
special_use = \Sent<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; }<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; \
mailbox Trash {<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;&nbsp;&nbsp; \
special_use = \Trash<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; }<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; \
prefix =<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; separator = \
.<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>}<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>plugin \
{<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; listescape_char = \
/<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>}<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>mail_plugins \
= &quot; listescape&quot;<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I see the \
plugin being loaded when the imap session starts<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>dovecot-debug.log:Aug \
03 21:46:06 imap(user)&lt;29177&gt;&lt;/vViDw8ChfLAqAI/&gt;: Debug: Module loaded: \
/usr/lib/dovecot/modules/lib20_listescape_plugin.so<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>still no \
go<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>a select \
&quot;TEST/BLAH&quot;<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>a NO [CANNOT] Invalid \
mailbox name: Name must not have '/' characters (0.001 + 0.000 \
secs).<o:p></o:p></p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><div><div \
style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><span \
style='font-family:"Calibri",sans-serif'>From:</span></strong> Aki Tuomi via dovecot \
&lt;<a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>&gt; \
<br><strong><span style='font-family:"Calibri",sans-serif'>Sent:</span></strong> \
Friday, August 4, 2023 1:47 AM<br><strong><span \
style='font-family:"Calibri",sans-serif'>To:</span></strong> Scott &lt;<a \
href="mailto:qmail@top-consulting.net">qmail@top-consulting.net</a>&gt;; <a \
href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a><br><strong><span \
style='font-family:"Calibri",sans-serif'>Subject:</span></strong> Re: Using / in \
folder names<o:p></o:p></p></div></div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><blockquote \
style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On 04/08/2023 04:54 EEST \
Scott &lt;<a href="mailto:qmail@top-consulting.net">qmail@top-consulting.net</a>&gt; \
wrote:<o:p></o:p></p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Is this \
possible at all ?<o:p></o:p></p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I am \
trying to import a PST file and it has a slash in the folder \
name.<o:p></o:p></p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Dovecot errors out with \
:<o:p></o:p></p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>APPEND \
&quot;Caixa de Entrada_VIDA/S1&quot; (\Seen)<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>NO \
[CANNOT] Invalid mailbox name: Name must not have '/' \
characters<o:p></o:p></p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>My \
namespace separator is the dot and I configured the listescape plugin \
to<o:p></o:p></p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>escape / but it still \
doesn't work.<o:p></o:p></p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The \
listescape documentation says:<o:p></o:p></p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The / \
character is disallowed on POSIX systems.<o:p></o:p></p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>This \
plugin allows you to use all of these characters, as long as \
the<o:p></o:p></p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>virtual separator (i.e. \
what is set by the separator setting and used as<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>such by \
the IMAP protocol) is changed to something else, which means \
that<o:p></o:p></p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>the plugin does not make \
it possible to use the virtual separator in folder<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>names.<o:p></o:p></p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p \



_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-leave@dovecot.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic