Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a client who has experienced this intermittent symptom, and I'm looking for the cause:

Using Mail.app with GMail (enterprise edition), he presents Mail.app to me when it has an indeterminate progress indicator (spinning circle) next to the 'Sent' box. During this time, he can compose new messages and ask mail.app to send them, but they never leave his machine. I use Window > Connection Doctor > Show Detail to see IMAP commands and data flying by, but I can only see a few lines at a time, and have no way to scroll back to decipher what's going on.

The connection from Mail.app to GMail is encrypted, so I didn't think a packet capture would do what I wanted.

Is there a logging option that I can enable?


As an aside, I can clear this issue by deleting the (hidden) directory at ~/Library/Mail/IMAP-user@gmail.com/.OfflineCache/

share|improve this question

You can try:

/Applications/Mail.app/Contents/MacOS/Mail -LogSocketErrors YES -LogActivityOnHost your.mail.server -LogActivityOnPort 143 &>~/Desktop/ConnectionLog.txt

or if you have 10.5 or later

/Applications/Mail.app/Contents/MacOS/Mail -LogActivitiyOnHost your.mail.server -LogMaximumBytes 200 -LogIMAPErrors YES &>•/Desktop/ConnectionLog.txt

and in another terminal window

tail -f ~/Desktop/ConnectionLog.txt

Apple Developer Mail Documentation

I also find that sometimes Little Snitch can be helpful for these things

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .