diff -Nur roundcubemail-r2114/installer/rcube_install.php roundcubemail-r2114-folder/installer/rcube_install.php
--- roundcubemail-r2114/installer/rcube_install.php	2008-12-01 23:39:21.000000000 +0900
+++ roundcubemail-r2114-folder/installer/rcube_install.php	2008-12-04 18:34:16.000000000 +0900
@@ -174,6 +174,11 @@
       else if ($prop == 'smtp_pass' && !empty($_POST['_smtp_user_u'])) {
         $value = '%p';
       }
+      else if ($prop == 'default_imap_folders'){
+	$value = Array('INBOX', 
+			$this->config['drafts_mbox'], $this->config['junk_mbox'], $this->config['sent_mbox'], $this->config['trash_mbox']
+		      );
+      }
       else if (is_bool($default)) {
         $value = (bool)$value;
       }
