Confluence configuration for sending emails is done according to the information: https://confluence.atlassian.com/conf74/configuring-a-server-for-outgoing-mail-1003129449.html
It should be noted that at the beginning Confluence (server version) was installed on a server with a different IP address. Then the IP address was changed. But the mail server was configured with the same IP address of the server, which was originally and with a new IP address.
We set up our own mail server (192.168.Y.XXX) - sending from port 25. Physically, the mail server is located on the same machine as the server with Confluence installed (with the IP address 192.168.Y.ZZZ). The result is an error:
“An error has occurred with sending the test email:
com.atlassian.mail.MailException: javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <evgen@mysite.ua>: Recipient address rejected: SMTP AUTH is required for users under this sender domain ... "
There was also an attempt to configure sending mail through the Google service smtp.gmail.com through port 465. But this also produces an error:
“An error has occurred with sending the test email:
com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbt
534-5.7.14 ErwQQhmyYGEzhLBUitBsW3d7ujGpJcp2hyAIjbfmcIcoxinjfiS41a1Vc3eyilDekDbxk
534-5.7.14 ljcC76aIBNy129IdVx3U0c4m6xwSeFedYUMRK1Cp_4koxrmV4PsFA_vi9wV1ZFYG>
534-5.7.14 Please log in via your web browser and then try again.
534-5.7.14 Learn more at
534 5.7.14 https://support.google.com/mail/answer/78754 i18sm70145ljj.84 - gsmtp "
Logins and passwords are correct, Google authentication is one-factor (not two-factor). If I register port 587 for Google, then a timeout error is obtained.
I would be glad for any help.