I am pretty new on setting up webservices and i only have basic knowledge on networks, and i am trying to set one web service on a local server, to receive and send mail through an mail server hosted in my ISP.
Setup: — OSX — Roundcubemail — Server app — Dinamic IP with No-IP link
Here is my default.inc.php:
And i am getting a:
Without being possible to send mails to no one.
And If i change those to default:
I would have a different output, here i am able to send and receive mails between my several domains in my ISP, but i am unable to send mails to domains such as gmail.com, receiving the following error:
I have also activated the smtp log, but cannot see where is the problem:
I discover that SMTP works with authentication through SPF and DKIM but dont know if that is interfering with SMTP auth.
четверг, 1 февраля 2018 г.
Linux Roundcube ошибка авторизации 250
Ошибка возникает при попытке отправки сообщения
При настройке указал в default.inc.php
$config[‘smtp_auth_type’] = ‘LOGIN PLAIN’;
LOGIN похоже не рабочий метод
$config[‘smtp_auth_type’] = null;
Linux and Open Source Blog
Recently while trying to install roundcube I am stuck with the error “roundcube SMTP Error (250): Authentication failed”.
With the error the clear hint is there should be some issue with SMTP setting, so I checked all SMTP settings and I had bit doubt on following settings.
After doing some experiments with my main.inc.php file following tweaks are worked for me.
8 comments on “ Roundcube SMTP Error (250): Authentication failed ”
Yes, this fixed worked for me as well.
Where can I find this files?
You can find it in roundcube config directory.
For example in Centos its in /var/www/html/roundcube/config & in Ubuntu its in /var/www/roundcube/config.
Thanks for this, fixed it for me too 🙂
Thanks a lot, fixed it for me,
Many thanks it work for me too
thanks, it works!!
This trick doesn’ work if: smtpd_tls_auth_only = yes
// SMTP server host (for sending mails).
// To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
//$config[‘smtp_server’] = ‘localhost’;
$config[‘smtp_server’] = ‘tls://localhost’;
// SMTP port (default is 25; use 587 for STARTTLS or 465 for the
// deprecated SSL over SMTP (aka SMTPS))
//$config[‘smtp_port’] = 25;
$config[‘smtp_port’] = 587;
Now everything works fine.
Nevertheless this blog gave me the hint to look in the right place, so thanks!