[imp] FAILED LOGIN

rAcHeL^cY rachelcy at hotmail.com
Sat Jan 25 12:40:32 PST 2003


I'd install horde 2.2 and IMP 3.1 on my Redhat 7.2, below is the results of my horde/test.php:

Horde Versions
Horde: 2.2 
IMP: 3.1

PHP Version
PHP Version: 4.3.0 
PHP Major Version: 4.3 
PHP Minor Version: 0 
PHP Version Classification: release 
You are running a supported version of PHP.

PHP Module Capabilities
DOM XML Support: Yes 
Gettext Support: Yes 
IMAP Support: Yes 
LDAP Support: No 
MCAL Support: No 
Mcrypt Support: Yes 
MySQL Support: Yes 
PostgreSQL Support: No 
XML Support: Yes 

Miscellaneous PHP Settings
magic_quotes_runtime disabled: Yes 
file_uploads enabled: Yes 
safe_mode disabled: Yes 
trans_sid disabled: Yes 

PHP Sessions
Session counter: 3 
To unregister the session: click here 

PEAR
PEAR - Yes 
Recent PEAR - Yes 
Mail - Yes 
Mail_Mime - Yes 
Log - Yes 
DB - Yes 
Net_Socket - Yes 
Date - Yes 
HTML_Common/HTML_Select - No 
Horde requires the HTML_Common and HTML_Select classes only for Kronolith 1.0 to display forms correctly.

When i run imp/test.php, it shows:

IMP Version
IMP: 3.1 

PHP Version
View phpinfo() screen 
PHP Version: 4.3.0 
PHP Major Version: 4.3 
PHP Minor Version: 0 
PHP Version Classification: release 
You are running a supported version of PHP.

PHP IMAP Support Test
server="localhost" user="cy" mailbox="{localhost:143}INBOX"
INBOX has messages ( new recent)


It seems working fine, but I can't login to thru the login screen. The /tmp/horde.log show:
Jan 28 12:45:29 HORDE [error] [imp] FAILED LOGIN 192.168.0.11 to localhost:143[imap/notls] as cy [on line 270 of "/usr/local/apache/htdocs/horde/imp/lib/IMP.php"]

and apache log shows:
[Tue Jan 28 12:45:29 2003] [error] PHP Notice:  (null)(): Server disables LOGIN, no recognized SASL authenticator (errflg=2) in Unknown on line 0

Can somebody help me?


Below is the config files of mine:
"horde/config/config.php"
diff horde.php horde.php.dist
96c96
< $conf['auth']['params']['dsn'] = '{localhost:143/imap/notls}INBOX';
---
> // $conf['auth']['params']['dsn'] = '{imap.example.com:143/imap}INBOX';
157,162c157,162
< $conf['prefs']['params']['phptype'] = 'mysql';
< $conf['prefs']['params']['hostspec'] = 'localhost';
< $conf['prefs']['params']['username'] = 'horde';
< $conf['prefs']['params']['password'] = 'horde';
< $conf['prefs']['params']['database'] = 'horde';
< $conf['prefs']['params']['table'] = 'horde_prefs';
---
> // $conf['prefs']['params']['phptype'] = 'mysql';
> // $conf['prefs']['params']['hostspec'] = 'localhost';
> // $conf['prefs']['params']['username'] = 'horde';
> // $conf['prefs']['params']['password'] = '*****';
> // $conf['prefs']['params']['database'] = 'horde';
> // $conf['prefs']['params']['table'] = 'horde_prefs';

"horde/config/registry.php"
diff registry.php registry.php.dist
23,24c23,24
< $this->registry['auth']['login'] = 'imp';
< $this->registry['auth']['logout'] = 'imp';
---
> //$this->registry['auth']['login'] = 'imp';
> //$this->registry['auth']['logout'] = 'imp';


in horde/imp/config/servers.php only contain:
$servers['imap'] = array(
    'name' => 'IMAP Server',
    'server' => 'localhost',
    'protocol' => 'imap/notls',
    'port' => 143,
    'folders' => 'mail/',
    'namespace' => '',
    'maildomain' => 'linviawin.com',
    'smtphost' => 'smtp.linviawin.com',
    'realm' => 'example.com',
    'preferred' => 'true'
);

The rest of the config files are remain the same.
Thanks!


More information about the imp mailing list