Roundcube Community Forum
Miscellaneous => Roundcube Discussion => Topic started by: aconti on February 22, 2021, 02:54:15 PM
-
Hi,
Currently RoundCube is using SMTP user/pass authentication but failing to send emails with "SMTP Error (535): Authentication failed."
This is likely because SendGrid has only started to accept connections via API Keys
Does RoundCube support this authentication via API and how do I apply this?
Path: /var/www/html/roundcubemail_backup/roundcubemail/config/config.inc.php
$config['smtp_user'] = " "
$config['smtp_pass'] = " "
Thanks
-
Did you read SendGrid's documentation? see https://sendgrid.com/docs/for-developers/sending-email/integrating-with-the-smtp-api/
-
yes thanks, postfix works fine with SendGrid API key, issue is only with roundcubemail Web interface so suspect that config.inc.php (still using user/pass) needs to be updated to start using the API
I tried but still got the same 535 Error, so was wondering if there is any Roundcube documentation so I make sure API are entered correctly?
Respective communication from SendGrid below:
Secure Your SendGrid Account With API Keys and Two-Factor Authentication (2FA) Twilio SendGrid will soon begin enforcing API Key authentication for all API requests and SMTP configuration, as well as requiring Two-Factor Authentication upon login. We have begun reaching out to customers to upgrade to API Keys where applicable, and to enable 2FA on their SendGrid accounts using SMS or Authy.
-
ok issue was that I was working/changing within a backup path (hence not used).
I applied the same changes to /var/www/html/roundcubemail/config/config.inc.php and it worked