You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.