[imp] Imp is killing my horde!
Curtis Lahr
lahrcm at gmail.com
Fri Mar 31 16:09:59 PST 2006
You can try this to test it, worth a shot anyway.
Create this file -> /etc/c-client.cf
It should contain the following....
I accept the risk
set allow-reverse-dns 0
Those two lines should disable reverse dns lookups from imapd
On 3/31/06, Chris <grooveman at comcast.net> wrote:
> Curtis,
>
> I don't think so. My Mozilla mail client has no troubles. I have my
> host address defined in /etc/hosts, and I used localhost in the config
> file wherever possible, and all of horde runs on the same, underworked
> box. Also, I do have a reverse dns record for the address of this
> box... so I'm pretty sure I am covered there.
>
> Any other ideas?
>
> Thanks,
>
> Chris
>
>
> Curtis Lahr wrote:
>
> >Is it possible that your imap server is doing a reverse dns lookup
> >when you login? If it doesn't have a dns server available with a ptr
> >record for your web server (where imp is running) it may be the cause
> >of the slowdown.
> >
> >On 3/31/06, Chris <grooveman at comcast.net> wrote:
> >
> >
> >>Okay...
> >>
> >>At first I thought this was a horde problem, now I know it to be an imp issue... (see "sweating bullets" post on that list). After many, many hours of trouble shooting I have narrowed it down to imp -- but as there is no error output anywhere (that I can find), trouble shooting is difficult.
> >>
> >>To make a long story short, in desperation, I started tearing apart my
> >>horde. I found that everything worked great, horde, nag, kronolith,
> >>turba, ingo... until I added imp.
> >>
> >>Imp is the culprit. I don't know why it suddenly decided to get
> >>grumpy (prior to March 28th, it was runing fine for months)... but it is what is dragging my system down. I had not made any changes to my system what-so-ever for weeks. Now it takes anywhere from 5 - 10 minutes a page load (literally).
> >>
> >>I unpacked imp,
> >>edited my servers.php, then logged in to change my configurations via
> >>the gui, and bam -- instant slow-down. I restarted apache a few times
> >>-- no help. Then, I removed imp, and bam -- it is running great... Very
> >>strange. Of course, imp is the most critical application to have working!
> >>
> >>I can access my Imap and smtp through my thick mail client and they are
> >>nice and peppy. So no problems there... I have also loaded an old webpage I had to the server, and it works just fine. It is only hore, and only horde when Imp is configured.
> >>
> >>I am hoping that I misconfigured something and someone can help me figure this out, I cannot see what I might have done wrong... (my brain is mush now). Here are my config files for imp:
> >>
> >>Thank you all for your help so far... just a little more please.
> >>
> >>
> >>servers.php
> >>---------------------------------------------------------------
> >>$servers['imap'] = array(
> >> 'name' => 'myserver.com',
> >> 'server' => 'localhost',
> >> 'hordeauth' => false,
> >> 'protocol' => 'imap/ssl/novalidate-cert',
> >> 'port' => 993,
> >> 'folders' => 'mail/',
> >> 'namespace' => '',
> >> 'maildomain' => 'myserver.com',
> >> 'smtphost' => 'localhost',
> >> 'smtpport' => 25,
> >> 'realm' => '',
> >> 'preferred' => '',
> >> 'dotfiles' => false,
> >> 'hierarchies' => array()
> >>);
> >>
> >>if ($GLOBALS['conf']['kolab']['enabled']) {
> >> $servers['kolab'] = array(
> >> 'name' => 'Kolab Cyrus IMAP Server',
> >> 'server' => $GLOBALS['conf']['kolab']['imap']['server'],
> >> 'hordeauth' => 'full',
> >> 'protocol' => 'imap/notls/novalidate-cert',
> >> 'port' => $GLOBALS['conf']['kolab']['imap']['port'],
> >> 'folders' => '',
> >> 'namespace' => 'INBOX/',
> >> 'maildomain' => $GLOBALS['conf']['kolab']['imap']['maildomain'],
> >> 'realm' => '',
> >> 'preferred' => '',
> >> 'quota' => array(
> >> 'driver' => 'cyrus',
> >> 'params' => array(
> >> 'login' => $GLOBALS['conf']['kolab']['imap']['adminuser'],
> >> 'password' => $GLOBALS['conf']['kolab']['imap']['adminpw'],
> >> 'userhierarchy' => 'user.',
> >> // Although these defaults are normally all that is
> >>required,
> >> // you can modify the following parameters from their
> >>default
> >> // values.
> >> 'protocol' => 'imap/notls/novalidate-cert',
> >> 'hostspec' => 'localhost',
> >> 'port' => 143
> >> )
> >> ),
> >> 'acl' => array(
> >> 'driver' => 'rfc2086',
> >> ),
> >> 'dotfiles' => false,
> >> 'hierarchies' => array()
> >> );
> >>}
> >>--------------------------------------------------------------------------------
> >>
> >>conf.php (for imp)
> >>-------------------------------------------------------------------------------
> >>
> >>$conf['utils']['spellchecker'] = '/usr/local/bin/aspell';
> >>$conf['utils']['gnupg_keyserver'] = array('wwwkeys.pgp.net');
> >>$conf['utils']['gnupg_timeout'] = '10';
> >>$conf['utils']['openssl_cafile'] = '/somewhere/ca-bundle.crt';
> >>$conf['utils']['openssl_binary'] = '/usr/bin/openssl';
> >>$conf['menu']['apps'] = array('horde', 'imp', 'ingo', 'nag', 'turba');
> >>$conf['user']['allow_folders'] = true;
> >>$conf['user']['allow_view_source'] = true;
> >>$conf['user']['allow_resume_all'] = false;
> >>$conf['user']['allow_resume_all_in_drafts'] = false;
> >>$conf['user']['alternate_login'] = false;
> >>$conf['user']['redirect_on_logout'] = false;
> >>$conf['user']['select_sentmail_folder'] = false;
> >>$conf['server']['server_list'] = 'hidden';
> >>$conf['server']['change_server'] = false;
> >>$conf['server']['change_port'] = false;
> >>$conf['server']['change_protocol'] = false;
> >>$conf['server']['change_folders'] = false;
> >>$conf['server']['sort_limit'] = '0';
> >>$conf['server']['cache_folders'] = true;
> >>$conf['mailbox']['show_attachments'] = true;
> >>$conf['mailbox']['show_preview'] = true;
> >>$conf['mailbox']['show_xpriority'] = false;
> >>$conf['fetchmail']['show_account_colors'] = false;
> >>$conf['fetchmail']['size_limit'] = '4000000';
> >>$conf['msgsettings']['filtering']['words'] = './config/filter.txt';
> >>$conf['msgsettings']['filtering']['replacement'] = '****';
> >>$conf['spam']['reporting'] = false;
> >>$conf['notspam']['reporting'] = false;
> >>$conf['msg']['prepend_header'] = true;
> >>$conf['msg']['append_trailer'] = false;
> >>$conf['compose']['use_vfs'] = true;
> >>$conf['compose']['allow_cc'] = true;
> >>$conf['compose']['allow_bcc'] = true;
> >>$conf['compose']['allow_receipts'] = true;
> >>$conf['compose']['special_characters'] = false;
> >>$conf['compose']['link_attachments'] = false;
> >>$conf['compose']['add_maildomain_to_unexpandable'] = true;
> >>$conf['compose']['attach_size_limit'] = '10485760';
> >>$conf['compose']['attach_count_limit'] = '5';
> >>$conf['hooks']['vinfo'] = 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['maillog']['use_maillog'] = true;
> >>$conf['tasklist']['use_tasklist'] = true;
> >>
> >>-------------------------------------------------------------------
> >>
> >>
> >>conf.php (for horde)
> >>-------------------------------------------------------------------
> >>
> >>mrubinsk Exp $
> >>$conf['debug_level'] = E_ALL;
> >>$conf['max_exec_time'] = 0;
> >>$conf['use_ssl'] = 2;
> >>$conf['server']['name'] = $_SERVER['SERVER_NAME'];
> >>$conf['server']['port'] = $_SERVER['SERVER_PORT'];
> >>$conf['compress_pages'] = true;
> >>$conf['umask'] = 077;
> >>$conf['tmpdir'] = '/tmp';
> >>$conf['session']['name'] = 'Horde';
> >>$conf['session']['cache_limiter'] = 'nocache';
> >>$conf['session']['timeout'] = 0;
> >>$conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
> >>$conf['cookie']['path'] = '/horde';
> >>$conf['sql']['persistent'] = false;
> >>$conf['sql']['hostspec'] = 'localhost';
> >>$conf['sql']['username'] = 'XXXXX';
> >>$conf['sql']['password'] = 'YYYYYY';
> >>$conf['sql']['socket'] = '/var/run/mysql/mysql.sock';
> >>$conf['sql']['protocol'] = 'unix';
> >>$conf['sql']['database'] = 'horde';
> >>$conf['sql']['charset'] = 'iso-8859-1';
> >>$conf['sql']['phptype'] = 'mysql';
> >>$conf['auth']['admins'] = array('admin', 'joe');
> >>$conf['auth']['checkip'] = true;
> >>$conf['auth']['params']['driverconfig'] = 'horde';
> >>$conf['auth']['params']['encryption'] = 'md5-hex';
> >>$conf['auth']['params']['show_encryption'] = false;
> >>$conf['auth']['driver'] = 'sql';
> >>$conf['signup']['allow'] = false;
> >>$conf['signup']['approve'] = true;
> >>$conf['signup']['preprocess'] = false;
> >>$conf['signup']['queue'] = false;
> >>$conf['log']['priority'] = PEAR_LOG_DEBUG;
> >>$conf['log']['ident'] = 'HORDE';
> >>$conf['log']['params'] = array();
> >>$conf['log']['name'] = '/tmp/horde.log';
> >>$conf['log']['params']['append'] = true;
> >>$conf['log']['params']['mode'] = 01200;
> >>$conf['log']['type'] = 'file';
> >>$conf['log']['enabled'] = true;
> >>$conf['log_accesskeys'] = false;
> >>$conf['prefs']['params']['driverconfig'] = 'horde';
> >>$conf['prefs']['driver'] = 'sql';
> >>$conf['datatree']['params']['phptype'] = 'mysql';
> >>$conf['datatree']['params']['persistent'] = false;
> >>$conf['datatree']['params']['socket'] = '/var/run/mysql/mysql.sock';
> >>$conf['datatree']['params']['protocol'] = 'unix';
> >>$conf['datatree']['params']['hostspec'] = 'mx1.brokensolstice.com';
> >>$conf['datatree']['params']['username'] = 'horde';
> >>$conf['datatree']['params']['password'] = 'horde';
> >>$conf['datatree']['params']['database'] = 'horde';
> >>$conf['datatree']['params']['charset'] = 'iso-8859-1';
> >>$conf['datatree']['params']['driverconfig'] = 'custom';
> >>$conf['datatree']['driver'] = 'sql';
> >>$conf['group']['driver'] = 'datatree';
> >>$conf['cache']['default_lifetime'] = 1800;
> >>$conf['cache']['params']['dir'] = Horde::getTempDir();
> >>$conf['cache']['driver'] = 'file';
> >>$conf['token']['driver'] = 'none';
> >>$conf['mailer']['params']['sendmail_path'] = '/bin/mini_sendmail';
> >>$conf['mailer']['params']['sendmail_args'] = '-oi';
> >>$conf['mailer']['type'] = 'sendmail';
> >>$conf['vfs']['params']['driverconfig'] = 'horde';
> >>$conf['vfs']['type'] = 'sql';
> >>$conf['sessionhandler']['type'] = 'none';
> >>$conf['problems']['email'] = 'admin at myserver.com';
> >>$conf['menu']['always'] = true;
> >>$conf['menu']['links']['help'] = 'all';
> >>$conf['menu']['links']['options'] = 'authenticated';
> >>$conf['menu']['links']['problem'] = 'all';
> >>$conf['menu']['links']['login'] = 'all';
> >>$conf['menu']['links']['logout'] = 'authenticated';
> >>$conf['hooks']['username'] = false;
> >>$conf['hooks']['preauthenticate'] = false;
> >>$conf['hooks']['postauthenticate'] = false;
> >>$conf['hooks']['authldap'] = false;
> >>$conf['weatherdotcom']['partner_id'] = 'xxxxx';
> >>$conf['weatherdotcom']['license_key'] = 'yyyyy1';
> >>$conf['fortune']['exec_path'] = '/usr/games/fortune';
> >>$conf['kolab']['enabled'] = false;
> >>$conf['imsp']['enabled'] = false;
> >>
> >>------------------------------------------------------------
> >>
> >>Note, I was using imp for authentication, but obviously I had to change
> >>that to get rid of imp. When all is working again, I intend to return
> >>to using imp for auth.
> >>
> >>
> >>Thank you all again.
> >>
> >>System Summary:
> >>horde 3.0.9
> >>nag 2.0.4
> >>ingo 1.0.2
> >>kronolith 2.0.6
> >>turba 2.0.5
> >>imp 4.0.4
> >>php 4.4.0
> >>imap-uw (imaps via ssl)
> >>apache 1.3.29 (chroot)
> >>OpenBSD 3.8
> >>Pentium IV 3.0 ghz
> >>2GB ram
> >>
> >>
> >>This box does nothing but mail/horde... (sendmail, imap-uw, clamav,
> >>smtpvilter, spamassassin) for 25 users (at the moment)
> >>
> >>Chris
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>--
> >>IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> >>Frequently Asked Questions: http://horde.org/faq/
> >>To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> >>
> >>
> >>
>
> --
> This address is soon to be defunct.
> If you are anyone at all important to me, please
> contact me, and I will get you my new email address.
> Thanks,
>
> Chris
>
>
More information about the imp
mailing list