Ticket #1483825 (closed Feature Requests: fixed)

Opened 2 years ago

Last modified 5 months ago

Config IMAP auth type (plain, auth or check)

Reported by: drdaeman Owned by:
Priority: 5 Milestone: 0.2-alpha
Component: IMAP connection Version: 0.1-beta
Severity: minor Keywords:
Cc:

Description

Currently, in rcube_imap::connect() (rcube_imap.inc) method connection is performed this way:

$this->conn = iil_Connect($host, $user, $pass, array('imap' => 'check'));

I don't know is it script's problem, or my server's fault (probably the latter), but trying 'auth' (CRAM-MD5 failed for unknown reason) then 'plain' was terribly slow. And I think because both IMAPd and HTTPd are running on the same machine, communicating through loopback interface, plaintext authentification is secure enough. So, I'd suggest maybe this should be a configuration option like this:

// IMAP auth. Can be "auth" (CRAM-MD5), "plain" (PLAIN) or "check" to auto detect.
// Optional, defaults to "check".
$rcmail_config['imap_auth_method'] = 'plain';

PS. Thanks for a great webmail client and sorry for my probably bad English.

Change History

Changed 8 months ago by seansan

  • summary changed from Allow user defined IMAP auth. method, not hardcoded "check". to Config IMAP auth type (plain, auth or check)
  • milestone set to 0.1.1

Review if wanted in 1.1

Changed 7 months ago by thomasb

  • milestone changed from 0.1.1 to 0.1.5

Changed 5 months ago by thomasb

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from 0.1.5 to 0.1.2

Added to trunk in r1394

Note: See TracTickets for help on using tickets.