[imp] Speeding up imap

Kent Martin horde at kentsworld.com
Mon Dec 6 07:30:28 PST 2004


I have a script that will give me an imap session for any user on stdio.

How hard would it be to get IMP to talk to the IO of this script rather 
than connect to an IMAP server?

Essentially, I would like to change from:

Connect->host:port
Authenticate & converse IMAPese with socket

to:

Invoke shell script
(No auth needed - will get horde to do that from sql/other backend - the 
first line to come on stdout from the script is "* PREAUTH Ready." )
Converse IMAPese with stdio of invoked script

Is this something that can be done through one of the drivers available 
in imp/config/servers.php, or, is it fairly simple to do somewhere else 
in the code?

If the above is easy to do, it will be a far better way for courier 
users to configure IMP when the mailstore is FS accessable to the 
webserver (it skips all socket operations).

This is a simpler rewrite of something I sent to this list a couple of 
days ago, but, I am worried I put so much preamble into that mail that 
nobody read it through enough to determine what I was trying to do.


Regards,

Kent.


More information about the imp mailing list