[imp] 3.1 - Sent Items Folder - Created in a 'nested' INBOX

David Leigh davidl@arach.net.au
Tue, 3 Sep 2002 20:14:37 +0800


This is a multi-part message in MIME format.

---------------------- multipart/alternative attachment
Hi All,

I have been installing Imp 3.1 on a Redhat 7.2 box (full details of all =
packages provided later in the email) for the past few weeks. The =
install went smoothly, as did the addition of extra components like =
xlhtml for inline reading or aspell for spell check.

The *only* problem I'm having - and its a showstopper - is that when a =
logged in user sends a message through IMP, the folder that is created =
to save a copy of the message is nested inside an additional "INBOX". =
This means that the folder cannot then be read in other IMAP clients =
apart from IMP (such as Outlook Express) which just error when they try =
and check the nested folder.

I have searched the net and mailing lists extensively for an answer to =
this problem, and although there are other reports of it that were =
posted around February this year and answered by Jan, I can find no-one =
who has posted of any definate resolution.

To give a working example to make things clearer:
1) User "bob" logs into IMP.
2) Bob creates a folder "Test".=20

NOTE: Because we are using Courier-IMAP as the IMAP server the =
servers.php file has *BOTH* namespace and folders set to "INBOX." =
(although I have tried variations with one or both of those options =
disabled). I have been very careful to include the trailing dot, and =
have tried both with and without the trailing dot.

3) The message "INBOX.Test" was successfully created appears in the IMP =
screen and the folder is created without any problems. Messages can be =
moved from the inbox into the test problem without any hassles.
4) In the users Maildir directory on the mailserver, a ".Test" directory =
is created by the Courier-IMAP daemon. IE - the full path is =
/var/vpopmail/domains/domain.com/bob/Maildir/.Test
5) Bob now composes and sends a message, without changing any of his =
personal preferences. The system wide preference is to automatically =
save a copy of sent mail - as from the prefs.php file=20
$_prefs['sent_mail_folder'] =3D array(
    'value' =3D> 'Sent Items',
    'locked' =3D> false,
    'shared' =3D> true,
    'type' =3D> 'implicit'
6) After sending the message, a new sub-folder gets created under the =
INBOX folder in IMP. This sub-folder is called INBOX but unlike the Test =
folder Bob made at step 2, this one has a manilla folder graphic to its =
left rather than a mailbox graphic. Beneath this second INBOX, as a =
sub-folder, is a "Sent items" folder. This "Sent Items" folder has the =
standard mailbox graphic to its left. The mail bob has sent has been =
copied to this new INBOX/Sent Items folder.
7) Looking now at the directory structure on the mailserver shows=20
/var/vpopmail/domains/domain.com/bob/Maildir/.INBOX.Sent Items

It looks like IMP is choosing to create an INBOX.Sent Items folder =
rather than a Sent Items folder - but it is **ONLY** doing this when =
that folder is being auto-created to save a copy of outgoing mail. If I =
try to first create a "Test2" folder, and then specify that the test =
folder be used as the sent items folder, IMP simply creates a =
INBOX/Test2 folder the first time a message is sent, in addition to the =
Test2 folder than already exists. This would not be so serious a problem =
if it didn't cause Outlook Express to fail when trying to check the =
"nested" inbox that has been created.

My system setup is;
Redhat 7.2
Imp 3.1 with Horde 2.1
MySQL 3.23.49a
Courier-Imap 1.5.3
Vpopmail 5.3.8
Using the imap-2002.RC2=20

If anyone has any questions, or any suggestions at all I would be very =
grateful to hear them.

Cheers
David Leigh

---------------------- multipart/alternative attachment
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi All,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have been installing Imp 3.1 on a =
Redhat 7.2 box=20
(full details of all packages provided later in the email)&nbsp;for the =
past few=20
weeks. The install went smoothly, as did the addition of extra =
components like=20
xlhtml for inline reading or aspell for spell check.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The *only* problem I'm having - and its =
a=20
showstopper - is that when a logged in user sends a message through IMP, =
the=20
folder that is created to save a copy of the message is nested inside an =

