Re: [MlMt] expiring deleted and sent

2018-10-10 Thread Robert Brenstein
Oh, I somehow missed your adding that option. I just checked and see it, 
although some explanation is needed. If I have a mailbox with the 
condition “date-received is not within last 12 months” what does the 
option “limit at start of the month” exactly do? At first reading, 
it sounds like it will check only once a month. If that is correct, that 
would be too seldom. I delete like 200 to 500 emails a day, so the 
deletion queue would accumulate quite a bit over the month, way beyond 
what I can inspect optically (occasionally, I archive some mails after 
all).


My suggestion would be to offer further options: once a month, once a 
week, once a day if counting months, once a week, once a day if counting 
weeks, etc. However, the most optimal, at least for me, would be if I 
could specify the time of the day for the check to execute, regardless 
whether I count days, weeks or months. I am guessing that you probably 
wouldn’t have to change much the actual execution for that option, 
just add the interface to set it. Well, you could simply add further 
options to that popup, like daily at 1am, daily at 7am, daily at 1pm, 
daily at 7pm. Yeah, 4 options for time would do, me thinks.


On 10 Oct 2018, at 21:02, Benny Kjær Nielsen wrote:

If you go back to these date conditions then the comparison popup 
should have an option to limit matching emails to the start of the day 
or the start of the month. This would have the effect of bumping the 
count only once a day (or month). This is the default behavior for 
date comparisons now (but it doesn't affect date conditions already 
created).
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] expiring deleted and sent

2018-10-10 Thread Benny Kjær Nielsen

On 10 Oct 2018, at 17:30, Robert Brenstein wrote:

I have several mailboxes that show me old mails that are due to be 
deleted, some after 30 days, some 6 months, some 1 year. Notably, I do 
not use automatic deletion as I want to check them before deletion. 
Those smart mailboxes user date-received as the condition and that 
works really well. I have submitted in lighthouse an enhancement 
request, though, to be able to set how often those mailboxes update. 
Ideally, I’d like to deal with deletions only once or twice a day 
— the increasing counters prompt me (not force me but I feel 
compelled) to delete several times a day.


If you go back to these date conditions then the comparison popup should 
have an option to limit matching emails to the start of the day or the 
start of the month. This would have the effect of bumping the count only 
once a day (or month). This is the default behavior for date comparisons 
now (but it doesn't affect date conditions already created).


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


Re: [MlMt] Position in mailbox table of contents after restart

2018-10-10 Thread Robert Brenstein

On 10 Oct 2018, at 14:09, Benny Kjær Nielsen wrote:


On 9 Oct 2018, at 16:06, Robert Brenstein wrote:

Hmm, it seems the MM (at least version 1.12 (5523)) already behaves 
that way. If I select something in the search results and dismiss the 
search, the selection stays. If I select nothing in the search 
results, the selection from before search is restored. Nice!



Option-click on the minus seems to be removing any selection.


Hmm, that's not intentional. I'll note it as a bug.


Well, I would just document it. It might come handy at times.

What is missing only is shift-click on minus to restore old selection 
even if something was selected in the search results.


So that's a feature request I assume :) I'll make another note.


Yes, it will complement the other actions.

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


Re: [MlMt] expiring deleted and sent

2018-10-10 Thread Robert Brenstein
I have several mailboxes that show me old mails that are due to be 
deleted, some after 30 days, some 6 months, some 1 year. Notably, I do 
not use automatic deletion as I want to check them before deletion. 
Those smart mailboxes user date-received as the condition and that works 
really well. I have submitted in lighthouse an enhancement request, 
though, to be able to set how often those mailboxes update. Ideally, 
I’d like to deal with deletions only once or twice a day — the 
increasing counters prompt me (not force me but I feel compelled) to 
delete several times a day.


Robert

On 10 Oct 2018, at 14:23, Benny Kjær Nielsen wrote:

  * There's no way to make deletion happen 30 days after a message has 
been added to a mailbox. The closest is to base it on the virtual 
“Date-Last-Viewed” header, but this won't work well for messages 
never viewed or messages viewed on a different machine.


It might make sense to introduce a virtual date header which remembers 
when a message was first seen by MailMate in its current IMAP mailbox. 
I'll give that some thought.
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] expiring deleted and sent

2018-10-10 Thread Benny Kjær Nielsen

On 10 Oct 2018, at 0:46, Randall Gellens wrote:


On 8 Oct 2018, at 10:52, Randy Bush wrote:


clearly i do not understand how a smart mailbox is different than a
stupid one


Think of a smart mailbox as a continually executed search.  You can 
perform actions on messages that meet the search criteria.


