Score:0

Particular Email DB In Users Folder In Roundcube

ph flag

I am trying to make db for every particular mail in user folder but when I use getenv('HOME') and getenv('_RCUBE') it shows me unable to connect with db.

This is how I use it

$config['db_dsnw'] = 'sqlite:///' . $_SERVER['HOME'] . '/etc/' . $_SERVER['_RCUBE'] . '.rcube.db?mode=0600';

$config['db_dsnw'] = 'sqlite:///' . getenv('HOME') . '/etc/' . getenv('_RCUBE') . '.rcube.db?mode=0600';

In both the way I had tried.

anx avatar
fr flag
anx
Are you running multiple Roundcube instances with possibly multiple users each, or are you just trying to partition the database of one instance by the user logged into the web interface?
anx avatar
fr flag
anx
If unsure how to clarify your question otherwise.. [add the relevant configuration](https://serverfault.com/review/suggested-edits/521875) - e.g. Apache, php-fpm used to run Roundcube; and state the *goal* not just the *specific method* you are thinking of to accomplish it.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.