Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Docker and SMTP

jpcyrenne
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 13, 2018

Good day,

I've deployed Bitbucket on docker as explained here:
https://hub.docker.com/r/atlassian/bitbucket-server/

I can't seem to be able to configure email ?

I know my information is good as I can connect with webmail or other Mail client
- hostname, username, password, port 465, use SSL when possible.

Also tried a simple 127.0.01:25 (host) with no success.

tail -f /var/atlassian/application-data/bitbucket/log/atlassian-bitbucket.log gives me this:
Failed to send a test email message to xx@xxxxxx.com
com.atlassian.bitbucket.mail.MailSendException: Sending mail failed. Please verify the mail server configuration and check the logs for details

 

Do I need to install an MTA like Postfix or configure a service like msmtp?  Or is it an issue with my settings?

Thank you n advance,

JP

 

 

1 answer

0 votes
jpcyrenne
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 13, 2018

I read a bit more in the Community and someone said switching from port 465 to 25 worked for him...  Also did for me.  I guess I can live with that.


ref : https://community.atlassian.com/t5/Jira-questions/Sending-email-using-gmail-smtp-with-groovy-script-fails/qaq-p/121512


Otherwise, what could be the issue when using 465 with SSL?  (works when I connect my phone to the same account, for example)

Thanks again,

JP

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events