Postfix virtual map escapes some @

I don’t use roundcube… I am just authenticating with SMTP to my Virtualmin (Postfix) server. So I don’t think this applies to my case, right?

No, it doesn’t apply. This thread is related to RoundCube sending username as user\@dom.name rather than as user@dom.name when virtuser_file plugin is enabled.

Okay… I created a new topic at Postfix 'reject_sender_login_mismatch' rule not usable because of escaped @ characters in /etc/postfix/virtual

@Ilia @Jamie
Thanks.
It was also my current solution to remove the postfix virtualmapping from the roundcube config file.
All works as intended now.

Thanks for the support and readiness to help! It’s much appreciated.

Did you have to setup that virtualmapping plugin in Roundcube yourself, or was it enabled by default?

Hello @Jamie

It was enabled by default.
At first I tried to bring over the roundcube from the old server (files & DB), but that version (1.5.x) did not respond well to php8. I decided to go for a fresh installation and used the Virtualmin install script to accomplish that.

Hope this helps

So in my opinion, Roundcube should probably fix this plugin to deal with \ escapes in the virtusertable file.

Hi,

Sorry if it isn’t related to this thread.

There is one thing I don’t understand. If I restore a virtual server it doesn’t add any user line in
/etc/postfix/virtual. But if I add a new user to this restored server then Virtualmin adds the line:
newuser@domain.tld newuser\@domain.tld

I’m worried. Is this correct? What about the other users in the restored server?

Regards

I’ve just reading all this as I been installing new Server and added roundcube and got the authentication issue. Will this be fixed in a future releases or do we remove the Roundcube addon in future?

For anyone having this issue, you can force Virtualmin to switch back to the old format of having two Unix users per @-format mailbox at System Settings → Virtualmin Configuration → Advanced options → Create extra Unix user on Postfix systems when using user@domain format? by selecting Yes

4 Likes

Excellent, exactly what I was looking for.

Thanks
Steve

P.S. All work with @ now.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.