Hello Mike,
On Tuesday, February 18, 2003, Mike Vanecek wrote...

>>> I am experiencing the following problem when I access the folders
>>> page. Everything is working just peachy, but I can't create
>>> folders as sub-folders to other folders.

>> Along with what Chris suggested, what IMAP server are you using? I
>> had that problem with UW-IMAP as it tries to read the home
>> directory of the user.

> Jonathan, which IMAP server should be configured for RH 7.1?

UW-IMAP :)  For creating folders inside others, the "top" folder must
be created with a / on the end, for example:

  squirrelmail/

Then you can put "users" inside that. As for the timing out when you
go to look at the folders page, I suggest you take a quick read of the
attached email. I had the same problem when I was using UW-IMAP, and
applied the fix in the attached email. The other method is to use the
default folder prefix in your configuration (run config/conf.pl option
#4 I think), and set it to something like mail/ which forces
SquirrelMail to request mail/* files only. Of course, this means that
you'll have to move all the mail files for the user into the mail/
directory.

> BTW, how to you get the

>> Hello Bogi,
>> On Tuesday, February 18, 2003, Bogi Mouritsen wrote...

> quote headers in SM?

X-Mailer: The Bat! (v1.63 Beta/7) Personal

I don't ;) At least not most of the time when I'm at work. Somebody
did submit a patch to produce something to the effect above, something
we need to review and implement.

-- 
Jonathan Angliss
([EMAIL PROTECTED])
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

A while back I posted a question on a problem I was having with SM,
and uw-imapd when I went to the folders list, it'd freeze the whole
site for ages, then timeout, spawning several imapd processes, and
forcing a massive load on the server. With assistance from Tod
Weitzel, we were able to pinpoint the issue, and managed to find a way
about it. I believe the problem is caused when the imapd server tries
to cascade into all sub-directories trying to establish a list of
subscribed folders for the user. In my case I have about 20 folders,
with 3 symlinks to other folders on the drive for websites etc. When
uw-imapd cascaded through those folders it'd suck up all the resources
to do so, and spawning several imapd services at the same time. The
solution Tod came up with is as follows (this is documented in the
uw-imap docs):

,----- [ docs/CONFIG ]
| Example 2: suppose you want to change c-client's idea of the
| user's mailbox directory to be the "mail" subdirectory of the user's
| home directory instead of the user's home directory.  You will want to
| change variable mailsubdir, changing the line that reads:
|
| static char *mailsubdir = NIL;  /* mail subdirectory name */
|  to be:
| static char *mailsubdir = "mail";/* mail subdirectory name */
`-----

When doing this, it forces uw-imapd to work inside the ~/mail
directory, and not cascading through sub-directories in the ~/. This
probably saves a lot of resources doing it this way. If anybody else
is having a similar problem, you may want to try this solution.

Thanks to Tod for the assistance.

- --
Jonathan Angliss
([EMAIL PROTECTED])

-----BEGIN PGP SIGNATURE-----
Version: 6.5.8ckt

iQA/AwUBPU6TmSuD6BT4/R9zEQKSfwCdFHKxacC1VKNbAUjsctRC3gvG3PoAn2+0
n/jCRm5VsACaVEjsSkCrzb5L
=KW7b
-----END PGP SIGNATURE-----



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
http://squirrelmail.org/cvs
--- End Message ---

Reply via email to