David, SM says this IMAP Proxy - A caching IMAP proxy server can vastly improve SquirrelMail performance by cutting down on the number of times you have to create a new connection to the IMAP server. It keeps server connections alive for reuse avoiding a new IMAP connection for each SquirrelMail transaction. You run the proxy on your webserver (SquirrelMail connects to localhost) and the Proxy connects to your IMAP server. A side benefit is your logs are not full of IMAP logins. The following caching IMAP proxies have worked well for other people with Squirrelmail. http://freshmeat.net/projects/imapproxy - this is a caching IMAP proxy server. Messages load almost as fast as I can hit the next button in SquirrelMail! It is opensource and free. It took me about 15 minutes to download, compile and configure it. The package is written in C. The author includes a makefile for Solaris and Linux. The latest version allows log levels to be configured at runtime from the config file. http://www.kuleuven.net/projects/imapproxy/ - the caching IMAP proxy designed for use with Horde, GPL and also works with Squirrelmail. http://www.squirrelmail.org/wiki/en_US/SquirrelMailPerformance Thank you, -Abdullah
"Niblett, David A" <[EMAIL PROTECTED]> wrote: Nope, don't use that. But that's an interesting program. I know that SquirrelMail does log in for everything, but that doesn't seem to affect my DB much, however, that all is completely dependant on the number of simultaneous users of SquirrelMail. My big thing is that I wish SM was written to use persistent DB connections for things like preferences and such. That's a killer to watch it constantly checking the preferences each time. At the same time, I certainly understand not caching DB connections because that adds a whole layer of overhead. -- David A. Niblett | email: [EMAIL PROTECTED] Network Administrator | Phone: (352) 334-3400 Gainesville Regional Utilities | Web: http://www.gru.net/ -----Original Message----- From: Abdullah Ibn Hamad [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 10:06 AM To: DBMail mailinglist Subject: RE: [Dbmail] DBmail IMAP issues David, Thank you again. I did read in some mailing lists it's releated to SQmail and ImapProxy, did you try the ImapProxy with SQmail? http://lists.pitt.edu/pipermail/imapproxy-info/2004-February/000211.html Thank you, -Abullah "Niblett, David A" <[EMAIL PROTECTED]> wrote: Sorry, I didn't realize that they were two different errors. I have seen the other one seperately before, and if I recall correctly I think we found that the application that we wrote to add users to dbmail was creating the INBOX entry in dbmail_mailboxes with a permission of 1 and not 2. You might want to check that, as I remember it caused some problem. -- David A. Niblett | email: [EMAIL PROTECTED] Network Administrator | Phone: (352) 334-3400 Gainesville Regional Utilities | Web: http://www.gru.net/ -----Original Message----- From: Abdullah Ibn Hamad [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 3:10 AM To: DBMail mailinglist Subject: [Dbmail] RE: DBmail IMAP issues David, That was a great help, thank you! What about this error? ERROR : Connection dropped by imap-server. Thank you, -Abdullah "Niblett, David A" <[EMAIL PROTECTED]> wrote: Abdullah, Check the users account for a zero size message. We found that if we shutdown LMTP without shutting down postfix first we would get messageblk entries with a completely empty (not null) messageblk field. That usually hosed up squirrelmail. Mozilla would show an empty message, and not allow you to delete it. If you can pop to the users box with telnet, you can do the LIST command and check for a zero size message. If you find one, you can DELE <msg #> to get rid of it. Try and and then check in squirrelmail. We also have a check in place now looking for this issue since dbmail-util does not seem to look for messages like that. Since we use postgres we are going to encapsulate the LMTP deliver within a SQL transaction. Most likely I'll be posting another patch to dbmail for those that are interested that will contain transactions for psql users. -- David A. Niblett | email: [EMAIL PROTECTED] Network Administrator | Phone: (352) 334-3400 Gainesville Regional Utilities | Web: http://www.gru.net/ -----Original Message----- From: Abdullah Ibn Hamad [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 3:54 PM To: DBMail mailinglist Subject: [Dbmail] DBmail IMAP issues Hello Folks, I use DBmail in my server. OS: FreeBSD 5.4-STABLE. DB: MySQL 5.0.7 DBmail version 2.0.4 Webmail: SQmail 1.4.4 I have some issues with the DBmail, sometimes I get a server response saying IMAP dropped the connection. Now I wanted to search some mails, and I got this response: "Warning: strpos(): Offset not contained in string. in /usr/home/mainwww/mail_htdocs/functions/imap_messages.php on line 523 ERROR : Could not complete request. Unknown response from IMAP server: 1." Your help is much appreciated. Thank you, -Abdullah __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com