Project

General

Profile

Unable to send email notifications with CRAM-MD5 as the only auth method.

Added by Vitaliy Matuschenko about 15 years ago

Hi there.
I've set up a fresh installation of redmine 8.1 on my freebsd box following the install guide.
Everything work perfect except mail notifications.
When I'm trying to send a test email I've get the following error:

An error occurred while sending mail (504 LOGIN authentication mechanism not supported )

So I tried to telnet on smtp.mydomain.com 25 and after ehlo I've got the following:

250-SIZE 52428800
250-PIPELINING
250-AUTH CRAM-MD5
250 HELP

There are no PLAIN or LOGIN auth types :(
And I'm not allowed to modify that mail server.

Here's my email.yml

production:
delivery_method: :smtp
smtp_settings:
address: smtp.mydomain.com
port: 25
domain: mydomain.com
authentication: :login
user_name:
password: mypassword

development:
delivery_method: :smtp
smtp_settings:
address: 127.0.0.1
port: 25
domain: example.net
authentication: :login
user_name:
password: redmine

Can anyone help??
Thanks in advance.


Replies (1)

RE: Unable to send email notifications with CRAM-MD5 as the only auth method. - Added by Szymon Połom almost 15 years ago

Try to use cram_md5 as authentication.

It worked for my Postfix, which only has CRAM-MD5 on the SASL mech_list.

    (1-1/1)