HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   RoundCube 0.2 Beta available for ISPConfig 2 (http://www.howtoforge.com/forums/showthread.php?t=27013)

Hans 22nd September 2008 09:50

RoundCube 0.2 Beta available for ISPConfig 2
 
1 Attachment(s)
On 21-09-2008, RoundCube 0.2 Beta has been released.
Based on this version i've created an new package for ISPCOnfig 2.

Before you install it with the update manager within ISPConfig, you need to remove the current installed RoundCube package first.
Before you execute the commands below, you must accept that:

- your current RoundCube installation will be deleted
- The current sql-lite database will be erased, which means that all mailuser settings will get lost.

In case you use customized files, please make a backup of these files first.

Commands to delete your entire and current installed RoundCube webmailclient:

rm /home/admispconfig/ispconfig/web/roundcubemail.tar
rm -r /home/admispconfig/ispconfig/web/roundcubemail
rm -r /home/admispconfig/ispconfig/web/tools/tools/roundcubemail

The package can be downloaded here: link not available anymore

Grey 23rd September 2008 10:55

Does someone else also have the problem, that the new "only mark delete if no trash folder exists" behaves a bit buggy?
It marks my mails in inbox with a delete icon and creates a copy of it in the trash folder instead of simply moving it there. If I disable that option, all is fine and like before. Strange thing.

Hans 23rd September 2008 12:41

@Grey,
Within the main.inc.php file i've configured that the default folders must be created.
To these default folders belongs also the Trash folder.

I think the "mark as deleted" is only usefull when you don't have a Trash folder.
Otherwise, the behaviour looks a little weird indeed, but not buggy i think.

Within the RC config file main.inc.php, you should play with these settings to get the result you want:

// move messages to this folder when deleting them
// leave blank if they should be deleted directly
$rcmail_config['trash_mbox'] = 'Trash';

// Set TRUE if deleted messages should not be displayed
// This will make the application run slower
$rcmail_config['skip_deleted'] = FALSE;

// Set true to Mark deleted messages as read as well as deleted
// False means that a message's read status is not affected by marking it as deleted
$rcmail_config['read_when_deleted'] = TRUE;

// When a Trash folder is not present and a message is deleted, flag
// the message for deletion rather than deleting it immediately. Setting this to
// false causes deleted messages to be permanantly removed if there is no Trash folder
$rcmail_config['flag_for_deletion'] = FALSE;

Grey 23rd September 2008 14:08

I agree but tend to say it's a little buggy - or help text is a bit wrong. If it states "mark message deleted if no trash folder exists" it should do ok if that folder is already there.

I don't fully understand what the skip_deleted option is doing, as this seems the behavior RC has under normal conditions. Or does this also disable displaying messages in trash?

Just wanted to mention that. We're running a three type spam_strategy (as described in my howto) so to make sure there's a junk folder around, we always create all standard IMAP folders out of ISPConfig - no need for RC to do that anymore :)

Thanks for the feedback!
Jens

Hans 23rd September 2008 15:23

@Grey,
Thanks for your usefull information.
I also want to thank you for your new antispam solution for ISPConfig 2.
I did not try it yet but it looks great! :)

Grey 23rd September 2008 17:06

OT: It's working but we'll have to rewrite the scripting part as the used script didn't match with our OS and needs, but it does send a daily message about the spam of the last 24h and that's a nice addition (like freemailers do).

A small addition to your package: "rm -r"-ing the roundcube folder is good, as long as your customers didn't use the custom functions of RC written into the sqlite.db. I almost didn't remember backing it up ;) Perhaps it's worth a short side-note in your upgrade instructions :)

Snowman 23rd September 2008 20:45

DOM-XML php-extension/module
 
Hello ,
I am running ISPConfig
Version: 2.2.24
I installed beta RoundCube 0.2, but I still have problem with reading some mails. This thing was discussed before, but i didn't found the solution yet.
Can you help ?

As I know Hans reported this problem as : DOM-XML php-extension/module
He posted : "Since ISPConfig 2.2.24 there is support for DOM-XML! Thanks to the ISPConfig team! "

Is there a way how to solve that or may test if my DOM-XML is OK ?

Hans 23rd September 2008 23:48

Quote:

Originally Posted by Grey (Post 146441)
OT:A small addition to your package: "rm -r"-ing the roundcube folder is good, as long as your customers didn't use the custom functions of RC written into the sqlite.db. I almost didn't remember backing it up ;) Perhaps it's worth a short side-note in your upgrade instructions :)

I know, and i will change that.

Hans 24th September 2008 00:12

Quote:

Originally Posted by Snowman (Post 146467)
Is there a way how to solve that or may test if my DOM-XML is OK ?

Within your /home/admispconfig/ispconfig/web/ directory you can create an info.php file with the following content:

<?php
phpinfo();
?>

Then within your browser point to http(s)://www.yourdomain.tld:81/info.php
Within the "Configure Command" section you can read how php5 has been configured.

If DOM-XML is not available, you need to download, extract the ispconfig package. After that you need to configure php5 again with the modules installed that you wish.

These configure options can be found within the file:
install_ispconfig/compile_aps/compile at the line which starts with:
./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs

Snowman 24th September 2008 10:39

Quote:

Originally Posted by Hans (Post 146515)
If DOM-XML is not available, you need to download, extract the ispconfig package. After that you need to configure php5 again with the modules installed that you wish.

These configure options can be found within the file:
install_ispconfig/compile_aps/compile at the line which starts with:
./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs

My command in phpinfo() is now :
'./configure' '--with-apxs=/root/ispconfig/httpd/bin/apxs' '--enable-track-vars' '--enable-sockets' '--enable-mbstring=all' '--with-config-file-path=/root/ispconfig/php' '--enable-ftp' '--prefix=/root/ispconfig/php' '--with-openssl=/root/ispconfig/openssl' '--with-mysql=/usr' '--disable-libxml' '--disable-dom' '--disable-xml' '--disable-xmlreader' '--disable-xmlwriter' '--disable-simplexml' '--without-pear'

is it ok ? APXS is there


All times are GMT +2. The time now is 21:22.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.