[MlMt] Default from address

Benny Kjær Nielsen mailinglist at freron.com
Tue Oct 4 07:53:25 UTC 2011

On 3 Oct 2011, at 22:06, Steve Hodgson wrote:

> When I send messages with MailMate the 'from' address occasionally 
> varies and I've not been able to determine the pattern that governs 
> this. Is there a predefined criteria depending on what folder or 
> source one starts from?

For new messages (I assume you are not asking about replies) the 
identity used for the default From header is based on the currently 
selected message and if such a message does not exist then it is based 
on the bottom-most message displayed in the outline. This last part  is 
actually a bug (fixed now) since it should take the sorting of the 
outline into account (I have the newest message at the bottom myself).

> Alternatively, is it possible to create a default account to be used?

Not easily. I’m considering changing/improving the behavior of 
MailMate in this area, but it is not straightforward how to do this. The 
main advantage of the current solution is that if you, for example, is 
currently viewing a message from a particular mailing list and then 
decide to create a new message to this mailing list, MailMate 
automatically uses the identity used for that mailing list (even if the 
email address itself is not explicitly given in the account settings). 
The disadvantage is that this also happens when you want to create a new 
message which is not related to the currently selected message.

The following is a low-level solution which you may find useful until a 
better solution exists:

Quit MailMate and then edit the following file:

	~/Library/Application Support/MailMate/Identities.plist

Change the ordering of the identities such that your preferred identity 
is at the top and then save the file. To make sure the file is still 
valid you can use the command line utility named `plutil` as follows:

	plutil ~/Library/Application Support/MailMate/Identities.plist

It should answer: “Identities.plist: OK”

Now, after restarting MailMate, if you close the main window in MailMate 
(or deselect the currently displayed mailbox) before creating a new 
message then MailMate should always choose the first identity found.


More information about the mailmate mailing list