Yes, a smart mailbox is just a saved search. Technically, everything in 
MailMate is a search including the IMAP mailboxes (but that's an 
implementation detail).


Some other comments for this thread:

* Smart mailboxes are always up-to-date. The only exception is if, e.g., 
marking something as read in a mailbox of unread messages. Updating is 
then delayed until the mailbox is deselected (MailMate has go through 
hoops to make this happen because up-to-date is its modus operandi).


* Smart mailboxes involving date-based conditions are updated exactly 
when the date condition is met. MailMate sets up a timer after figuring 
out which message is the next one to be added to or removed from the 
mailbox.


* There's no way to make deletion happen 30 days after a message has 
been added to a mailbox. The closest is to base it on the virtual 
“Date-Last-Viewed” header, but this won't work well for messages 
never viewed or messages viewed on a different machine.


It might make sense to introduce a virtual date header which remembers 
when a message was first seen by MailMate in its current IMAP mailbox. 
I'll give that some thought.


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


Re: [MlMt] Position in mailbox table of contents after restart

2018-10-10 Thread Benny Kjær Nielsen

On 9 Oct 2018, at 16:06, Robert Brenstein wrote:

Hmm, it seems the MM (at least version 1.12 (5523)) already behaves 
that way. If I select something in the search results and dismiss the 
search, the selection stays. If I select nothing in the search 
results, the selection from before search is restored. Nice!



Option-click on the minus seems to be removing any selection.


Hmm, that's not intentional. I'll note it as a bug.

What is missing only is shift-click on minus to restore old selection 
even if something was selected in the search results.


So that's a feature request I assume :) I'll make another note.

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


Re: [MlMt] OmniFocus command doesn't work

2018-10-10 Thread Benny Kjær Nielsen

On 5 Oct 2018, at 11:19, Jan Erik Moström wrote:

Any idea why this doesn't work? Anything to do with the new 
permissions in Mohave?


That's not unlikely.

Try the latest release of MailMate: 
http://updates.mailmate-app.com/archives/MailMate_r5537.tbz


Also check your “System Preferences ▸ Security & Privacy ▸ Privacy 
▸ Automation” settings.


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


Re: [MlMt] Rule to bounce messages with no subject

2018-10-10 Thread Verdon Vaillancourt



On 10 Oct 2018, at 7:55, Benny Kjær Nielsen wrote:


On 4 Oct 2018, at 16:12, Verdon Vaillancourt wrote:

Has anyone written a rule to check all incoming mail, and if the 
‘Subject’ is empty, bounce it back to the original sender, 
perhaps with a message prepended?


This is possible, but it's a (very) low-level feature. You need to 
create a bundle with a bundle command which uses the `replyMessage` 
action. Bundles are documented 
[here](https://github.com/mailmate/mailmate_manual/wiki/Bundles) if 
you are feeling adventurous.


If you can make it work using the “Command” menu item then you can 
use the command as part of a rule added to your Inbox.


Thanks for the pointer. I’ll let you know how it works out.
v

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


Re: [MlMt] Rule to bounce messages with no subject

2018-10-10 Thread Benny Kjær Nielsen

On 4 Oct 2018, at 16:12, Verdon Vaillancourt wrote:

Has anyone written a rule to check all incoming mail, and if the 
‘Subject’ is empty, bounce it back to the original sender, perhaps 
with a message prepended?


This is possible, but it's a (very) low-level feature. You need to 
create a bundle with a bundle command which uses the `replyMessage` 
action. Bundles are documented 
[here](https://github.com/mailmate/mailmate_manual/wiki/Bundles) if you 
are feeling adventurous.


If you can make it work using the “Command” menu item then you can 
use the command as part of a rule added to your Inbox.


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


Re: [MlMt] Counter in dock icon

2018-10-10 Thread Benny Kjær Nielsen

On 5 Oct 2018, at 13:00, Pascal Felber wrote:

I am using BetterTouchTool together with the GoldenChaos-BTT extension 
to customise the touch bar of my laptop, and notably show the number 
of unread messages. There are a number of scripts provided to extract 
the number of unread messages from various mail clients, but not 
MailMate. When trying to adapt the scripts to support MailMate, I got 
the feeling that MailMate does not use the same UI elements to display 
the counter/badge.


MailMate has custom code to draw icon badges because it has multiple 
counters.


But I've been meaning to try to display the top-right counter using 
Apple's API.


For now, I've added the following experimental feature to do this:

defaults write com.freron.MailMate MmUseStandardBadgeLabel -bool YES

After I added the code to handle this then your script also works for me 
if I replace Mail with MailMate.


This change is in the next update (r5538+). Let me know if you have any 
issues with it.


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