On Jan 20, 2009, at 6:46 PM, Molin MEN wrote:
Dear Chasd
Thank for your reply. I still got some point to ask you related to
roundcube and postfix.
I don't use postfix or MySQL, but I'll try.
When we want to add new address mail we just go to console and use
adduser command that mean we add a new user to system.
Yes, that's what I do.
Tell me why that user go automatically to roundcube database in mysql?
From the configuration file :
// automatically create a new RoundCube user when log-in the first time. // a new user will be created once the IMAP login succeeds. // set to false if only registered users can use this service $rcmail_config['auto_create_user'] = TRUE;
If that is set to FALSE, then any user that has an IMAP account has
to also be added manually to RoundCube.
On more thing, i try to find in roundcube database for boday
message but i dont see any.
The mail messages are NOT stored in the database, they are stored in
the IMAP system.
However, from the config file :
// enable caching of messages and mailbox data in the local database.
// this is recommended if the IMAP server does not run on the same
machine
//$rcmail_config['enable_caching'] = TRUE;
$rcmail_config['enable_caching'] = FALSE;
As you can see, I don't use database caching of messages
( configuration set to FALSE ).
Messages MIGHT be stored in the database as part of a cache, but
those messages are likely serialized into a big pile before storing
in the database. That will make them difficult to find and use.
Why do you want to access the messages from the database ? Why don't you simply access them via the IMAP storage ?
If you are having a problem where RC is not displaying what is in the
IMAP server, it might be the caching, so make sure it is turned off.