How To: Disable Mac Mail Connection Logging

Disable Mac Mail Connection Logging

Mac OS Mail offers the ability to enable connection logging to help troubleshoot email server issues. In addition, the logs will monitor all email sent and received by any email addresses you have added to your Mac OS Mail client. This type of logging is beneficial in some instances when you work in a highly secured environment, but generally the logging is not needed unless your troubleshooting an email connection issue. For reference, email connection logs are stored here.

 

\Users\CurrentUser\Library\Containers\com.apple.mail\Data\Library\Logs\Mail

 

Perhaps you inadvertently enabled connection logging, here are the quick and easy steps to disable it.

 

Disable Connection Doctor Logging

  1. In Mac Mail, go to Window -> Connection Doctor

 Mac mail connection doctor

 





  1. Uncheck Log Connection Activity.
Mac mail log connection activity 
 
  1. At this point, connections will no longer be logged to file. You may still want to empty the log files it collected. Click Show Logs and delete everything in the folder that opens if you no longer wish to keep the files.
Mac mail connection doctor log files
 

Note: You can safely delete all the files in the path mentioned above, as long as you no longer wish to save them.

 

You will notice the message at the top of Mac Mail Connection Logging Enabled also disappear.

* Please use the comment form below. Comments are moderated.*



Related Posts

 

Comments 10

Guest - pep on Thursday, 19 November 2020 04:02

connection doctor is a real pain how can I disable it completely? its unnecessary warnings make me crazy, there is nothing wrong with my connection , maybe it's sometimes slow and connection doctor warns me about it hundreds of times a day, something which started to happen only with catalina

connection doctor is a real pain how can I disable it completely? its unnecessary warnings make me crazy, there is nothing wrong with my connection , maybe it's sometimes slow and connection doctor warns me about it hundreds of times a day, something which started to happen only with catalina
Guest - Bob Davison on Thursday, 12 March 2020 16:39

In the Mail App on a Mac - messages are stuck in the outbox - not being sent. Can you tell me what I should look for to correct this?

In the Mail App on a Mac - messages are stuck in the outbox - not being sent. Can you tell me what I should look for to correct this?
Guest - Roger Thompson on Sunday, 14 October 2018 21:55

Had this enabled by Apple to help trace a problem. Wondered where it came from. Thanks for showing how to disable and remove!

Had this enabled by Apple to help trace a problem. Wondered where it came from. Thanks for showing how to disable and remove!
Guest - peter on Friday, 07 September 2018 05:05

Thank you. Found your site very helpful in switching off connection logging.

Thank you. Found your site very helpful in switching off connection logging.
Guest - John Vossos on Tuesday, 14 August 2018 12:09

Thanks for that information. I am always looking for ways to maintain some privacy.

Thanks for that information. I am always looking for ways to maintain some privacy.
Guest - David Payne on Friday, 15 June 2018 03:40

Brilliant - my 'System' storage was >350GB! All down to one of these log files that had built up over 3 years! Apple Support didn't appear to be aware of this issue. All solved now

Brilliant - my 'System' storage was >350GB! All down to one of these log files that had built up over 3 years! Apple Support didn't appear to be aware of this issue. All solved now
Guest - Sancso on Friday, 04 May 2018 09:17

is it possible do that from terminal?

is it possible do that from terminal?
Guest - POla on Tuesday, 17 April 2018 07:21

thank u so muuuchhhhhh ! I am not an IT master and that is why I love your explanation !!! U SAVED MY LIFE

thank u so muuuchhhhhh ! I am not an IT master and that is why I love your explanation !!! U SAVED MY LIFE
Guest - Siety on Sunday, 17 September 2017 18:40

Followed the steps to Disable Mac Mail Connection logging and had success.
Many thanks the instructions were clear as I am a complete novice when it comes to correcting problems on my Mac.

Followed the steps to Disable Mac Mail Connection logging and had success. Many thanks the instructions were clear as I am a complete novice when it comes to correcting problems on my Mac.:D
Guest - bruzer on Tuesday, 08 August 2017 18:20

very good explanation
works great thank you

very good explanation works great thank you
Wednesday, 24 April 2024