roundcubemail remember password @ login


If you have many people using your roundcube webmail you’ll need a “Remember Password” function

vim skins/default/templates/login.html

change it from:

<roundcube:object name="loginform" form="form" autocomplete="off" />


<roundcube:object name="loginform" form="form" autocomplete="on" />

Dont forget to clear the cache

Have fun

roundcubemail sqlite error


Follow the default install instructions…
Before you click initial database do

vim config/

change from:

$rcmail_config['db_dsnw'] = 'sqlite://roundcubemail?mode=0646';


$rcmail_config['db_dsnw'] = 'sqlite:///roundcubemail?mode=0646';

after this do:

sqlite -init SQL/sqlite.initial.sql sqlite.db

Now you can initialize your database

Have Fun

secure php.ini


Need secure php
Here some nice entrys

allow_url_fopen = Off
register_globals = Off
disable_functions = shell_exec,exec,system,passthru,proc_open,popen,curl_exec,pcntl_exec,socket_create, 
open_basedir = "/var/www/:/usr/share/php"

Have Fun

Windows show hidden devices in Device Manager

1. Click Start, point to All Programs, point to Accessories, and then click Command Prompt.
2. At a command prompt, type the following command , and then press ENTER:

set devmgr_show_nonpresent_devices=1

3. Type the following command a command prompt, and then press ENTER:

start devmgmt.msc

4. Troubleshoot the devices and drivers in Device Manager.

NOTE: Click Show hidden devices on the View menu in Device Managers before you can see devices that are not connected to the computer.
5. When you finish troubleshooting, close Device Manager.
6. Type exit at the command prompt.

Note that when you close the command prompt window, Window clears the devmgr_show_nonpresent_devices=1 variable that you set in step 2 and prevents ghosted devices from being displayed when you click Show hidden devices.

debian suphp and limit procs


apt-get install libapache2-mod-suphp suphp-common apache2 apache2-mpm-worker php5-cgi
a2enmod suphp

(this is normaly done with the installation)

mkdir /var/www/web/
useradd web
chown -R web:web /var/www/web

now your php files were executed as uid web and gid web

and now we add these lines to your apache config
normally in

RLimitCPU 20 50
RLimitMEM 128000000 256000000
RLimitNPROC  3 6

this is to limit php procs and apache procs by cpu and ram and [n]procs

don’t forget to

/etc/init.d/apache2 restart

Have Fun

The mind is its own place, and in itself
Can make a Heav’n of Hell, a Hell of Heav’n.
– John Milton