I do not know if this is limited to any number of Exchange ActiveSync push accounts but I currently have two working side-by-side. Here is how:
Setup one Exchange account on your phone.
SSH into your phone and edit
/private/var/mobile/Library/Preferences/com.apple.accountsettings.plist
Look for the section that covers your current Exchange account, copy it and paste it below the current entry. Edit the value of
ASAccountEmailAddress and
Identifier. Save the file.
Go to Settings and under mail accounts you will see one with the value you assigned to ASAAccountEmailAddress, edit this account and change the server, username, and password to your second Exchange server.
Here is a copy of my files will only the email addresses and server names changed.
Code:
{
Accounts = (
{
Class = DeviceLocalAccount;
"Enabled Dataclasses" = (
"com.apple.Dataclass.Bookmarks",
"com.apple.Dataclass.Notes"
);
Identifier = DeviceLocalAccount;
"Short Type String" = "On My iPod touch";
Type = OnMyDevice;
"Type String" = "On My iPod touch";
},
{
AccountPath = "/var/mobile/Library/Mail/Mailboxes";
Class = LocalAccount;
DraftsMailboxName = Drafts;
Identifier = "A49ABBBD-04BB-4AF8-B95C-C351A63F1D8F";
SentMessagesMailboxName = "Sent Messages";
"Short Type String" = Local;
"Sync Identifier" = LocalAccountId;
TrashMailboxName = "Deleted Messages";
Type = Mail;
"Type String" = Local;
},
{
ASAccountEmailAddress = "username@server1.com";
ASAccountHost = "server1.com";
ASAccountMailNumberOfPastDaysToSync = 0;
ASAccountUseSSL = 1;
ASAccountUsername = "username@server1.com";
ASLastKnownProtocolVersion = "12.1";
Class = ASAccount;
DAAccountPersistentUUID = "BE5EC6C9-B1C0-4B21-8E03-6F4885748682";
DAAccountVersion = 2;
DisplayName = "server1.com";
"Enabled Dataclasses" = (
"com.apple.Dataclass.Calendars",
"com.apple.Dataclass.Contacts",
"com.apple.Dataclass.Mail",
"com.apple.Dataclass.ContactsSearch"
);
Identifier = "30FD82D3-411D-40FF-A609-A70D4A85252E";
"Short Type String" = Exchange;
"Sync Identifier" = "30FD82D3-411D-40FF-A609-A70D4A85252E";
Type = Exchange;
"Type String" = "Exchange ActiveSync";
kASAccountVersionKey = 7;
},
{
ASAccountEmailAddress = "username@server2.com";
ASAccountEmailAddresses = "username@server2.com";
ASAccountHost = "server2.com";
ASAccountMailNumberOfPastDaysToSync = 0;
ASAccountUseSSL = 1;
ASAccountUsername = "username@server2.com";
ASLastKnownProtocolVersion = "12.1";
Class = ASAccount;
DAAccountPersistentUUID = "BE5EC6C9-B1C0-4B21-8E03-6F4885748682";
DAAccountVersion = 2;
DisplayName = server2.com;
"Enabled Dataclasses" = (
"com.apple.Dataclass.Calendars",
"com.apple.Dataclass.Contacts",
"com.apple.Dataclass.Mail",
"com.apple.Dataclass.ContactsSearch"
);
Identifier = "31C7D34D-2CFD-41FF-8A46-2819D2DE47A1";
"Short Type String" = Exchange;
"Sync Identifier" = "31C7D34D-2CFD-41FF-8A46-2819D2DE47A1";
Type = Exchange;
"Type String" = "Exchange ActiveSync";
kASAccountVersionKey = 7;
}
);
Version = 4;
}
I should state that I haven't used this long enough to comment on battery life.
