View previous topic :: View next topic |
Author |
Message |
echostorm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Feb 2004 Posts: 3
|
Posted: Sun Feb 29, 2004 12:56 am Post subject: courier-imap and squirrelmail |
|
|
i have my courier-imap and postfix setup working quite nicely with the ports being forwarded through my firewall and using the mozilla email client. however on school computers i would like to be able to use https and not have to have an email client installed. i installed squirrelmail 1.4.0 and it's able to read my maildir setup (i.e. my INBOX shows up) but i cannot get my other folders to show up. i've played around with the configs a bunch and searched a lot, reading other peoples' hacks for getting maildir support. the only thing that i can think of is the fact that my setup is as follows:
~:
.maildir:
cur/
new/
tmp/
courierimapkeywords/
courierimapsubscribe
courierimapuiddb
then i have my subfolders which are .Sent, .School, and .Trash, each containing the same as above. They show up in my mail client as simply "Sent, School, Trash" (no leading ".") so I'm guessing it's just how courier likes it. however when i try to subscribe to these folders they do not show up. now i realize it is not the end of the world, but i would like to be able to view my trash and my outbox if possible. anybody? thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
adaptr Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/17218567054377b9b6104ea.jpg)
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Sun Feb 29, 2004 1:05 am Post subject: |
|
|
How did you set up those subfolders ?
If your mail system uses a Maildir structure every subfolder has to be a maildir as well.
Normal folders simply don't work, i.e. there is no concept of folders that just contain other folders in Maildir-land...
Nothing to do with Courier - it's in the Maildir specs.
You have to make every subfolder of the root maildir a maildir as well, use:
Code: | maildirmake -f ~/Maildir/.Subfolder |
to make sub-maildirs.
Why would you need "hacks" to get maildir support for either Postfix or Squirrelmail ?
Both support Maildirs out of the box. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
echostorm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Feb 2004 Posts: 3
|
Posted: Wed Mar 03, 2004 3:10 am Post subject: |
|
|
i didn't create the folders by hand -- i did it from within my mail client (mozilla thunderbird), communicating remotely to my courier-imap server. so yes, the subfolder of .maildir/.sent IS a maildir style folder, that is it has the cur/ tmp/ and new/ folders that have all the messages in it. the only reason i thought there might be hacks for squirrelmail was because i could not for the life of me get it to subscribe to my folders. after searching around on google i came accros http://www.squirrelmail.org/wiki/en_US/SquirrelMailAndCourierIMap
which suggested i might need some type of a hack to get it to work. i'm still stumped. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
echostorm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Feb 2004 Posts: 3
|
Posted: Wed Mar 03, 2004 5:05 am Post subject: |
|
|
fixed it!
the problem was that in my squirrelmail/data/user.pref file i had a variable defining a prefix for mailbox names as ".maildir" when it was supposed to be blank. i simply deleted this line and my folders showed up. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
adaptr Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/17218567054377b9b6104ea.jpg)
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Wed Mar 03, 2004 2:24 pm Post subject: |
|
|
Yes... the price of not running the Perl config script that comes with Squirrelmail ![Wink ;-)](images/smiles/icon_wink.gif) _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|