[imp] Weird Authentication Issue after Update

Dan Wilson dan at acucore.com
Thu Jan 2 15:35:54 PST 2003


A few days ago I updated from CVS-HEAD.  Seeing as I hadn't updated my 
servers.php file in a while, I went ahead and did so, making all the usual 
changes to the new file (copied from the .dist).

I also updated all the other .dist files (which I usually don't customize 
except of course conf.php from conf.xml).  I logged out and could not log back 
in.

Here's the weird thing... I have Horde set to authenticate with IMP.  
Sometimes it will let me into Horde, but as soon as I click the Mail link, I I 
get kicked out.  So it authenticates fine, but the session (or something) 
doesn't maintain the authentication.

I have been over the config files and compared them to a working (but much 
older HEAD [from July] version) installation.  Everything seems to be correct.

I even thought perhaps some new functionality was using PHP 4.3, so I upgraded 
my server with the lastest PHP and PEAR... but still nothing.

Here is my test page (The error from File.php was there before):
http://webmail.acucore.com/test.php [IMAP tests work fine]

Here is the relative part of my servers.php (I'm using Courier-Imap):

$servers['imap'] = array(
    'name' => 'IMAP Server',
    'server' => 'localhost',
    'protocol' => 'imap/notls',
    'port' => 143,
    'folders' => '',
    'namespace' => 'INBOX.',
    'maildomain' => 'acucore.com',
    'smtphost' => 'localhost',
    'realm' => '',
    'preferred' => '',
    'quota' => false);

And here is my conf.php:
$conf['utils']['spellchecker'] = '/usr/bin/aspell';
$conf['utils']['gnupg'] = '/usr/bin/gpg';
$conf['utils']['gnupg_keyserver'] = 'wwwkeys.pgp.net';
$conf['utils']['openssl_cafile'] = '/usr/share/ssl/certs/ca-bundle.crt';
$conf['menu']['apps'] = array();
$conf['user']['allow_folders'] = true;
$conf['user']['allow_view_source'] = true;
$conf['user']['allow_resume_all'] = true;
$conf['user']['allow_resume_all_in_drafts'] = true;
$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']['show_dotfiles'] = false;
$conf['server']['hierarchies'] = array();
$conf['mailbox']['date_format'] = '%x';
$conf['mailbox']['time_format'] = '%X';
$conf['mailbox']['max_from_chars'] = 40;
$conf['mailbox']['max_subj_chars'] = 50;
$conf['mailbox']['from_link'] = 'compose';
$conf['mailbox']['show_attachments'] = true;
$conf['mailbox']['show_preview'] = false;
$conf['msg']['prepend_header'] = false;
$conf['msg']['append_trailer'] = false;
$conf['msg']['filtering']['words'] = './config/filter.txt';
$conf['msg']['filtering']['replacement'] = '****';
$conf['spam']['reporting'] = true;
$conf['spam']['email'] = '';
$conf['spam']['program'] = '/usr/local/bin/spamassassin -r';
$conf['compose']['use_vfs'] = false;
$conf['compose']['allow_cc'] = true;
$conf['compose']['allow_bcc'] = true;
$conf['compose']['date_format'] = '%c';
$conf['compose']['allow_receipts'] = true;
$conf['compose']['special_characters'] = true;
$conf['compose']['add_maildomain_to_unexpandable'] = false;
$conf['tos']['file'] = '';
$conf['hooks']['vinfo'] = false;
$conf['hooks']['trailer'] = false;
$conf['hooks']['fetchmail_filter'] = false;

Nothing in the logs except this (paths/ip/username altered):
Jan  2 15:27:13 ryloth HORDE[3367]: [imp] FAILED LOGIN xxx.xx.xx.xxx to 
localhost:143[imap/notls] as xxxxxxx at acucore.com [on line 164 
of "/home/.../horde/imp/lib/IMP.php"]

Can someone help me out?  I have been struggling with this for several days 
and am about to go balistic.

Thanks,
-Dan


More information about the imp mailing list