can't sort by arrival

2006-04-28 Thread Martin Marques

I'm having a real hard time making RC sort my messages by arrival instead of 
date. I tried putting:

$rcmail_config['message_sort_col'] = 'internaldate';

and even

$rcmail_config['message_sort_col'] = 'arrival';

I even tried to put it in upper case, but still with no luck. Any ideas?

P.D.: I'm on the latest CVS.

--
-
Lic. Martín Marqués |   SELECT 'mmarques' || 
Centro de Telemática|   '@' || 'unl.edu.ar';
Universidad Nacional|   DBA, Programador, 
del Litoral |   Administrador
-






Re: can't sort by arrival

2006-04-28 Thread Martin Marques

On Fri, 28 Apr 2006 12:44:47 -0400, Brett Patters - Roundcube Forum Admin 
[EMAIL PROTECTED] wrote:
 Martin Marques wrote:
 I'm having a real hard time making RC sort my messages by arrival
 instead of date. I tried putting:

 $rcmail_config['message_sort_col'] = 'internaldate';

 and even

 $rcmail_config['message_sort_col'] = 'arrival';

 I even tried to put it in upper case, but still with no luck. Any ideas?

 P.D.: I'm on the latest CVS.

 arrival isn't a column that it can be sorted by I don't know the RC
 internals like a dev would, but I can say that the message_sort_col is
 how it's sorted I think after the query for the messages, not before.
 So it's sorting the message array, not the messages on the server.

Well, I'm still checking the code out, but I found methods like this one in 
program/lib/imap.inc: 
iil_C_Sort($conn, $mailbox, $field, $add='')

$field looks like the sort field to use.

After that it sends this commando to the IMAP server:

$command = 's SORT ('.$field.') US-ASCII ALL '.$add\r\n;

Aparently something is wrong, but I'm still looking at the code.

-- 
-
Lic. Martín Marqués |   SELECT 'mmarques' || 
Centro de Telemática|   '@' || 'unl.edu.ar';
Universidad Nacional|   DBA, Programador, 
del Litoral |   Administrador
-






Re: Refresh INBOX

2006-03-23 Thread Martin Marques

On Thu, 23 Mar 2006 10:59:53 -0300, Kico Zaninetti [EMAIL PROTECTED] wrote:
 Hey people.
 
 One more thing.
 The INBOX is not refreshing. Even if I click to check mail it does not
 show
 my new messages. To refresh it I have to click on another folder (like
 Trash) and back to INBOX.
 I'm willing if the INBOX can self refresh like gmail do.

This is not happening here. What version are you using?

-- 
-
Lic. Martín Marqués |   SELECT 'mmarques' || 
Centro de Telemática|   '@' || 'unl.edu.ar';
Universidad Nacional|   DBA, Programador, 
del Litoral |   Administrador
-






Re: RoundCube does not save Personal Settings

2006-03-22 Thread Martin Marques

On Wed, 22 Mar 2006 09:14:24 +0100, Ralf Rottmann [EMAIL PROTECTED] wrote:
 RoundCube is fantastic. However, when users set personal settings
 (language,
 default identity, etc.) it does not save them. The next time they login it
 all is back to default. Any hint? Where does RoundCube store the prefs?

In the table users, field preferences of your database.

See if there isn't any DB error while trying to change preferences.

-- 
-
Lic. Martín Marqués |   SELECT 'mmarques' || 
Centro de Telemática|   '@' || 'unl.edu.ar';
Universidad Nacional|   DBA, Programador, 
del Litoral |   Administrador
-






Re: Virtual mailboxes

2006-03-22 Thread Martin Marques

On Wed, 22 Mar 2006 10:18:08 +0100, Christopher R. Parr [EMAIL PROTECTED] 
wrote:
 Hi!
 
 What is the correct way to set up access to virtual mailboxes? I'm
 using the cvs version.

Here is your answer (from config/main.inc.php):

// the mail host chosen to perform the log-in
// leave blank to show a textbox at login, give a list of hosts
// to display a pulldown menu or set one host as string.
// To use SSL connection, enter ssl://hostname:993
$rcmail_config['default_host'] = 'ssl://localhost:993';

-- 
-
Lic. Martín Marqués |   SELECT 'mmarques' || 
Centro de Telemática|   '@' || 'unl.edu.ar';
Universidad Nacional|   DBA, Programador, 
del Litoral |   Administrador
-






Re: Virtual mailboxes

2006-03-22 Thread Martin Marques

On Wed, 22 Mar 2006 15:09:31 +0100, Christopher R. Parr [EMAIL PROTECTED] 
wrote:
 The domains that are being served are crparr.net and oberhollenzer.cc.
 but both are being served by mail.crparr.net.  so the followiung
 string should be correct:
 $rcmail_config['default_host'] = 'mail.crparr.net';
 
 Is this correct?

No! Read the comment above each configuration parameter. You need to set these 
three parameters in main.inc.php:

$rcmail_config['default_host']
$rcmail_config['mail_domain']
$rcmail_config['smtp_server']

Read the comments of all three.

-- 
-
Lic. Martín Marqués |   SELECT 'mmarques' || 
Centro de Telemática|   '@' || 'unl.edu.ar';
Universidad Nacional|   DBA, Programador, 
del Litoral |   Administrador
-