I have been trying to set up an iOS mobileconfig file that installs a POP3 email account on an iPhone with all the settings configured except the password, which the installing user will fill out manually. If I leave out the password payload then when the install is completed there are two email accounts listed in the "Passwords & Accounts" section of the Settings. These two POP accounts are identical except that the first one has no SMTP server listed. The second one has everything correct and functions perfectly. My only workaround at this time is to turn off the first email account in the Settings (because neither can be deleted without removing the configuration profile entirely).
This occurs on any iPhone I've installed this on, using many different email account settings.
Two main factors are:
- If it is set to EmailTypeIMAP as the server type, the duplication does not occur, password or no password.
- When using EmailTypePOP if there is a Password listed in the payload the duplication does not occur.
Here is a copy of the mobileconfig file. (password not included) Can anyone tell me what is wrong with it, or if it is an Apple iOS bug?
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadIdentifier</key>
<string>com.plesk.656433ea-2b36-5bbd-b38e-a987c66c01db</string>
<key>PayloadRemovalDisallowed</key>
<false />
<key>PayloadScope</key>
<string>User</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>656433ea-2b36-5bbd-b38e-a987c66c01db</string>
<key>PayloadOrganization</key>
<string>wshv.net</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>PayloadDisplayName</key>
<string>theone@wshv.net</string>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadType</key>
<string>com.apple.mail.managed</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>PayloadIdentifier</key>
<string>com.apple.mdm.wshv.net.656433ea-2b36-5bbd-b38e-a987c66c01db.haisoft.email.4ff532b8-974f-b43a-f5d8-3642c0f46b1f</string>
<key>PayloadUUID</key>
<string>4ff532b8-974f-b43a-f5d8-3642c0f46b1f</string>
<key>PayloadEnabled</key>
<true />
<key>PayloadDisplayName</key>
<string>theone@wshv.net</string>
<key>EmailAccountDescription</key>
<string>theone@wshv.net</string>
<key>disableMailRecentsSyncing</key>
<true />
<key>allowMailDrop</key>
<false />
<key>PreventMove</key>
<false />
<key>PreventAppSheet</key>
<false />
<key>SMIMEEnabled</key>
<false />
<key>SMIMEEnablePerMessageSwitch</key>
<false />
<key>IncomingMailServerAuthentication</key>
<string>EmailAuthPassword</string>
<key>IncomingMailServerUseSSL</key>
<true />
<key>OutgoingMailServerAuthentication</key>
<string>EmailAuthCRAMMD5</string>
<key>OutgoingMailServerUseSSL</key>
<true />
<key>EmailAccountType</key>
<string>EmailTypePOP</string>
<key>EmailAccountName</key>
<string>theone@wshv.net</string>
<key>EmailAddress</key>
<string>theone@wshv.net</string>
<key>IncomingMailServerHostName</key>
<string>mail.wshv.net</string>
<key>IncomingMailServerPortNumber</key>
<integer>995</integer>
<key>IncomingMailServerUsername</key>
<string>theone@wshv.net</string>
<key>OutgoingMailServerHostName</key>
<string>mail.wshv.net</string>
<key>OutgoingMailServerPortNumber</key>
<integer>465</integer>
<key>OutgoingMailServerUsername</key>
<string>theone@wshv.net</string>
<key>OutgoingPasswordSameAsIncomingPassword</key>
<true />
</dict>
</array>
</dict>
</plist>