[Tickets #5740] 60seconds timeout in sievedrive if authmethod is "CRAM-MD5" or "DIGEST-MD5".
bugs at bugs.horde.org
bugs at bugs.horde.org
Tue Sep 25 11:43:27 UTC 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=5740
-----------------------------------------------------------------------
Ticket | 5740
Created By | db at bsdsystems.de
Summary | 60seconds timeout in sievedrive if authmethod is "CRAM-MD5" or
| "DIGEST-MD5".
Queue | Ingo
Version | 1.1.3
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Owners |
-----------------------------------------------------------------------
db at bsdsystems.de (2007-09-25 04:43) wrote:
I you add a backend like this
/* 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 ...>
More information about the bugs
mailing list