Re: [MlMt] Transferring mailmate config

2017-11-06 Thread Vlad Ghitulescu



On 7 Nov 2017, at 8:18, Robert M. Münch wrote:


On 6 Nov 2017, at 21:46, Vlad Ghitulescu wrote:


I've copied this files:

- ~/Library/Application Support/MailMate/*.plist
- ~/Library/Application Support/MailMate/Resources/
- ~/Library/Application Support/MailMate/Bundles/
- ~/Library/Preferences/com.freron.MailMate.plist

as Benny sugested me a while ago.

Seeing that this question arise again: Benny, wouldn't be possible to 
have a menu-item / preference-button for exporting everything that 
make sense (like a backup-capsule :-) in order to start with MailMate 
on a new machine / os / etc.?


How about just exporting these files on Dropbox/... and importing them 
again on startup if they are available?


That's exactly what I did, yes.
A button / menu-item in MailMate itself would still have 3 advantages:

1. Nobody would had to remember which plist-files etc. exactly are 
relevant.

2. Nobody would have to "*dig*" deep in ~Library to find the files.
3. Benny could alter anytime the list of the relevant files whit out 
having to send a notice to all.


I use a couple of apps (TextExpander, Hazel, KeyboardMaestro) that have 
a similar approach: with a single click I can export text-snippets / 
rules / macros into a folder I can choose. BusyCal / BusyContacts also 
let you backup the events / contacts to a location you can choose.



Keeping configs in sync on many machines is really a key-feature these 
days.


Totally agree! Even when MailMate is not supposed to run simultaneously 
on two (or more) machines with a single set of plist-files & co., as far 
as I remember.___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Transferring mailmate config

2017-11-06 Thread Robert M. Münch
On 6 Nov 2017, at 21:46, Vlad Ghitulescu wrote:

> I've copied this files:
>
>   - ~/Library/Application Support/MailMate/*.plist
>   - ~/Library/Application Support/MailMate/Resources/
>   - ~/Library/Application Support/MailMate/Bundles/
>   - ~/Library/Preferences/com.freron.MailMate.plist
>
> as Benny sugested me a while ago.
>
> Seeing that this question arise again: Benny, wouldn't be possible to have a 
> menu-item / preference-button for exporting everything that make sense (like 
> a backup-capsule :-) in order to start with MailMate on a new machine / os / 
> etc.?

How about just exporting these files on Dropbox/... and importing them again on 
startup if they are available? Keeping configs in sync on many machines is 
really a key-feature these days.

-- 

Robert M. Münch, CEO
M: +41 79 65 11 49 6

Saphirion AG
smarter | better | faster

http://www.saphirion.com
http://www.nlpp.ch


signature.asc
Description: OpenPGP digital signature
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] reply - at the bottom now?!

2017-11-06 Thread John Cooper

Vlad Ghitulescu wrote (at 12:41 on 6 Nov 2017):

What do you - all of you - use for replies, at the top or at the 
bottom?


I reply at the top to most messages, but reply at the bottom when I post 
to this list, because it is Benny's list and he has expressed that 
preference.


I'm really not interested in monitoring debate about the topic; it's as 
pointless as arguments about whether to mount a toilet paper roll so 
that new sheets come from over the top or from under the bottom of the 
roll.

___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Transferring mailmate config

2017-11-06 Thread Vlad Ghitulescu

I've copied this files:

- ~/Library/Application Support/MailMate/*.plist
- ~/Library/Application Support/MailMate/Resources/
- ~/Library/Application Support/MailMate/Bundles/
- ~/Library/Preferences/com.freron.MailMate.plist

as Benny sugested me a while ago.

Seeing that this question arise again: Benny, wouldn't be possible to 
have a menu-item / preference-button for exporting everything that make 
sense (like a backup-capsule :-) in order to start with MailMate on a 
new machine / os / etc.?



Regards,
Vlad




On 5 Nov 2017, at 22:13, Robert Kroeger wrote:


Hi,

I recently installed a fresh copy of HighSierra on a Mac (probably 
like a lot of other people) and wanted to easily copy my Mailmate 
config from my old disk to the new one. I saw some discussions here 
about syncing Mailmate config but remain unclear on what files I would 
need to copy to replicate the configuration on a new machine? (In 
particular, without access to the old machine’s Mailmate, I failed 
to replicate the exact combination of settings that I had for Mailmate 
to work in a way that I like with Gmail.)


Is it sufficient (or dangerous) to copy from `~/Library/Application 
Support/MailMate` (while Mailmate is not running I presume):


```
Identities.plist
Mailboxes.plist
Sources.plist
Submission.plist
Tags.plist
```

Or do I need to copy some other files? Or are some of these better not 
copied?


Rob.

___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] reply - at the bottom now?!

2017-11-06 Thread Vlad Ghitulescu
It worked, thank you, Benny… although, seeing that the default is the 
other way around I start to think that you've must have had already some 
thoughts about this… :-)


What do you - all of you - use for replies, at the top or at the bottom?




On 6 Nov 2017, at 11:24, Benny Kjær Nielsen wrote:


On 5 Nov 2017, at 5:24, Vlad Ghitulescu wrote:


Any idea why and how to switch to "*reply at the top*"?


See the Signatures preferences pane. After changing the default 
behavior then click “Reset Usage History” to make sure MailMate 
does not remember anything wrong based on emails you have already 
sent.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Proposal: conditional image loading by URL filtering

2017-11-06 Thread Sam Hathaway

On 6 Nov 2017, at 5:13, Benny Kjær Nielsen wrote:


Thanks for the detailed idea.


Thanks for considering it!

I'm thinking it might be a performance issue to call a script for 
every image (there can be a lot of them in a single email).


I was thinking you’d invoke the script once for each email, at display 
time. Does that change things for you? The process on your side would 
look something like:


```
on display_html_email:
proc = run(uri_approver)
for image in remote_images:
proc.write(image)
result = proc.read()
if result is 'allow':
display(image)
proc.end()
```

It might be nice with a more flexible solution, but if all you want is 
a regular expression to allow certain images then I already 
implemented `MmAllowedImageURLRegexp`. For example:


	defaults write com.freron.MailMate MmAllowedImageURLRegexp -string 
"https://(freron\.com|example\.com)/.*"


Hmm, it appears I've “forgotten” to document this. Maybe because I 
didn't really finish this feature. I would have liked to also handle a 
`MmDisallowedImageURLRegexp`. Let me know if you need that.


Hey, that’s great. It means I’ll have to deal with a long, ugly 
regular expression, but I can tolerate that I think. I don’t think I 
need a deny pattern, since deny is MailMate’s default.


Thanks a lot!
-sam
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Debugging custom keystrokes (another newbie question)

2017-11-06 Thread Robert Goldman

On 6 Nov 2017, at 7:54, David Ledger wrote:


On 6 Nov 2017, at 10:23, Benny Kjær Nielsen wrote:


On 4 Nov 2017, at 19:59, Robert Goldman wrote:


Follow-up questions:


I *think* most of your questions are answered 
[here](https://manual.mailmate-app.com/custom_key_bindings.html#key-bindings-in-mailmate).


2. Would it be possible to add a log entry if MailMate does not find 
a file?


I've added this.


3. Are there any characters forbidden in filenames?


No.


--
Benny


‘/‘ is to be avoided in filenames in Unix systems generally. 
Having worked with Unix since (just) before the Mac I’ve never tried 
using it with OSX. It may (or may not) work, but it’s a low-level 
fiddle-around if it does and could break. Similarly I avoid ‘:’ as 
that used to be the pathname separator pre-OSX, even though it 
wasn’t as visible to users. There used to be a compatibility 
fiddle-around for that, but Apple may have dropped that by now.




Thanks.  I was just using hyphen (-), because I'm an old school lisp 
programmer, so hyphen is the way I say underscore ;-)


Best,
r
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Debugging custom keystrokes (another newbie question)

2017-11-06 Thread Robert Goldman

On 6 Nov 2017, at 4:23, Benny Kjær Nielsen wrote:


On 4 Nov 2017, at 19:59, Robert Goldman wrote:


Follow-up questions:


I *think* most of your questions are answered 
[here](https://manual.mailmate-app.com/custom_key_bindings.html#key-bindings-in-mailmate).




You are right: when I went back I found that this did specify the 
separating character.  I was doing it right; I must just have forgotten 
the source of this information.
2. Would it be possible to add a log entry if MailMate does not find 
a file?


I've added this.


Thanks.  Will this pop-up in a beta build when I update?



3. Are there any characters forbidden in filenames?


No.


Then I guess I'm still at a loss.  When a keystroke fails to do what I 
expect, is there any debugging recourse?  Is there some sort of API that 
Apple supplies to let you query a keyboard configuration with a 
keystroke to find out what will happen?  Is there a logging capability 
that one can use to see how keystrokes were mapped in an application?


IMO that's the problem with all these domain-specific languages like the 
plist -- people who build them don't just *assume* that they'll go wrong 
sometime, as software always does, and think about how they can be 
debugged when the inevitable happens.


Best,
r
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Debugging custom keystrokes (another newbie question)

2017-11-06 Thread David Ledger

On 6 Nov 2017, at 10:23, Benny Kjær Nielsen wrote:


On 4 Nov 2017, at 19:59, Robert Goldman wrote:


Follow-up questions:


I *think* most of your questions are answered 
[here](https://manual.mailmate-app.com/custom_key_bindings.html#key-bindings-in-mailmate).


2. Would it be possible to add a log entry if MailMate does not find 
a file?


I've added this.


3. Are there any characters forbidden in filenames?


No.


--
Benny


‘/‘ is to be avoided in filenames in Unix systems generally. Having 
worked with Unix since (just) before the Mac I’ve never tried using it 
with OSX. It may (or may not) work, but it’s a low-level fiddle-around 
if it does and could break. Similarly I avoid ‘:’ as that used to be 
the pathname separator pre-OSX, even though it wasn’t as visible to 
users. There used to be a compatibility fiddle-around for that, but 
Apple may have dropped that by now.


David

___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Custom Search / Always selects FROM as search field, how can I change that?

2017-11-06 Thread Robert M. Münch
On 6 Nov 2017, at 11:32, Benny Kjær Nielsen wrote:

> On 6 Nov 2017, at 10:13, Robert M. Münch wrote:
>
>> Hi, using the custom search to search just the actual mailbox, always comes 
>> up using FROM as search target. I would like to use body text or even better 
>> no restriction at all. MM should just search through everything, header, 
>> text, etc.
>
> Use “Common Headers or Body”.
>
>> Is it possible to change the default behaviour?
>
> You are looking for “Edit ▸ Find ▸ Use as Default Search” (use it after 
> setting up your desired set of search conditions -- you can have multiple 
> conditions since MailMate ignores those with empty text fields).

That was the missing link. Thanks.

How about putting this into the GUI of the search bar. Proximity of functions & 
features helps a lot.

Viele Grüsse.

-- 

Robert M. Münch, CEO
M: +41 79 65 11 49 6

Saphirion AG
smarter | better | faster

http://www.saphirion.com
http://www.nlpp.ch


signature.asc
Description: OpenPGP digital signature
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Feature wish: Clean subject - Get rid of multiple "Re:"

2017-11-06 Thread Mike Brasch



On 6 Nov 2017, at 11:27, Benny Kjær Nielsen wrote:


MailMate should already do this,


MailMate does it, but only when replying. Is it a dumb idea to do it on 
arrival of such mails?


--
greets
Mike
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


[MlMt] Accessing local Unix mail

2017-11-06 Thread David Ledger
Is there a built-in way to access local on-host Unix emails from ~/mbox 
or /var/mail/? I can import them, but can this be done 
automatically on a schedule? I know I can get cron to send its mail 
using mate, but that would send it off site to be re-loaded back. That 
would be fine, but I’d use a direct import if it were already 
available.


Thanks,
David
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Custom Search / Always selects FROM as search field, how can I change that?

2017-11-06 Thread Benny Kjær Nielsen

On 6 Nov 2017, at 10:13, Robert M. Münch wrote:

Hi, using the custom search to search just the actual mailbox, always 
comes up using FROM as search target. I would like to use body text or 
even better no restriction at all. MM should just search through 
everything, header, text, etc.


Use “Common Headers or Body”.


Is it possible to change the default behaviour?


You are looking for “Edit ▸ Find ▸ Use as Default Search” (use 
it after setting up your desired set of search conditions -- you can 
have multiple conditions since MailMate ignores those with empty text 
fields).


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Transferring mailmate config

2017-11-06 Thread Benny Kjær Nielsen

On 5 Nov 2017, at 22:13, Robert Kroeger wrote:

Is it sufficient (or dangerous) to copy from `~/Library/Application 
Support/MailMate` (while Mailmate is not running I presume):


```
Identities.plist
Mailboxes.plist
Sources.plist
Submission.plist
Tags.plist
```


This should work as long as you have not already configured MailMate on 
the new machine (with 1 or more accounts). If you have then start by 
deleting the entire folder.


Or do I need to copy some other files? Or are some of these better not 
copied?


It should be fine to copy all `*.plist` files in the top-level folder 
like the files above. Some other settings are saved in the so-called 
`defaults` system (e.g., most of the settings in the Preferences panes).


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Feature wish: Clean subject - Get rid of multiple "Re:"

2017-11-06 Thread Benny Kjær Nielsen

On 4 Nov 2017, at 9:14, Andreas Borutta wrote:

There is a nice extension, which eliminates the multiple "Re:" which 
many damaged clients produce.


[...]

And, of course, Benny, what do you think?


MailMate should already do this, but apparently this is not working for 
you? You can use “Help ▸ Send Feedback” in MailMate to send me one 
or more examples of subject lines not cleaned up by MailMate when 
replying.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] reply - at the bottom now?!

2017-11-06 Thread Benny Kjær Nielsen

On 5 Nov 2017, at 5:24, Vlad Ghitulescu wrote:


Any idea why and how to switch to "*reply at the top*"?


See the Signatures preferences pane. After changing the default behavior 
then click “Reset Usage History” to make sure MailMate does not 
remember anything wrong based on emails you have already sent.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Debugging custom keystrokes (another newbie question)

2017-11-06 Thread Benny Kjær Nielsen

On 4 Nov 2017, at 19:59, Robert Goldman wrote:


Follow-up questions:


I *think* most of your questions are answered 
[here](https://manual.mailmate-app.com/custom_key_bindings.html#key-bindings-in-mailmate).


2. Would it be possible to add a log entry if MailMate does not find a 
file?


I've added this.


3. Are there any characters forbidden in filenames?


No.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Proposal: conditional image loading by URL filtering

2017-11-06 Thread Benny Kjær Nielsen

On 4 Nov 2017, at 17:10, Sam Hathaway wrote:

I’ve been thinking about whether there’d be an easy way for you to 
add conditional domain-based image loading, without doing a bunch of 
UI work for a feature that (admittedly) has limited appeal.


Thanks for the detailed idea.


2. If this is set, MailMate would run this program when displaying an 
HTML email. It would send the program each image URL on stdin, and 
expect to get back the strings `allow` or `deny`.


I'm thinking it might be a performance issue to call a script for every 
image (there can be a lot of them in a single email).



Everyone else could ignore this feature.

What do you think?


It might be nice with a more flexible solution, but if all you want is a 
regular expression to allow certain images then I already implemented 
`MmAllowedImageURLRegexp`. For example:


	defaults write com.freron.MailMate MmAllowedImageURLRegexp -string 
"https://(freron\.com|example\.com)/.*"


Hmm, it appears I've “forgotten” to document this. Maybe because I 
didn't really finish this feature. I would have liked to also handle a 
`MmDisallowedImageURLRegexp`. Let me know if you need that.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] match "contains" condition on whole word only?

2017-11-06 Thread Benny Kjær Nielsen

On 4 Nov 2017, at 15:03, Shoshanna Green wrote:

I've got a check-before-sending condition set up in 
messageVerifications.plist that's meant to keep me from sending 
messages related to the group I'm on the board of from any address 
other than the one I use for board business. The relevant condition is 
set up as


conditions = "(subject ~ 'board' or #unquoted ~[a] 'board')";

in other words, either the subject or the unquoted body text contains 
the word "board."


But this condition is also triggered whenever I use a word like 
"keyboard" or "boardwalk" or "onboarding." Is there a way to restrict 
it to whole-word matching?


For “Subject”, you can use “Subject ▸ Body ▸ Word”, but 
there is no solution for the other one. Well, it's technically possible 
to introduce a new specifier yourself, but I think that would be 
overkill in this case.


I have an old request for supporting regular expressions when matching. 
That's probably your best hope for the future.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


[MlMt] Custom Search / Always selects FROM as search field, how can I change that?

2017-11-06 Thread Robert M. Münch
Hi, using the custom search to search just the actual mailbox, always comes up 
using FROM as search target. I would like to use body text or even better no 
restriction at all. MM should just search through everything, header, text, etc.

Is it possible to change the default behaviour?

Viele Grüsse.

-- 

Robert M. Münch, CEO
M: +41 79 65 11 49 6

Saphirion AG
smarter | better | faster

http://www.saphirion.com
http://www.nlpp.ch


signature.asc
Description: OpenPGP digital signature
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate