• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved disable plaintext (PLAIN) authentication in imap/dovecot and smtp/postfix breaking webmail/roundcube

Wolfgang Reidlinger

Basic Pleskian
Hi there,

After following this article to disable plaintext authentication for my mail service (imap/dovecot and smtp/postfix) I ran into the following issues with Roundcude webmail service.
https://support.plesk.com/hc/en-us/articles/213400829

Roundcude webmail is not working, showing me SMTP Error (535): Authentication failed. Also in the logs I can see that PLAIN is stilled used.

2022-04-19 14:33:07 postfix/smtpd[3667] disconnect from localhost[::1] ehlo=1 auth=0/1 quit=1 commands=2/3
2022-04-19 14:33:07 postfix/smtpd[3667] warning: localhost[::1]: SASL PLAIN authentication failed: no mechanism available
2022-04-19 14:33:07 postfix/smtpd[3667] warning: SASL authentication failure: Couldn't find mech PLAIN
2022-04-19 14:33:07 postfix/smtpd[3667] TLS SNI localhost from localhost[::1] not matched, using default chain
2022-04-19 14:33:07 postfix/smtpd[3667] connect from localhost[::1]

To me it seams that some configuration step is missing. Testing the setup/config with thunderbird email client everything is working and the logs show correct behaviour.

2022-04-19 15:34:59 dovecot imap-login: Login: user=<***@domain.com>, method=CRAM-MD5, rip=*************, lip=********, mpid=17871, TLS, session=<OjN78QHdBldTr1fk>

Reading the comments of the first article, finding out that the link is not working.
Maximilian Hermann April 15, 2020 18:07
I think it is a good way to do this, but you have to change Roundcube Settings as well otherwise SMTP won't work anymore, because roundcube seems to be using plain by default: https://support.plesk.com/hc/en-us/...ication-via-Roundcube-AUTHENTICATE-DIGEST-MD5

Than I found this article telling me to revert the changes from the first artikle.
https://support.plesk.com/hc/en-us/...esk-server-encryption-needed-to-use-mechanism

I mainly use email client but I also want that this webmail service is working.
Anybody got this roundcube webmail service to use secure authentication without breaking the service?


OS: Ubuntu 20.04.4 LTS
Product: Plesk Obsidian 18.0.43 Update #1, last updated on April 18, 2022 10:59 AM
 
Edit file /usr/share/psa-roundcube/config/config.inc.php and add the following configuration:

PHP:
$config['smtp_auth_type'] = 'CRAM-MD5';
$config['imap_auth_type'] = 'CRAM-MD5';
 
Back
Top