Roundcube Community Forum

 

error parsing opensmtpd virtuals

Started by gmarco, June 17, 2025, 02:13:18 AM

Previous topic - Next topic

gmarco

Hi all,
roundcube v1.6.11 wrongly parse the virtuals of opensmtpd

The file is this:
# cat /usr/local/etc/mail/virtuals
[email protected]: dom-gmarco
....

The problem is that roundcube puts automagically upon login in the identities email field:
[email protected]:

which triggers errors while sending email as invalid sender.

The easy fix is manually edit identities and remove the ":" from the mail field, but probably many people will find difficulties trying to analyze where the problem could be.

I have in my config.inc.php this line:
// -- Plugins configs ------------------------------------------------

// -- virtuser_file
$rcmail_config['virtuser_file'] = '/usr/local/etc/mail/virtuals';

As a dirty quick fix will be possible to show automatically the identities window to the first login so people will be forced to check and modify the data ?

Thanks all for attention.

alec


gmarco

Hi,

probably the plugin is made for sendmail virtusertable format (where I use without any problems), but I think it should be sufficient to strip "brutally" all illegal characters from (the end of) email address  :)

Thanks so much for your kind reply.