How do I diagnose smtp connection?

"Sending mail failed.  Please verify the mail server configuration and check the logs for details."  Where is the log on Windows 2012 server?  It is not in the Atlassian/bitbucket folder.

2 answers

0 vote
Peter DeWitt Community Champion Sep 21, 2017

Scott, here is a TechNet article on using telnet to test SMTP.  This will determine if the problem is server or app level.

https://technet.microsoft.com/en-us/library/aa995718(v=exchg.65).aspx

 

In case you don't have telnet enabled on the servers, here is another TechNet article that shows you how to do that.

https://social.technet.microsoft.com/wiki/contents/articles/22715.how-to-enable-telnet-in-windows-server-2012.aspx

 

Good Luck!.

 

-peter

Sorry, but you did not answer my question, in the context.  My context is "Bitbucket".   The question was:  where is the Bitbucket log for the mail connection?  The "Test email" button failed but it did not say why it failed.

Still haven't answered my question.

0 vote
Jeff Thomas Atlassian Team Sep 26, 2017

Hi Scott,

Inside of %BITBUCKET_HOME%/log there will be a atlassian-bitbucket.log and atlassian-bitbucket-mail.log files that should contain more information about why the test mail did not send.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

24,006 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you