acqant wrote:
Thanks for the responses! I sent the original from the wrong email thanks for the heads up.
Anyway. I plan on using Perdition and pointing Squirrelmail to that so it's perditions job to get them to the correct IMAP/POP server. The biggest problem isn't so much vlogin but the vacation plugin.
I was hoping the plugins used session based user environment variables instead of startup initialization. Then if you used something like a vlogin or ldapuserdata the other plugins, like vacation, would get it's server information from that.
Eh? If you give SM a username and pass it along to the IMAP server or other proxy software, then why do you ever expect SM will have anything other than the original username? What is your vacation system? If you have something like Maildrop, the courier-vacation plugin has a LDAP backend I can send you, but the way your system works, it'd need to be modified.
If someone could point me to a part in the development guide that would explain how I could pass username and imap server via login attributes/envrionment variables I'll be glad to hack up vlogin and vaction.
Dig in the code yourself. I am not sure what you're trying to do.
On Sat, 2005-04-09 at 20:00 -0400, anthony wrote:
Does anyone know if any of the plugins use LDAP to get IMAP server info based on the username?
As Paul wrote, the easiest solution would probably be to write some code for the vlogin plugin for your case.
The closest thing I have see is the vlogin plugin that uses regular expression to direct the user to the right IMAP server. But then that defeats the whole ldap based routing feature of putting any user on any server.
Hm. Because Squirrelmail by itself is just a client, it usually leaves this up to the IMAP server. How do your IMAP clients *know* which server to connect to? :/
A more advanced solution would be to use Cyrus Murder setup. If Squirrelmail supports at some time IMAP Referals and connects to the right server every time, it will even save you load on the master server.
Another idea would be to take a look at my ldapuserdata plugin. In this plugin, among other things I am getting imapserver ldap attribute but not really using it. Because I simply rely on IMAP server authentication, that happens on LDAP anyway, you should really hack this your own way and make some use out of it, or use it in conjuction with vlogin and being very careful too. If you think that this could be possible, check http://email.uoa.gr/projects/squirrelmail/ldapuserdata.php and download from my CVS rep.
BTW, you should really not disclose so many personal details (phone #s etc) in public!
-- Alexandros Vellis University of Athens [EMAIL PROTECTED] Network Operations Centre
--
Open Guild, LLC http://openguild.net/ Software.Systems.Solutions
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
