Recent Posts

Pages: 1 ... 8 9 [10]
91
Release Discussion / Re: RC Configuration
« Last post by JohnDoh on March 07, 2024, 12:18:39 PM »
I have never tried to do it myself so I can only guess at the best way but I think I'd do something like this:

Get a fresh install of Roundcube on the server (https://github.com/roundcube/roundcubemail/blob/master/INSTALL#L33) and copy over the relevant parts of config.inc.php and any configs in the plugins dir that i want (note, i see you have a couple of db config files, i'm not sure what those are but may be they have info which should be in my config.inc.php)

also I suppose, just in case, have a look at this announcement, there were some config changes with the release of 1.6 https://roundcube.net/news/2022/07/28/roundcube-1.6.0-released

next there is an updatedb.sh utility shipped with Roundcube https://github.com/roundcube/roundcubemail/blob/master/UPGRADING#L97 so I'd use this to bring the db schema up to date.

then I might enable the installer just because its an easy way to check everything its ok.
92
Release Discussion / Re: RC Configuration
« Last post by morsecode1965 on March 07, 2024, 06:30:47 AM »
Thanks for the quick response.

Hmmm, I do not see roundcube listed when I do a 'apt list --installed' or 'snap list'.

In any case, how do recommend a clean install restoring my config and db? I like standard and

I am thinking
 - backup, drop, install roundcube, and restore my postgresql roundcube database
 - save and restore all config files in /etc/roundube
 - anything in Apache?
 - anything else?

Here is what I have in /etc/roundcube

apache.conf
config.inc.php
config.inc.php.ucf-dist
config.old.php
debian-db.php
debian-db-roundcube.php
defaults.inc.php
defaults.inc.php.dpkg-dist
htaccess
lighttpd.conf
mimetypes.php
plugins
93
Pending Issues / managesieve plugin: using rules with value comparisons
« Last post by stefannagy on March 07, 2024, 05:49:39 AM »
Hello,

I'm using Debian Bookworm, so that's Roundcube 1.6.5 now. I use the managesieve plugin to filter messages and in general it works. However, I have a question regarding the creation of rules with value comparisons in Roundcube:

Exim4 adds a header X-Spam_score with a the spam score of the message (multiplied by ten, as an integer value) and I want to use this value to filter spam messages. I attach a screenshot of the rule I created in Roundcube ("screenshot.png"), it results in the following:

# rule:[Spam-Filter]
if allof (header :value "gt" "x-spam_score" "60")
{
   fileinto "Junk";
}


This filter doesn't work. As I understand it this leads to a comparison between strings. And everywhere I look I find sieve scripts using a sieve extension comparator-i;ascii-numeric which is required to be able to use a :comparator "i;ascii-numeric", so that those strings are interpreted as decimal positive integers… Since Roundcube offers comparisions between values I guess it should be possible without this extension… :/ What am I doing wrong?
94
Pending Issues / default port / Default server
« Last post by steve3764 on March 07, 2024, 01:42:32 AM »
Hi,
I probably going crazy.. but having no possibity to modify my " all paramateres" I've decided to install another fresh new Roudcubmail  on the server.
Installation seems to be OK
When I arrived to the testing page from the installer.. I could see :

Test SMTP config
Server : localhost
Port : 587
and

IMAP Server
Server Localhost
Port : 25

Except that I've configured into config.inc.php
$config['default_host'] = 'imap://mbox1.office.itx:343';
$config['smtp_host'] = 'ssl://mbox1.office.itx:1165';

I even tried
$config['default_port'] = 1165;
$config['smtp_host'] = 'ssl://mbox1.office.itx:1165';

NONE of these values above, are shown into the testing page  ( Only localhost and standard ports ? )
Does it really read my config.inc.php file ?
Even if the value are not placed correctly I should be able to see these values somewhere.. correct ?

Is that normal ??????  of course I cannot connect


95
API Based Plugins / Re: Displaying registered email accounts in contacts
« Last post by JohnDoh on March 06, 2024, 04:08:43 PM »
This depends how you are storing your user information. Roundcube support LDAP address books for example. You could also make your own address book plugin which can pull information from what ever source you are using.
96
Release Discussion / Re: RC Configuration
« Last post by JohnDoh on March 06, 2024, 03:45:21 PM »
The fact you have a /etc/roundcube dir makes me think may be you installed Roundcube from a package, I guess one created by the Ubuntu community. In that package the location of things like configs has been changed from the default to what ever fits with their environment. I think if you are trying to update that packaged version using the original version of Roundcube that's why you are running into some problems, the packaged version is just built differently.

It might be easier to make a fresh install from the original version and copy of any configs you need from the packaged version.
97
Pending Issues / Re: Special Folder Naming and Auto-subscribe
« Last post by JohnDoh on March 06, 2024, 03:38:12 PM »
Quote
Is there a way to tell roundcube to display all IMAP folders instead of the user having to go into settings and subscribe?
Have a look at the subscriptions_option plugin shipped with Roundcube, this enables or disables the use of imap subscriptions.

By the way, assuming your IMAP server supports it, you might want to look at the special-use IMAP extension. With this the IMAP server tells the client which folders to use for junk, deleted etc rather than them creating their own and means the behaviour is the same across different cleints.
98
Roundcube Discussion / Re: Display name identities in roundcube
« Last post by JohnDoh on March 06, 2024, 03:32:27 PM »
If you are talking about automatically setting up a user's identity the first time they login to Roundcube then have a look at the new_user_identity plugin which is shipped with Roundcube. It pulls information from LDAP. If you don't store your user information in LDAP then you could make your own plugin based on this example which pulls the info from where ever you do store it.

Another option is the new_user_dialog plugin also shipped with Roundcube. This prompts the user to setup their identity on first login.
99
Release Discussion / RC Configuration
« Last post by morsecode1965 on March 06, 2024, 08:12:23 AM »
I recently upgraded from 1.4.13 to 16.6 and have run into multiple problems.

One issue I am still struggling with that I may have forced it to work is running /installer/. The installto.sh script told me that I must first run the /installer/. When I run it (still) I get a blank config instead of using my current configuration. I was able to get it to run by running the bin/update.sh script after setting the ROUNDCUBE_CONFIG_DIR environment variable to point to /etc/roundcube. This completed the database upgrade and all appears to work.

Ubuntu 20.04

So my question is, how does config work within Roundcube?

I see there is:
 - ROUNDCUBE_CONFIG_DIR environment variable
 - RCMAIL_CONFIG_DIR PHP variable
 - RCUBE_CONFIG_DIR variable

I also see the following directories:
 - /etc/roundcube
 - /var/lib/roundcube/config (--> /etc/roundcube)
 - /usr/share/roundcube/config

So, who is config setup in the following?
 - Running standard roundcube /roundcube/
 - Running installer /roundcube/installer/
 - Running from command line (e.g., bin/installto.sh)


100
API Based Plugins / Displaying registered email accounts in contacts
« Last post by infirit on March 04, 2024, 07:46:55 PM »
Hello. I have a corporate mail server on Exim+Dovecot+Roundcube. It is necessary that all registered mailboxes and names are displayed in the contacts section. I did not find this option in the Roundcube settings. I installed the Globaladdressbook plugin, but it only displays contacts added manually or imported from a file.
Pages: 1 ... 8 9 [10]