Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
courier-imap and squirrelmail
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
echostorm
n00b
n00b


Joined: 29 Feb 2004
Posts: 3

PostPosted: Sun Feb 29, 2004 12:56 am    Post subject: courier-imap and squirrelmail Reply with quote

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
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Sun Feb 29, 2004 1:05 am    Post subject: Reply with quote

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
View user's profile Send private message
echostorm
n00b
n00b


Joined: 29 Feb 2004
Posts: 3

PostPosted: Wed Mar 03, 2004 3:10 am    Post subject: Reply with quote

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
View user's profile Send private message
echostorm
n00b
n00b


Joined: 29 Feb 2004
Posts: 3

PostPosted: Wed Mar 03, 2004 5:05 am    Post subject: Reply with quote

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
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed Mar 03, 2004 2:24 pm    Post subject: Reply with quote

Yes... the price of not running the Perl config script that comes with Squirrelmail ;-)
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum