Mail Log

Ali Azzam October 26, 2018

Hi 

I have been searching for an overview, that shows which mails in sent to customer during the notifications. A Mail log?  

So if customer is not sure about if they have received notification mails about a ticket, we can check if the system actually not have sent a mail...  

I hope this kind of log already exist. 

BR
Ali 

4 answers

3 accepted

1 vote
Answer accepted
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 26, 2018

Hey Ali,

For Server, you can make this happen by enabling Outgoing Mail Logging.

You can find that option in the Logging and Profiling page - just look for the Outgoing section and click the enable button. If you're unsure of where to find that, you can check out our KB article here.

Depending on how much mail is being sent from your system, this can make your logs grow pretty quickly. Also be aware that debugging will be disabled each time you restart Jira, so if you want to keep monitoring that you'll need to re-enable the logging each time Jira starts.

Cheers,
Daniel

Manjunath Rajappa June 19, 2020

Hey Daniel,

How do we find mail logs in confluence server?

0 votes
Answer accepted
Ali Azzam November 26, 2018

Thanks for your answers!

0 votes
Answer accepted
Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 26, 2018

Dear @Ali Azzam,

additionally to the Daniels solution, you can access the log files of the mail server or relay. For example on a Ubuntu server you will find the logs at /var/log/mail* In many setups the mail relay is on the same hsot as Jira.

With these logs, you can really be sure a mail has been sent or not.

So long

Thomas

0 votes
Lauri Wikström February 20, 2022

Still did not work with the provided configuration. I did some debugging (mail.debug="true") and found out the reason, Confluence is not recognized and that's why sending email fails.

The fix was simple, just adding a single line to configuration:

mail.smtp.localhost="mydomain.com"

 

The article that lead to solution:

https://confluence.atlassian.com/confkb/eof-exception-during-mail-due-to-wrong-hostname-in-ehlo-1027130863.html

Suggest an answer

Log in or Sign up to answer