[imp] Error connecting to IMAP server. 22 : Invalid argument.

Jan Schneider jan at horde.org
Thu Mar 23 01:47:28 PST 2006


Keep discussions on the list.

Zitat von Troy Dixler <troy at twisted.net>:

> Jan,
>
> I tried commenting out all of the necessary fields in servers.php and it
> still is giving me the same errors.
>
> $servers['imap'] = array(
>     'name' => 'IMAP Server',
> //  'server' => 'imap.oz.twisted.net',
>     'server' => 'localhost',
>     'hordeauth' => false,
>     'protocol' => 'imap/ssl/novalidate-cert',
>     'port' => 993,
>  //   'folders' => 'Mail/',
>  //   'namespace' => '',
>     'maildomain' => 'oz.twisted.net',
> //  'smtphost' => 'smtp.oz.twisted.net',
>     'smtphost' => 'localhost',
>     'smtpport' => 25,
>     'realm' => '',
>     'preferred' => '',
> //    'dotfiles' => false,
>   //  'hierarchies' => array()
> );
>
> In the horde.log I'm getting the following errors:
>
> Mar 21 19:41:06 HORDE [error] [imp] Error connecting to IMAP server. 22 :
> Invalid argument. [on line 473 of
> "/usr/local/www/horde/imp/lib/IMAP/Client.php"]

This is not the configuration you were using when you got that  
message. The line in the error message should only be called if you  
configured the protocol to use TLS connections.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list