Some preferences are not available in any of the panes of the Preferences window. They can only be accessed using the Terminal application and thus require some technical skills. There are various reasons for keeping these preferences hidden. Some have just not been added to a Preferences pane yet, but most of them are used to enable experimental features which cannot yet be considered stable features.
This is an example of how you can change the font of the headers view:
defaults write com.freron.MailMate MmHeadersViewFontName -string "LucidaGrande"
defaults write com.freron.MailMate MmHeadersViewFontSize -float 16
Note that most other font settings can be handled via the “Format ▸ Show Fonts” menu item.
The first step has been taken towards support for OpenGPG. So far, there is only support for decrypting and verifying ASCII armored text parts (inlined signatures/encrypted text). It should not be considered stable, but you can help by trying it out anyways.
MailMate is currently hardcoded to use /usr/local/bin/gpg2
which you need to install if you do not already have it. The GPGTools installer is recommended (or just MacGPG2 and optionally GPG Keychain Access).
To enable this feature you need to paste the following in the Terminal:
defaults write com.freron.MailMate MmEnableOpenPGP -bool YES
The following can be used as a temporary solution for adding a BCC (blind carbon copy) header by default to all outgoing messages:
defaults write com.freron.MailMate MmDefaultBccHeader -string me@example.com
MailMate uses delivery headers such as X-Original-To
in order to derive an appropriate From address. If you experience any problems with this feature then please report it. You can also disable it using:
defaults write com.freron.MailMate MmAlwaysTrustDeliveryHeaders -bool NO
It is possible to delay any outgoing messages. This is useful if you would like to be able to regret sending something within a few minutes. The following are the defaults needed. The delay is measured in seconds:
defaults write com.freron.MailMate MmSendMessageDelayEnabled -bool YES
defaults write com.freron.MailMate MmSendMessageDelay -integer 60
Note that you can still send immmediately by holding down ⌥ when sending.
An experimental alternative algorithm for the dynamic signatures system exists. It can be configured using the Terminal as follows:
defaults write com.freron.MailMateSimple MmDynamicSignatureMethod -string messageType
The three possible values are none
(to disable it completely), standard
(the default behavior), and messageType
. The last one bases its signature guess on whether the message is new or is a reply. The intention is to be able to use a detailed signature for new messages and a short signature for replies — automatically.
The following are two highly experimental features for improving the performance of MailMate:
The following can be used to reduce the number of messages included in the “All Messages” mailbox. All messages are still available via the IMAP sources/mailboxes:
defaults write com.freron.MailMate MmAllMessagesFilter -string "#date > 1 years ago"
The above example limits “All Messages” to messages dated within the past year.
Since MailMate is an offline email client it requires a lot of disk space if you have a large collection of emails. As an experimental feature MailMate offers to only fetch a subset of messages based on their age. It is currently controlled with an application wide preferences value:
defaults write com.freron.MailMate MmIMAPWindowInDays -int 365
This should limit MailMate to only fetch messages with a date within the latest year (technically, it is based on the so-called INTERNALDATE of the message on the server).
MailMate does not dynamically adapt to changes to these settings yet. It only has an effect when initially synchronizing an account. (Internally, MailMate supports controlling this window at both account and mailbox level, but this currently requires manual editing of database files.)
Any feedback on this feature is welcome, but use it with care. It is experimental.
When using the following debug variable, a log file is dumped to /tmp/mailmate_imap_subscriptions.log
if an error occurs while fetching mailboxes to be displayed for “Edit Subscriptions”. It also enables logging for the Activity Viewer even when the Activity Viewer is closed.
defaults write com.freron.MailMate LoggingEnabled -bool YES
Debug variable for logging any actions related to scripts:
defaults write com.freron.MailMate MmDebugScripts -bool YES
Debug variable for logging communication between SpamSieve and MailMate:
defaults write com.freron.MailMate DebugSpamDetection -bool YES
Normal behavior when clicking the dock icon is to open a mailbox viewer if none exists. The following changes this behavior such that any existing message viewer windows or composer windows is taken to the front when the dock icon is clicked.
defaults write com.freron.MailMate MmShowAnyViewerOnDockIconClick -bool YES