Hello together
I have installed Jira Service Management Data Center 5.4.1 LTS. I am now trying to set up an outgoing mail connection. On our SMTP server we do not have authentication enabled. So I don't have to enter a username and password. So I can just send mails to smtp.mycompany.com port 25.
When setting up in Jira, I have to select Password (basic authentication) for Authentication Method so that the Test Connection button becomes active at all. The user name and password are optional. That's why I don't enter them, because we don't need a user name and password either. Unfortunately I get the message
Unfortunately no connection was possible. Review the errors below and rectify:
AuthenticationFailedException: 535 5.7.0 authentication failed
How can I set up an SMTP connection without having to create a user for authentication?
Regards
Patrick
I sort of followed a hint found here: https://jira.atlassian.com/browse/JRASERVER-74326
I connected to the database and updated the config per SQL update. An ugly hack, but it worked for us.
select * from mailserver
id | name | description | mailfrom | prefix | smtp_port | protocol | server_type | servername | jndilocation | mailusername | mailpassword | istlsrequired | timeout | socks_port | socks_host | auth_conf | cipher_type
-------+------+-------------+----------------+--------+-----------+----------+-------------+----------------------------------+--------------+------------------+--------------+---------------+---------+------------+------------+-----------+--------------
10000 | Mail | | info@example.com | Jira | 25 | smtp | smtp | our.relay.server.example.com | | info@example.com | XXXXXX | false | 10000 | | | | Base64Cipher
jira=# update mailserver set servername = '192.168.1.10' where id = 10000;
UPDATE 1
jira=# update mailserver set smtp_port = '25' where id = 10000;
UPDATE 1
jira=# update mailserver set mailusername = '' where id = 10000;
UPDATE 1
jira=# update mailserver set mailpassword = '' where id = 10000;
UPDATE 1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.