Miscellaneous > Roundcube Discussion

Roundcube with SendMail API authentication

(1/1)

aconti:
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

JohnDoh:
Did you read SendGrid's documentation? see https://sendgrid.com/docs/for-developers/sending-email/integrating-with-the-smtp-api/

aconti:
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.

aconti:
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

Navigation

[0] Message Index

Go to full version