Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#108 IMAP server login hook?

closed-wont-fix
nobody
5
2003-04-04
2002-03-07
Anonymous
No

I'm writing a virtualhosting plugin for squirrelmail
but had to hack up imap_general.php's sqimap_login
method in order to modify login information passed to
the IMAP server.

Specifically, I change the imapServerAddress and
username based on the user information people log in
as. This is either a 'user@domain' or a user combined
with a domain extracted from the CGI environment
(SERVER_NAME).

Can you add a hook to future versions of squirrelmail
to do this? It seems like a pretty useful thing for
plugin writers to use!

thanks!

Discussion

  • Chris Hilts
    Chris Hilts
    2003-04-04

    • status: open --> pending-wont-fix
     
  • Chris Hilts
    Chris Hilts
    2003-04-04

    Logged In: YES
    user_id=626255

    Wouldn't it be much much easier to do this in the login form
    as opposed to doing it over and over again every time you
    want to connect to the imap server?

     
  • Erin Schnabel
    Erin Schnabel
    2003-04-04

    • status: pending-wont-fix --> closed-wont-fix
     
  • Erin Schnabel
    Erin Schnabel
    2003-04-04

    Logged In: YES
    user_id=644252

    The vdomain plugin provides this functionality. even if it
    doesn't exactly suit your needs, it should have code you can
    borrow, and suggestions for how to do this.