> > If the multilogin plugin stored preferences (and address books and > > personal dictionaries) into a format such as > > data/imap-server/imap-username - we might be able to use it, instead > > of creating multiple instances of SM.. but since we'd want to change > > configuration options based on which IMAP server the user logs into, > > I'm not sure if this would be the best solution. > > Well, I'd be happy to take a look at the plugin, or contact you off > list, and discuss some more precise needs, and be willing to work on > it directly with you guys.
It has to be a source hack, no real way around it that I can think of; no way to make it a plugin (although mulitlogin is already a patch). See my last email. > > I haven't really looked into the vlogin plugin much because it > > appeared to be for ISPs that want to have multiple domains/names for > > the same IMAP server.. but I'll pull it down and see if it might be > > an option. > > I think it can work in both directions, would have to get Paul to > shout up on that one as he's been doing a lot of work on it. It does, like multilogin, allow you to change any and all settings in SquirrelMail's main config file on a per-domain or even per-user basis (multilogin does it, of course, on a per-IMAP server basis). Its original intent was as you guessed, but it has evolved to offer a lot more flexibility than that. If you are able to sniff a unique URL to base which IMAP server to use, or if you can categorize users according to the format of their username, you could use its per-user functionality to dynamically assign an IMAP server (and any other settings). The most recent version allows the use of wildcards to specify users in the per-user settings to make this much more powerful (I've attached it to this email, as it's not yet released). Cheers, paul
vlogin-3.2.tar.gz
Description: Binary data
