[imp] Problem configuring message cache

John Murtari jmurtari at thebook.com
Sun Mar 1 18:23:17 UTC 2009


Folks,

        Just setup the newest release, horde-webmail-1.2.2, which
includes imp-3.2.5 on RHEL 4, APache 1.3.41 and PHP 5.2.8.   We are in
testing, before releasing this to our general user community.

        I tried to turn on simple file caching to improve performance.
I've included some of the current config file settings below.  If I
look in the cache dir it appears that files are never deleted?

        The problem we are seeing is this.  Starting with an empty
cache, simple POP, no IMAP.  Login and check your INBOX.  You can
read through all the messages fine.   Delete one of the messages,
from then on any later message seems off-by-one, i.e. I see the
correct subject as shown in the IMP summary display, but if I click
to read the message, the body looks to be from the next message?

        I did some Googling on this and couldn't find much.  I'm
pretty sure our settings our screwed up, but I did use the admin
GUI.   I'd welcome any suggestions. We do not want to setup a memcache
server.

        Thanks.


-- 
                                          John
___________________________________________________________________
John Murtari                              Software Workshop Inc.
jmurtari at thebook.com 315.635.1968(x-211)  "TheBook.Com" (TM)
http://www.thebook.com/

----------------- horde/config/conf.php  (just cache stuff)
$conf['session']['cache_limiter'] = 'nocache';
$conf['group']['cache'] = false;
$conf['share']['cache'] = false;
$conf['cache']['default_lifetime'] = 3600;
$conf['cache']['params']['dir'] = '/pub/comwww/thebook/horde/cache';
$conf['cache']['params']['sub'] = 1;
$conf['cache']['driver'] = 'file';
$conf['sessionhandler']['memcache'] = false;
$conf['memcache']['enabled'] = false;



----------------- imp/config/conf.php
<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: imp/config/conf.xml,v 1.53.2.39 2008/09/03 18:56:45 slusarz Exp $
$conf['spell']['driver'] = '';
$conf['utils']['gnupg_keyserver'] = array('pgp.mit.edu');
$conf['utils']['gnupg_timeout'] = 10;
$conf['menu']['apps'] = array();
$conf['user']['select_sentmail_folder'] = false;
$conf['user']['allow_resume_all_in_drafts'] = false;
$conf['user']['allow_folders'] = true;
$conf['user']['allow_resume_all'] = false;
$conf['user']['allow_view_source'] = true;
$conf['user']['alternate_login'] = false;
$conf['user']['redirect_on_logout'] = false;
$conf['user']['select_view'] = true;
$conf['server']['server_list'] = 'shown';
$conf['server']['fixed_folders'] = array();
$conf['server']['sort_limit'] = 0;
$conf['server']['cache_folders'] = true;
$conf['server']['token_lifetime'] = 1800;
$conf['server']['cachejs'] = 'none';
$conf['server']['cachecss'] = 'none';
$conf['mailbox']['show_preview'] = false;
$conf['fetchmail']['show_account_colors'] = false;
$conf['fetchmail']['size_limit'] = 4000000;
$conf['msgcache']['compress']['method'] = 'gzip';
$conf['msgcache']['use_compress'] = true;
$conf['msgcache']['preview_size'] = 1000;
$conf['msgcache']['lifetime'] = 3600;
$conf['msgcache']['use_msgcache'] = true;
$conf['mlistcache']['lifetime'] = 3600;
$conf['mlistcache']['use_mlistcache'] = true;
$conf['msgsettings']['filtering']['words'] = './config/filter.txt';
$conf['msgsettings']['filtering']['replacement'] = '****';
$conf['spam']['reporting'] = false;
$conf['notspam']['reporting'] = false;
$conf['print']['add_printedby'] = false;
$conf['msg']['prepend_header'] = true;
$conf['msg']['append_trailer'] = true;
$conf['compose']['allow_receipts'] = true;
$conf['compose']['special_characters'] = true;
$conf['compose']['use_vfs'] = false;
$conf['compose']['link_all_attachments'] = false;
$conf['compose']['link_attachments_notify'] = true;
$conf['compose']['link_attachments'] = true;
$conf['compose']['attach_size_limit'] = 0;
$conf['compose']['attach_count_limit'] = 0;
$conf['compose']['reply_limit'] = 200000;
$conf['hooks']['vinfo'] = false;
$conf['hooks']['postlogin'] = false;
$conf['hooks']['postsent'] = false;
$conf['hooks']['signature'] = false;
$conf['hooks']['trailer'] = false;
$conf['hooks']['fetchmail_filter'] = false;
$conf['hooks']['mbox_redirect'] = false;
$conf['hooks']['mbox_icon'] = false;
$conf['hooks']['spam_bounce'] = false;
$conf['hooks']['msglist_format'] = false;
$conf['maillog']['use_maillog'] = true;
$conf['sentmail']['params']['threshold'] = 30;
$conf['sentmail']['params']['limit_period'] = 24;
$conf['sentmail']['params']['table'] = 'imp_sentmail';
$conf['sentmail']['params']['driverconfig'] = 'horde';
$conf['sentmail']['driver'] = 'sql';
$conf['tasklist']['use_tasklist'] = true;
$conf['notepad']['use_notepad'] = true;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */


More information about the imp mailing list