Hello!
RoundCube places its config files within its directory hierarchy. This
is a fine default, but for packages it's important to be able to
override the default. Why? Many sysadmins (and packagers, and package
systems) expect all binaries and data installed under the root of the
package tree to be read-only once they've been installed; think NFS
sharing, or package tools throwing warnings on delete/update when
files don't match the checksums recorded when they were installed.
Config files aren't read-only, and therefore it's important to be able
to place them elsewhere if desired (/etc, for instance.) I've patched
roundcubemail-0.1.1-dep's main.inc:rcmail_load_config() to inspect the
environment and prefix $RCMAIL_CONFIG_DIR if set, rather than
"config", when reading the config files. The default behavior remains
unchanged, of course!
http://netbsd.schmonz.com/patches/roundcube-config-dir.diff
To take advantage of the patch, I added "SetEnv RCMAIL_CONFIG_DIR /etc/
roundcube" to the RoundCube section of my Apache config, and placed
{db,main}.inc.php in /etc/roundcube where I like them. :-)
Sorry this is against an old version, but there's nothing at all
clever about the changes so they should be straightforward to bring up
to date. The installer would need similar help as well.
- Amitai
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi. I'm having an issue with large attachments (I've tried with a 5Mb
file) with both RC 0.1-rc2 and 0.2-alpha.
I've setting the PHP max upload size and the files are upload right
(to /tmp and then moved to RC temp/), but sending the message fails
without error (just the "sending message" notification, but nothing
happens). I've also noted that the temp/ directory contains a lot of
files (maybe all the files the users have sent?).
Any clue?
--
Javier Smaldone
javier(a)smaldone.com.ar
_______________________________________________
List info: http://lists.roundcube.net/dev/
sorry, database schema for use with this script
CREATE TABLE IF NOT EXISTS `mailrules` (
`mailrule_id` int(11) NOT NULL auto_increment,
`order` tinyint(4) NOT NULL default '0',
`name` varchar(128) default NULL,
`from` varchar(128) default NULL,
`to` varchar(128) default NULL,
`subject` varchar(128) default NULL,
`cc` varchar(128) default NULL,
`bcc` varchar(128) default NULL,
`replyto` varchar(128) default NULL,
`count` int(10) unsigned NOT NULL default '0',
`user_id` int(10) unsigned NOT NULL default '0',
`location` varchar(128) default NULL,
PRIMARY KEY (`mailrule_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
On Fri, Aug 29, 2008 at 7:55 PM, Roland Liebl <roland(a)liebl.ath.cx> wrote:
> Hello San,
>
> I had a brief look on your patch.
>
> There is a new database table mailrules necessary. Structure?
> Patch for db.php.inc.dist?
>
> Isn't there a template to manage mail rules?
>
> Please send me a complete zip of all modified file.
> Sorry I'm on windows and can't use .patch files at all.
>
> Regards,
> Roland
>
> On Fri, 29 Aug 2008 14:04:24 +0700, San <sansez(a)gmail.com> wrote:
>> from this ticket : http://trac.roundcube.net/ticket/1484890
>>
>> I have modified some function, about filter rules which use search
>> function from rcube_imap.php
>> I think it ok, please use this filter in next version of roundcube
>>
>> filter is the features I like....
>>
>> sorry for my poor English.
>>
>
>
--
Sincerely,
Nantharat Puwarang
Sansez [at] Gmail [dot] com
LPIC-1 : Linux Professional Institute Certified
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi there,
I have coded some stuff, not the way it is discussed at the moment. I started much sooner coding a plugin API.
Test Server: http://www.roland-liebl.de/webmail
user: demo(a)liebl.ath.cx
pass: demo
Download a complete package (based on SVN 1711) @ http://www.roland-liebl.de/dl/roundcube/
Even if you don't like the API please see the features I have implemented: http://www.roundcubeforum.net/showthread.php?t=3389
Most things are worth at least a review. Maybe you want to adapt things which are not hmailserver specific into default RoundCube.
-Roland
_______________________________________________
List info: http://lists.roundcube.net/dev/
from this ticket : http://trac.roundcube.net/ticket/1484890
I have modified some function, about filter rules which use search
function from rcube_imap.php
I think it ok, please use this filter in next version of roundcube
filter is the features I like....
sorry for my poor English.
--
Sincerely,
Nantharat Puwarang
Sansez [at] Gmail [dot] com
LPIC-1 : Linux Professional Institute Certified
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi there,
noticed a problem when replying to mails with X-Priority: 3 -- the
priority of the replying mail would always be set to 5. Reason seems
to be that there are two ways to indicate "normal" priority; set X-
Priority: 3 or just leave it out.
So I modified "program/steps/mail/compose.inc", at line 713:
$sel = isset($_POST['_priority']) ? $_POST['_priority'] :
intval($MESSAGE->headers->priority);
if ($sel == 3) $sel = 0;
$out = $form_start ? "$form_start\n" : '';
Bye,
Philipp.
_______________________________________________
List info: http://lists.roundcube.net/dev/
Do we support both drivers still? I want to use MDB2's matchPattern()
function (for case insensitive addresses searching using PostgreSQL) and
not sure if I must write equivalent for DB driver. If we're not
supporting DB now, the files should be removed from repo.
--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/dev/