additional "INBOX". This means that the folder cannot then be read in =
other IMAP=20
clients apart from IMP&nbsp;(such as&nbsp;Outlook Express) which just =
error when=20
they try and check the nested folder.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have searched the net and mailing =
lists=20
extensively for an answer to this problem, and although there are other =
reports=20
of it that were posted&nbsp;around February this year and answered by =
Jan, I can=20
find no-one who has posted of any definate resolution.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>To give a working example to make =
things=20
clearer:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>1) User "bob" logs into =
IMP.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>2) Bob creates a folder "Test". =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>NOTE: Because we are using Courier-IMAP =
as the IMAP=20
server the servers.php file has *BOTH* namespace and folders set to =
"INBOX."=20
(although I have tried variations with one or both of those options=20
disabled).&nbsp;I have been very careful to include the trailing dot, =
and have=20
tried both with and without the trailing dot.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>3) The message "INBOX.Test" was =
successfully=20
created appears in the IMP screen and the folder is created without any=20
problems. Messages can be moved from the inbox into the test problem =
without any=20
hassles.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>4) In the users Maildir directory on =
the=20
mailserver, a ".Test" directory is created by the Courier-IMAP daemon. =
IE - the=20
full path is =
/var/vpopmail/domains/domain.com/bob/Maildir/.Test</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>5) Bob now composes and sends a =
message, without=20
changing any of his personal preferences. The system wide preference is =
to=20
automatically save a copy of sent mail - as from the prefs.php file =
</FONT><FONT=20
face=3DArial size=3D2><BR>$_prefs['sent_mail_folder'] =3D =
array(<BR>&nbsp;&nbsp;&nbsp;=20
'value' =3D&gt; 'Sent Items',<BR>&nbsp;&nbsp;&nbsp; 'locked' =3D&gt;=20
false,<BR>&nbsp;&nbsp;&nbsp; 'shared' =3D&gt; =
true,<BR>&nbsp;&nbsp;&nbsp; 'type'=20
=3D&gt; 'implicit'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>6) After sending the message, a new =
sub-folder gets=20
created under the INBOX folder in IMP. This sub-folder is called INBOX =
but=20
unlike the Test folder Bob made at step 2,&nbsp;this one has a manilla =
folder=20
graphic&nbsp;to its left&nbsp;rather than a mailbox graphic. Beneath =
this second=20
INBOX, as a sub-folder,&nbsp;is a "Sent items" folder. This "Sent Items" =
folder=20
has the standard mailbox graphic to its left. The mail bob has sent has =
been=20
copied to this new INBOX/Sent Items folder.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>7) Looking now at the directory =
structure on the=20
mailserver shows </FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>/var/vpopmail/domains/domain.com/bob/Maildir/.INBOX.Sent=20
Items</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It looks like IMP is choosing to create =
an=20
INBOX.Sent Items folder rather than a Sent Items folder - but it is =
**ONLY**=20
doing this when that folder is being auto-created to save a copy of =
outgoing=20
mail. If I try to first create a "Test2" folder, and then specify that =
the test=20
folder be used as the sent items folder, IMP simply creates a =
INBOX/Test2 folder=20
the first time a message is sent, in addition to the Test2 folder than =
already=20
exists. This would not be so serious a problem if it didn't cause =
Outlook=20
Express to fail when trying to check the "nested" inbox that has been=20
created.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>My system setup is;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Redhat 7.2</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Imp 3.1 with Horde 2.1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>MySQL 3.23.49a</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Courier-Imap 1.5.3</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Vpopmail 5.3.8</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Using the imap-2002.RC2 </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If anyone has any questions, or any =
suggestions at=20
all I would be very grateful to hear them.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Cheers</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>David Leigh</FONT></DIV></BODY></HTML>

---------------------- multipart/alternative attachment--