• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue roundcube gives SMTP Error (250): Authentication failed with postfix

Linulex

Silver Pleskian
On postfix servers roundcube cant send mail if authentication is closed and gives the error

SMTP Error (250): Authentication failed

I know of article SMTP authentication fails with SMTP Error (250): Authentication failed but thats not an option. We choose to only open port 587 for smtp.

strange enough: horde works fine

On qmail servers it also works fine: roundcube is sending without any problems and authentication is closed on port 25.

on both qmail and postfix servers the whitelist only has localhost in it 127.0.0.1 and ::1

Can i change roundcube config /usr/share/psa-roundcube/config/defaults.inc.php line 255 without having problems down the line when plesk updates roundcube?

$config['smtp_port'] = 25;
into
$config['smtp_port'] = 587;

is there a place i could make the change so it will not be overwritten by plesk in the future?


regards
Jan
 
Indeed, file /usr/share/psa-roundcube/config/defaults.inc.php is a part of plesk-roundcube package. The last time this package was updated on November 15.
As a possible solution, I can recommend you lock this package for the further updates:

Screenshot at Jan 24 10-48-27.png
 
The last time this package was updated on November 15.
As a possible solution, I can recommend you lock this package for the further updates:

and on 14 november it was updated due to a serious vulnerability in Roundcube Change Log for Plesk

im sorry to say, but a recommendation to potential compromise security if something doesn't work as it should, is the last thing i thought i would hear from a plesk staff member.

Plesk gives me the ability to close port 25 and open 587, horde works in that setup, so should the other webmail that is provided by plesk. without having to compromise security on the server.

regards
Jan
 
Hi Linulex,

I have had some trouble with that error, so, I hope that these change that I have done on my server can help you :

  • $config['smtp_server'] = 'tls://%n';
  • $config['smtp_port'] = 587;
  • $config['cipher_method'] = 'AES-256-CBC';

The last thing that you can do, for more security is to change the default parameter in this line with new one:

  • $config['des_key'] =
 
Back
Top