Hi!
This is a new installation. We do have other Virtualmin servers, and as I can remember never had the same problem.
The problem is:
I install RoudCube webmail via Install Scripts under any virtual server
I log in with a valid account and send an e-mail. RoudCube sends it as user@localhost instead of user@domain and the mail is being defferred
I figured out the problem: the RoudCube plugin āvirtuser_fileā must be enabled for the proper identity to be automaticaly choosen
On an older Virtualmin server it looks like this (/home/domain/public_html/roundcube/config/config.inc.php):
// List of active plugins (in plugins/ directory)
$config[āpluginsā] = [āvirtuser_fileā, āarchiveā, āzipdownloadā];
$config[āvirtuser_fileā] = ā/etc/postfix/virtualā;
But on this new server only archive and zipdowload are enabled
My problem is, that our customers can install scripts and when they do install RoundCube they end up with this error and we have to modify the settings of their RoudCube.
Is there a way to set Virtualmin to add this plugin automaticaly when installing RoudCube? I feel like there shoud be a solution for this, as it works on all the other servers but I never had to configure it (as I can remember).
No, wheter I install it as root user or as a client, the result is the same.
Neither I had problems with the other Virtualmin servers. RoudCube always worked fine.
The first thing I do after adding a new VS and adding myself as a user is to run the roundcube script and never have had a problem with it - I also have all Ubuntu VMs and most up-to-date 22.04.3, I can only think something went astray in running the script or a required php module is missing.
I can also confirm $config['plugins'] = ['archive','zipdownload',];
are the only plugins in my /roundcube/conf/conf.inc.php file
I donāt think that a php module is missing. When I manually add virtuser_file module to RoundCube config everything works fine. Itās just not enabled initially.
Which type of webmin user format are you using ? user.domain or user@domain.com I remember from way back that I had to use that plugin with roundcube. But in the end I pushed the romote users to use usermin as the web email client as it has more integrated features (with webmin/virtualmin) than any other web email client, it just takes time getting used to
On all our servers we use user name in format user.domain
The Postfix virtual does contain all the virtual users, and on all other servers RoudCube uses the virtuser_file plugin by default.
As I specified earlier, everything works fine if I manually add this module to the RoundCube config file. The problem is that it isnāt enabled during the installation.
Thanks for trying to help me!
It is worth noting that this line is missing from Roundcube v1.6.5 along with any use of a plugin called āvirtuser_fileā so perhaps Roundcube has stopped obtaining users from postfix virtual.