HT204173: Use Mail Connection Doctor

Learn about Use Mail Connection Doctor
FarNorth_1

Q: OS X wants to make changes. when sending mail

Everytime I send mail from the mail app I get the response:

 

Screen Shot 2016-03-09 at 9.33.30 AM.png

I enter the admin info and it sends but this happens every time.  How do I fix this?

iMac, OS X Server, El Capitan/Server 10.11.1

Posted on Mar 9, 2016 8:37 AM

Close

Q: OS X wants to make changes. when sending mail

  • All replies
  • Helpful answers

  • by Linc Davis,

    Linc Davis Linc Davis Mar 9, 2016 1:54 PM in response to FarNorth_1
    Level 10 (207,926 points)
    Applications
    Mar 9, 2016 1:54 PM in response to FarNorth_1

    Please back up all data before proceeding.

    This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.

    Step 1

    If you have more than one user, and the one in question is not an administrator, then go to Step 2.

    Triple-click anywhere in the following line on this page to select it:

    sudo find ~ $TMPDIR.. -exec chflags -h nosappnd,noschg,nosunlnk,nouappnd,nouchg {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-

    Copy the selected text to the Clipboard by pressing the key combination command-C.

    Launch the built-in Terminal application in any one of the following ways:

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.

    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.

    Step 2 (optional)

    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.

    Start up in Recovery mode. You may be prompted to select a language, then the OS X Utilities screen will appear.

    If you use FileVault 2, select Disk Utility, then select the icon of the FileVault startup volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another drive icon. Click the Unlock button in the toolbar and enter your login password when prompted. Then quit Disk Utility to be returned to the main screen.

    Select

              Utilities â–¹ Terminal

    from the menu bar. A Terminal window will open. In that window, type this:

    resetp

    Press the tab key. The partial command you typed will automatically be completed to this:

    resetpassword

    Press return. A Reset Password window will open. You’re not going to reset a password.

    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.

    Select your username from the menu labeled Select the user account if not already selected.

    Under Reset Home Directory Permissions and ACLs, click the Reset button.

    Select

               â–¹ Restart

    from the menu bar.

  • by FarNorth_1,

    FarNorth_1 FarNorth_1 Mar 9, 2016 5:58 PM in response to Linc Davis
    Level 1 (12 points)
    Apple TV
    Mar 9, 2016 5:58 PM in response to Linc Davis

    LInc,

    THank you for your reply. Unfortunately that will not work for me. Many many files on my server have specific permissions.

    I Need a solution for that specific file or issue Without destroying the integrity of the permissions system

  • by Linc Davis,

    Linc Davis Linc Davis Mar 9, 2016 6:04 PM in response to FarNorth_1
    Level 10 (207,926 points)
    Applications
    Mar 9, 2016 6:04 PM in response to FarNorth_1

    I would need to know something about which permissions you've changed and why. If you don't want to disclose that information, that's understandable, but then I can't make any other suggestions.

  • by FarNorth_1,

    FarNorth_1 FarNorth_1 Mar 9, 2016 6:33 PM in response to Linc Davis
    Level 1 (12 points)
    Apple TV
    Mar 9, 2016 6:33 PM in response to Linc Davis

    Well  permissions to all my files very widely. For instance several people may have permissions to some data other people have permissions to the same data then some people are cut out of permissions to that data. I believe that the issue if it's a permissions issue,  could steal be from doing a clean install of El Capitan. After the clean install I migrated data over. Even though all the usernames and passwords are the same server picked up that it was a different account And I had to apply new permissions. So the old permissions are also on the files. But New Ones have also been added. If I knew what file  contained of the information for email I would simply delete it and start over. I did try deleting all of my emails and then putting them back in from scratch and I still get this for the yahoo account but not for the iCloud account

  • by Linc Davis,

    Linc Davis Linc Davis Mar 9, 2016 6:41 PM in response to FarNorth_1
    Level 10 (207,926 points)
    Applications
    Mar 9, 2016 6:41 PM in response to FarNorth_1

    It sounds like you're trying to use the system in a way it wasn't designed for. The closest I can come to making a useful suggestion is that you should never change the ownership of any of your files. If you insist on allowing special access to specific users, do it by adding entries to the Sharing & Permissions section of the Info dialog in the Finder. Depending on what you're trying to do, you may need to learn about access control lists, which you can do by reading the chmod(1) UNIX manual page. ACL manipulation is only suitable for advanced users.

  • by FarNorth_1,

    FarNorth_1 FarNorth_1 Mar 9, 2016 7:03 PM in response to Linc Davis
    Level 1 (12 points)
    Apple TV
    Mar 9, 2016 7:03 PM in response to Linc Davis

    THat is how I do It

  • by Linc Davis,

    Linc Davis Linc Davis Mar 9, 2016 7:30 PM in response to FarNorth_1
    Level 10 (207,926 points)
    Applications
    Mar 9, 2016 7:30 PM in response to FarNorth_1

    There are two other possible reasons for this behavior.

    1. You installed a third-party Mail plugin such as "GPGMail." Either remove it according to the developer's instructions or refer to the developer for support.

    2. You imported a mail-signing certificate into the System keychain. It belongs in the login keychain (or the iCloud keychain, if applicable.)

    Launch the Keychain Access application and locate the certificate in the System keychain. Drag it into the login or iCloud keychain. You may be prompted twice for the administrator password.

  • by FarNorth_1,

    FarNorth_1 FarNorth_1 Apr 3, 2016 10:08 AM in response to Linc Davis
    Level 1 (12 points)
    Apple TV
    Apr 3, 2016 10:08 AM in response to Linc Davis

    Linc,

    Thanks for you time on these responses. Their are no 3rd party plugins I can find.  I was thinking #2 may be the problem (although I didn't put any certificates in manually).  When setting up the server app their were certificates created however I do not use server mail.

     

    I did find this certificate in the System keychain.  Could it be the culprit, and if so do I just drag & drop it into the login keychain?

     

    Screen Shot 2016-04-03 at 11.07.51 AM.png

     

    Thanks again for all the help!

  • by FarNorth_1,Solvedanswer

    FarNorth_1 FarNorth_1 Apr 14, 2016 4:54 PM in response to FarNorth_1
    Level 1 (12 points)
    Apple TV
    Apr 14, 2016 4:54 PM in response to FarNorth_1

    After long hours on the phone with Apple Support and trying multiple, and in some cases ridiculous remedies, I got it solved.

     

    I deleted the Yahoo mail account (which was one of the accounts set up in apple mail) by going to Preferences>Internet Accounts and deleting it there.

    Then I opened apple mail to ensure it was no longer their and closed out of it.

    Then I re-opened apple mail and added the yahoo account back into apple mail using the apple mail menu Mail>Add Account...

    This fixed the problem.  Who knows why but it works now.

  • by FarNorth_1,

    FarNorth_1 FarNorth_1 Apr 17, 2016 9:22 PM in response to FarNorth_1
    Level 1 (12 points)
    Apple TV
    Apr 17, 2016 9:22 PM in response to FarNorth_1

    So we were back at square 1 as the problem started up spontaneously again.  It seems that the good folks at apple support really have no idea how to trouble shoot problems unless it is contained on one of their scripts. And when it comes to OS X Server (apples product) they have no scripts or clue. Thank you Linc for putting me on the right track though.  It is indeed a certificate problem.  I do not use 3rd party plugins and I have not manually moved anything but I believe OS X Server set up the certificate issue.  Anyway, through lots of trouble shooting I have come up with 2 different simple solutions.

     

    Solution 1:

     

    When sending an email look on the right hand side of the subject line in the header.  If their is a blue certificate seal with a checkmark, the email will be signed when sent ( and you will have to give the admin password)

    Certificate on.png

    If you do not want to have the email signed with your certificate, click the checkmark.  It will look like this:

    Certificate off.png

    Solution 2:

     

    To make the signing process automatic

     

    1st open you address book and go to your address card.  You will see a certificate symbol to the left of your email, like this:

    Screen Shot 2016-04-17 at 9.54.08 PM.png

    Click this and it will bring up a screen that tells you the name of the certificate.

     

    Now open “Keychain Access”

    Find the certificate name from the last step.

    Right click on the certificate and select “Get Info”

    Now select the “Access Control” tab.

    Then Click the + at the bottom and add the “Mail” program. (this will allow mail to always have access to the certificate without asking for permission.)

     

    4.png