Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Add unique names to .Mac email aliases' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add unique names to .Mac email aliases
Authored by: xSmurf on Dec 19, '05 09:01:37AM
Ok this works for non .Mac addresses to, but it's a bit different. First remove any other comma separated emails that you may have set to for your account (except for the main address) in the Mail preferences (it can be done manually to, obviously). Now it's time for editing. In the plist add a new child to your account, call it EmailAliases and make it of the Array type. Then create another child, make it of the Dictionary type (it will automagically get "0" as its name). Create two children for the last item. Call the first one Alias and the second Name. Fill them up and *tada*! You can add as many children to EmailAliases as you want.

---
SnitchCTL : http://snitchctl.smurfturf.net/

PM G4 DP 800 / 1.25gb / 120Gb+80Gb / CD/DVD±RW/RAM/DL
- The only APP Smurf

[ Reply to This | # ]

Add unique names to .Mac email aliases
Authored by: xSmurf on Dec 19, '05 09:04:12AM

I forgot to mention you *do not* need to remove your full name from the preferences... also I didn't see the previous post, was editing when it got posted...

If anyone is interested I could post a snippet of the xml plist... let me know!

---
SnitchCTL : http://snitchctl.smurfturf.net/

PM G4 DP 800 / 1.25gb / 120Gb+80Gb / CD/DVD±RW/RAM/DL
- The only APP Smurf



[ Reply to This | # ]
Add unique names to .Mac email aliases
Authored by: xSmurf on Dec 19, '05 09:15:10AM

Ho yeah, one last thing (sorry for the comment spree)...
The only difference with a .Mac account is that it automagically retreives the aliases.
<rant>
Apple, why is it that every other email client supports mail identities and not Mail.app? Well it's not like it doesn't support, you guys just seemed too lazy to implement it. Or you figured it would be a selling point for .Mac... I'll tell you what, this almost made me move to Thunderbird (and the fact that I have to accept my self signed certificate every single time I open Mail.app, this goes for Safari to!). C'mon Apple, I know you can do better!
</rant>

---
SnitchCTL : http://snitchctl.smurfturf.net/

PM G4 DP 800 / 1.25gb / 120Gb+80Gb / CD/DVD±RW/RAM/DL
- The only APP Smurf



[ Reply to This | # ]
[off topic] self-signed cert
Authored by: moritzh on Dec 19, '05 09:41:45AM
If you import your self-signed cert into the X509 anchors keychain, won't that stop Mail.app from asking you every time? I used to run a setup with a local IMAP server as described on this site, but I don't anymore. I remember that I initially got this error as well, but somehow could get rid of it. I think using the correct procedure to create the self-signed certificate and then importing it into the X509 anchors did it. Note that now the keychain comes with a nice Certificate Assistant (directly in the Keychain menu). Unfortunately, some of the external links in the discussions have gone away, but it might be worth it to read the comments again!

[ Reply to This | # ]
[off topic] self-signed cert
Authored by: xSmurf on Dec 19, '05 09:20:24PM

Yup I tried that. I had a lot of problems with certs. The 509 Anchor keychain wouldn't take my Thawte certs! I ended up rebuilding it from the install files.
I tried dragging the cert icon to extract the cert from the dialog. Added to th 509A keychain. It's there alright, but no go :/ I tried exporting from Firefox (as it's what I did for the thawte certs) to no avail.

Extra: While thinking about it I checked here once again and this time found :
http://www.macosxhints.com/article.php?story=20050503172154759
There was some info about root certifiate in the comments, so I grabbed mine and added it to 509A... Voilà! it worked :D Sweet thanks for making me look at it one more time, with this and the recent Pick of the week about viewing all mailbox counts in the Dock I'm all set.

Extra Extra: Ho wow I just noticed while trying it once again that if you hold command while dragging the cert to extract it, it makes an ascii file (txt) instead of a binary file (crt) neat for debugging!

---
SnitchCTL : http://snitchctl.smurfturf.net/

PM G4 DP 800 / 1.25gb / 120Gb+80Gb / CD/DVD±RW/RAM/DL
- The only APP Smurf



[ Reply to This | # ]
having trouble reproducing this (account type Exchange)
Authored by: moritzh on Dec 19, '05 09:29:26AM

That sounds like good news, except that I hev trouble reproducing your results. It doesn't work for me at the moment. Mail.app is confused, the account selection drop down menu in open messages has disappeared and I cannnot create new messages (I do have a backup, of course). Could you post a snipped from your XML (plist), please? Thanks a lot! Either I'm doing something wrong, or it is because my account type is Exchange rather than IMAP.



[ Reply to This | # ]
having trouble reproducing this (account type Exchange)
Authored by: xSmurf on Dec 19, '05 09:39:19AM
Sure thing, here it is... I stripped some useless stuff, but the important remains.

<key>MailAccounts</key>
<array>
	<dict>
		<key>AccountName</key>
		<string>User@example.com</string>
		<key>AccountPath</key>
		<string>~/Library/Mail/IMAP-user@example.com</string>
		<key>AccountType</key>
		<string>IMAPAccount</string>
		<key>EmailAddresses</key>
		<array>
			<string>user@example.com</string>
		</array>
		<key>EmailAliases</key>
		<array>
			<dict>
				<key>alias</key>
				<string>alias1@example.com</string>
				<key>name</key>
				<string>Name 1</string>
			</dict>
			<dict>
				<key>alias</key>
				<string>alias2@example.com</string>
				<key>name</key>
				<string>Name 2</string>
			</dict>
		</array>
		<key>FullUserName</key>
		<string>Official Name</string>
	</dict>
</array>
Works great here, mail even matches my aliases with their proper Thawte certificates!

---
SnitchCTL : http://snitchctl.smurfturf.net/

PM G4 DP 800 / 1.25gb / 120Gb+80Gb / CD/DVD±RW/RAM/DL
- The only APP Smurf

[ Reply to This | # ]

it works (with account type Exchange, too)!
Authored by: moritzh on Dec 19, '05 10:01:29AM
OK, thanks for the snippet, so much easier to read! :) I made a mistake before (I put the code in the EmailAddresses field instead of the EmailAliases field), plus I discovered that it must be name (not Name) and alias (not Alias). Now it works for my Exchange account!

[ Reply to This | # ]