Summary | 60seconds timeout in sievedrive if authmethod is "CRAM-MD5" or "DIGEST-MD5". |
Queue | Ingo |
Queue Version | 1.1.3 |
Type | Bug |
State | Not A Bug |
Priority | 2. Medium |
Owners | |
Requester | db (at) bsdsystems (dot) de |
Created | 09/25/2007 (6465 days ago) |
Due | |
Updated | 09/26/2007 (6464 days ago) |
Assigned | |
Resolved | 09/26/2007 (6464 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Not A Bug
Net_Sieve library.
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ 60seconds timeout in sievedrive if authmethod is "CRAM-MD5" or "DIGEST-MD5".
Queue ⇒ Ingo
/* Sieve Example */
$backends['sieve'] = array(
'driver' => 'timsieved',
'preferred' => array('XXX.XXX.XXX.XXX','ourserver.info'),
'hordeauth' => true,
'params' => array(
// Hostname of the timsieved server
'hostspec' => 'ourserver.info',
// Login type of the server
'logintype' => 'DIGEST-MD5',
// Enable/disable TLS encryption
'usetls' => true,
// Port number of the timsieved server
'port' => 2000,
// Name of the sieve script
'scriptname' => 'ingo'
// The following settings can be used to specify an administration
// user to update all users' scripts.
// 'admin' => 'cyrus',
// 'password' => '*****',
// 'username' => Auth::getAuth(),
),
'script' => 'sieve',
'scriptparams' => array()
);
You will get a 60 seconds timeout after klicking on "Vacation"/ "Abwesenheit".
Switching back to Authmethod PLAIN results in immediate login.
Although The Vacation could be saved after 60seconds timeout. I have a
strace of httpd process available if neccesary. The obvious line
looks like this.
Watch the poll(unfinished)"... after that httpd process is waiting 60seconds.
34129 poll([{fd=1926299654,
events=POLLPRI|POLLOUT|POLLRDBAND|POLLWRBAND|0xffffd000, revents=POLL
PRI|POLLRDNORM|POLLWRBAND|POLLHUP|POLLNVAL|0xffffae00}], 1, 60000) = 1
34129 recvfrom(20, "\"IMPLEMENTATION\" \"Cyrus timsieved
v2.3.9\"\r\n\"SASL\" \"DIGEST-MD5 CRAM-M
D5\"\r\n\"SIEVE\" \"comparator-i;ascii-numeric fileinto reject
vacation imapflags notify envelope
relational regex subaddress copy\"\r\nOK\r\n", 8192, MSG_DONTWAIT,
NULL, NULL) = 199
34129 sendto(20, "AUTHENTICATE \"CRAM-MD5\"\r\n", 25, MSG_DONTWAIT,
NULL, 0) = 25
34129 poll([{fd=1926333952,
events=POLLIN|POLLPRI|POLLOUT|POLLRDBAND|POLLERR|POLLNVAL|0x7200, rev
ents=POLLIN|POLLPRI|POLLOUT|POLLRDBAND|POLLWRBAND|POLLERR|POLLNVAL|0xffffe000}], 1, 60000) =
1
34129 recvfrom(20,
"{60}\r\nPDExNDIzODE5MDAuMTYzMTQxMDJAbWFpbC5naWZ0LWNvbXBhbnkuY29tPg==\r\n",
81
92, MSG_DONTWAIT, NULL, NULL) = 68
34129 poll( <unfinished ...>