Tweak in SM to directly view email in specified folder

Jean-Jacques de Jong <[email protected]>
Newsgroups gmane.mail.squirrelmail.devel
Message-ID <[email protected]>
Hi,

We have an IMAP mail server where we archive all our emails in a 
specific folder hierarchy. There are thousands of folders containing 
tens of thousands of emails.

I'd like to direct SM to a specific folder just by typing an URL with 
the folder name in it. Something like:
http://server/squirrelmail/?mailbox=.X.Y.Z.foldername.
If the user hasn't logged in yet, he should be directed to the login 
screen and then to the folder.

I managed to tweak and earlier version of SM, but I had to change code 
in various places. I'm not sure I did it optimally, and my tweaks are 
hard to port to later versions...

I wondered if anyone could advise on the best way to proceed, i.e. 
change one line of code in just one file.

A plus would be to show on the left pane the folder and its subfolders. 
SM apparently will do this for the subscribed folders, but I would need 
it for all subfolders. I tried the autosubscribe plugin, but this just 
subscribes to the whole hierarchy, which takes ages.

Thanks,
JJJ

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.