[Dbmail] Horde/imp search not working with dbmail-imapd

2006-03-01 Thread Jacques Beaudoin
Thanks you got it,

After modifying horde/lib/Horde/IMAP/Search.php horde search now works with 
dbmail.

Could dbmail-imap be modified to ignore the character set field since it
does not nead it.

Thanks


I could not find the orginal message from dbmail list but i had this
piece stored in my horde notes:

  The quick  dirty solution is to fudge the _imapSearch
  function in horde/lib/Horde/IMAP/Search.php so it doesn't specify the
  character set in the search.

Also if you have a problem with mail already read still marked as
unseen, this might help:

diff imp/mailbox.php imp-h3-4.0.4/mailbox.php
685c685
 if (!$h-seen ) {
---
  if (!$h-seen || $h-recent) {


begin:vcard
fn:Jarkko Aitti
n:Aitti;Jarkko
org:ETLA
adr:;;;Helsinki;;;Finland
email;internet:[EMAIL PROTECTED]
title;quoted-printable:J=C3=A4rjestelm=C3=A4asiantuntija
tel;work:09 60990233
tel;cell:040 5548639
x-mozilla-html:FALSE
version:2.1
end:vcard




Re: [Dbmail] Horde/imp search not working with dbmail-imapd

2006-02-23 Thread Paul J Stevens


Jacques Beaudoin wrote:
 Hi All,
 
 My production server as been running dbmail 1.2.xx for 2 years
 and the search obtion from horde2.0/imp3.0 to dbmail-imapd as been working 
 perfectly.
 
  Was that code left out of dbmail 2.0 ? 

No. Search works just fine in 2.0. Just don't use charsets other than
us-ascii.


-- 
  
  Paul Stevens  paul at nfg.nl
  NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
  The Netherlandshttp://www.nfg.nl


Re: [Dbmail] Horde/imp search not working with dbmail-imapd

2006-02-22 Thread Jacques Beaudoin
Hi All,

My production server as been running dbmail 1.2.xx for 2 years
and the search obtion from horde2.0/imp3.0 to dbmail-imapd as been working 
perfectly.

 Was that code left out of dbmail 2.0 ? 

If so then I can't use dbmail 2.0,
and I must do all my testing with dbmail 2.1.3 and horde3.0/imp 4.0

Thanks

Cordialement

Jacques Beaudoin
Agent d'administration
Les services des technologies
de l'information et des communications
Commission scolaire de la Pointe de l'Île
Montréal, Québec, Canada

Courriel/Email: [EMAIL PROTECTED]
Cel: 514 918-3350



Selon Matthew T. O'Connor matthew@zeut.net:

 Jacques Beaudoin wrote:
  When you say All this has been fixed in svn-trunk
 
  Do you meen that i should download 2.0 from svn-trunk ?

 No, these thing's won't (*can't*) be changed in the 2.0 code base.  They
 have been fixed in the 2.1 code, but that is a development branch and
 isn't really stable yet.

  When you say ... and 2.1.4 will be released rsn
 
  I dont know what rsn meens a Google search gave me
  Religious Science of Nashville
  Romanian Society of Neurosurgery
  laugh
 
  I guess you meen very soon


 I think he meant real soon now.


 Matt
 ___
 Dbmail mailing list
 Dbmail@dbmail.org
 https://mailman.fastxs.nl/mailman/listinfo/dbmail



[Dbmail] Horde/imp search not working with dbmail-imapd

2006-02-21 Thread Jacques Beaudoin
Hi Paul,

I have in my inbox a message with a subject TEST
when i do a search for TEST in Horde/imp i get a nothing found

Paul can you take a look at my dbmail-imapd log and see if the Horde/imp

transactions are in sync. with dbmail-imapd

Thanks

Cordialement

Jacques Beaudoin
Agent d'administration
Les services des technologies
de l'information et des communications
Commission scolaire de la Pointe de l'Île
Montréal, Québec, Canada

Courriel/Email: [EMAIL PROTECTED]
Cel: 514 918-3350





Searching for TEST in inbox
=
Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,PerformChildTask: 
incoming connection from [10.220.12.2]
Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,PerformChildTask: 
client info init complete, calling client handler
Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): line read for 
PID 4685 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: COMMAND: [ CAPABILITY] 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Executing 
command capability... 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Finished command 
capability 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): line read for 
PID 4685 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: COMMAND: [0001 AUTHENTICATE 
LOGIN] 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: arg[0]: 'LOGIN' 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Executing 
command authenticate... 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: dbmysql.c,db_query: executing query 
[SELECT user_idnr, passwd, encryption_type FROM dbmail_users WHERE userid = 
'jacques-beaudoin']
Feb 17 14:47:31 mail dbmail/imap4d[4685]: authsql.c,auth_validate: validating 
using plaintext passwords
Feb 17 14:47:31 mail dbmail/imap4d[4685]: dbmysql.c,db_query: executing query 
[UPDATE dbmail_users SET last_login = '2006-02-17 14:47:31' WHERE user_idnr = 
'1166']
Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPD [PID 4685]: user (id 1166, name 
jacques-beaudoin) login accepted @ 2006-02-17 14:47:31
Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Finished command 
authenticate 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): line read for 
PID 4685 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: COMMAND: [0002 CAPABILITY] 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Executing 
command capability... 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Finished command 
capability 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): line read for 
PID 4685 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: COMMAND: [0003 LOGOUT] 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Executing 
command logout... 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: _ic_logout(): user (id:1166) logging 
out @ [2006-02-17 14:47:31]
Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Finished command 
logout 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Closing 
connection for client from IP [10.220.12.2] 
Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,PerformChildTask: 
client handling complete, closing streams
Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,client_close: closing 
write stream
Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,client_close: closing 
read stream
Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,PerformChildTask: 
connection closed
Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,PerformChildTask: 
waiting for connection
Feb 17 14:47:35 mail dbmail/imap4d[4689]: serverchild.c,PerformChildTask: 
incoming connection from [10.220.12.2]
Feb 17 14:47:35 mail dbmail/imap4d[4689]: serverchild.c,PerformChildTask: 
client info init complete, calling client handler
Feb 17 14:47:35 mail dbmail/imap4d[4689]: IMAPClientHandler(): line read for 
PID 4689 
Feb 17 14:47:35 mail dbmail/imap4d[4689]: COMMAND: [ CAPABILITY] 
Feb 17 14:47:35 mail dbmail/imap4d[4689]: IMAPClientHandler(): Executing 
command capability... 
Feb 17 14:47:35 mail dbmail/imap4d[4689]: IMAPClientHandler(): Finished command 
capability 
Feb 17 14:47:35 mail dbmail/imap4d[4689]: IMAPClientHandler(): line read for 
PID 4689 
Feb 17 14:47:35 mail dbmail/imap4d[4689]: COMMAND: [0001 AUTHENTICATE 
LOGIN] 
Feb 17 14:47:35 mail dbmail/imap4d[4689]: arg[0]: 'LOGIN' 
Feb 17 14:47:35 mail dbmail/imap4d[4689]: IMAPClientHandler(): Executing 
command authenticate... 
Feb 17 14:47:35 mail dbmail/imap4d[4689]: dbmysql.c,db_query: executing query 
[SELECT user_idnr, passwd, encryption_type FROM dbmail_users WHERE userid = 
'jacques-beaudoin']
Feb 17 14:47:35 mail dbmail/imap4d[4689]: authsql.c,auth_validate: validating 
using plaintext passwords
Feb 17 14:47:35 mail dbmail/imap4d[4689]: dbmysql.c,db_query: executing query 
[UPDATE dbmail_users SET last_login = '2006-02-17 14:47:35' WHERE user_idnr = 
'1166']
Feb 17 14:47:35 mail dbmail/imap4d[4689]: IMAPD [PID 4689]: user (id 

Re: [Dbmail] Horde/imp search not working with dbmail-imapd

2006-02-21 Thread Paul J Stevens
Jacques,

From the logs I see you're running 2.0, right?

2.0 doesnt support search on charsets other than us-ascii. And in 2.0
sort is broken.

All this has been fixed in svn-trunk and 2.1.4 will be released rsn.

Jacques Beaudoin wrote:
 Hi Paul,
 
 I have in my inbox a message with a subject TEST
 when i do a search for TEST in Horde/imp i get a nothing found
 
 Paul can you take a look at my dbmail-imapd log and see if the Horde/imp
 
 transactions are in sync. with dbmail-imapd
 
 Thanks
 
 Cordialement
 
 Jacques Beaudoin
 Agent d'administration
 Les services des technologies
 de l'information et des communications
 Commission scolaire de la Pointe de l'Île
 Montréal, Québec, Canada
 
 Courriel/Email: [EMAIL PROTECTED]
 Cel: 514 918-3350
 
 
 
 
 
 
 
 
 
 Searching for TEST in inbox
 =
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,PerformChildTask: 
 incoming connection from [10.220.12.2]
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,PerformChildTask: 
 client info init complete, calling client handler
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): line read for 
 PID 4685 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: COMMAND: [ CAPABILITY] 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Executing 
 command capability... 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Finished 
 command capability 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): line read for 
 PID 4685 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: COMMAND: [0001 AUTHENTICATE 
 LOGIN] 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: arg[0]: 'LOGIN' 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Executing 
 command authenticate... 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: dbmysql.c,db_query: executing query 
 [SELECT user_idnr, passwd, encryption_type FROM dbmail_users WHERE userid = 
 'jacques-beaudoin']
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: authsql.c,auth_validate: validating 
 using plaintext passwords
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: dbmysql.c,db_query: executing query 
 [UPDATE dbmail_users SET last_login = '2006-02-17 14:47:31' WHERE user_idnr = 
 '1166']
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPD [PID 4685]: user (id 1166, 
 name jacques-beaudoin) login accepted @ 2006-02-17 14:47:31
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Finished 
 command authenticate 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): line read for 
 PID 4685 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: COMMAND: [0002 CAPABILITY] 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Executing 
 command capability... 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Finished 
 command capability 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): line read for 
 PID 4685 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: COMMAND: [0003 LOGOUT] 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Executing 
 command logout... 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: _ic_logout(): user (id:1166) 
 logging out @ [2006-02-17 14:47:31]
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Finished 
 command logout 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Closing 
 connection for client from IP [10.220.12.2] 
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,PerformChildTask: 
 client handling complete, closing streams
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,client_close: closing 
 write stream
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,client_close: closing 
 read stream
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,PerformChildTask: 
 connection closed
 Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,PerformChildTask: 
 waiting for connection
 Feb 17 14:47:35 mail dbmail/imap4d[4689]: serverchild.c,PerformChildTask: 
 incoming connection from [10.220.12.2]
 Feb 17 14:47:35 mail dbmail/imap4d[4689]: serverchild.c,PerformChildTask: 
 client info init complete, calling client handler
 Feb 17 14:47:35 mail dbmail/imap4d[4689]: IMAPClientHandler(): line read for 
 PID 4689 
 Feb 17 14:47:35 mail dbmail/imap4d[4689]: COMMAND: [ CAPABILITY] 
 Feb 17 14:47:35 mail dbmail/imap4d[4689]: IMAPClientHandler(): Executing 
 command capability... 
 Feb 17 14:47:35 mail dbmail/imap4d[4689]: IMAPClientHandler(): Finished 
 command capability 
 Feb 17 14:47:35 mail dbmail/imap4d[4689]: IMAPClientHandler(): line read for 
 PID 4689 
 Feb 17 14:47:35 mail dbmail/imap4d[4689]: COMMAND: [0001 AUTHENTICATE 
 LOGIN] 
 Feb 17 14:47:35 mail dbmail/imap4d[4689]: arg[0]: 'LOGIN' 
 Feb 17 14:47:35 mail dbmail/imap4d[4689]: IMAPClientHandler(): Executing 
 command authenticate... 
 Feb 17 14:47:35 mail dbmail/imap4d[4689]: dbmysql.c,db_query: executing query 
 [SELECT 

Re: [Dbmail] Horde/imp search not working with dbmail-imapd

2006-02-21 Thread Jacques Beaudoin
Hi Paul,

When you say All this has been fixed in svn-trunk

Do you meen that i should download 2.0 from svn-trunk ?

When you say ... and 2.1.4 will be released rsn

I dont know what rsn meens a Google search gave me
Religious Science of Nashville
Romanian Society of Neurosurgery
laugh

I guess you meen very soon

Cordialement

Jacques Beaudoin
Agent d'administration
Les services des technologies
de l'information et des communications
Commission scolaire de la Pointe de l'Île
Montréal, Québec, Canada

Courriel/Email: [EMAIL PROTECTED]
Cel: 514 918-3350



Selon Paul J Stevens [EMAIL PROTECTED]:

 Jacques,

 From the logs I see you're running 2.0, right?

 2.0 doesnt support search on charsets other than us-ascii. And in 2.0
 sort is broken.

 All this has been fixed in svn-trunk and 2.1.4 will be released rsn.

 Jacques Beaudoin wrote:
  Hi Paul,
 
  I have in my inbox a message with a subject TEST
  when i do a search for TEST in Horde/imp i get a nothing found
 
  Paul can you take a look at my dbmail-imapd log and see if the Horde/imp
 
  transactions are in sync. with dbmail-imapd
 
  Thanks
 
  Cordialement
 
  Jacques Beaudoin
  Agent d'administration
  Les services des technologies
  de l'information et des communications
  Commission scolaire de la Pointe de l'Île
  Montréal, Québec, Canada
 
  Courriel/Email: [EMAIL PROTECTED]
  Cel: 514 918-3350
 
 
 
 
 
 
 
  
 
  Searching for TEST in inbox
  =
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,PerformChildTask: 
  incoming connection
 from [10.220.12.2]
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,PerformChildTask: 
  client info init
 complete, calling client handler
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): line read 
  for PID 4685
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: COMMAND: [ CAPABILITY]
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Executing 
  command capability...
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Finished 
  command capability
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): line read 
  for PID 4685
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: COMMAND: [0001 AUTHENTICATE 
  LOGIN]
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: arg[0]: 'LOGIN'
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Executing 
  command
 authenticate...
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: dbmysql.c,db_query: executing 
  query [SELECT
 user_idnr, passwd, encryption_type FROM dbmail_users WHERE userid = 
 'jacques-beaudoin']
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: authsql.c,auth_validate: 
  validating using plaintext
 passwords
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: dbmysql.c,db_query: executing 
  query [UPDATE
 dbmail_users SET last_login = '2006-02-17 14:47:31' WHERE user_idnr = '1166']
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPD [PID 4685]: user (id 1166, 
  name
 jacques-beaudoin) login accepted @ 2006-02-17 14:47:31
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Finished 
  command authenticate
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): line read 
  for PID 4685
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: COMMAND: [0002 CAPABILITY]
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Executing 
  command capability...
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Finished 
  command capability
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): line read 
  for PID 4685
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: COMMAND: [0003 LOGOUT]
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Executing 
  command logout...
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: _ic_logout(): user (id:1166) 
  logging out @
 [2006-02-17 14:47:31]
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Finished 
  command logout
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: IMAPClientHandler(): Closing 
  connection for client
 from IP [10.220.12.2]
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,PerformChildTask: 
  client handling
 complete, closing streams
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,client_close: 
  closing write stream
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,client_close: 
  closing read stream
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,PerformChildTask: 
  connection closed
  Feb 17 14:47:31 mail dbmail/imap4d[4685]: serverchild.c,PerformChildTask: 
  waiting for
 connection
  Feb 17 14:47:35 mail dbmail/imap4d[4689]: serverchild.c,PerformChildTask: 
  incoming connection
 from [10.220.12.2]
  Feb 17 14:47:35 mail dbmail/imap4d[4689]: serverchild.c,PerformChildTask: 
  client info init
 complete, calling client handler
  Feb 17 14:47:35 mail dbmail/imap4d[4689]: IMAPClientHandler(): line read 
  for PID 4689
  Feb