Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Outgoing SMTP Connection without basic authentication

Edited

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

1 answer

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events