Re: [MlMt] Rules with variables in them?

2024-08-23 Thread Benny Kjær Nielsen
For the record, there is a very delayed answer in this thread: 
https://www.mail-archive.com/mailmate@lists.freron.com/msg17300.html


--
Benny

On 16 Mar 2024, at 11:19, Patrik Fältström via mailmate wrote:

Believe it or not, but I have started to dig into this *now* 7,5 years 
later.


But I can not get it to work.

Maybe the bundle spec have changed?

The attached is what I try to do. And I try to debug, but when 
triggering the action, I get exactly zero output part from the 
following when I run MailMate in the terminal:


2024-03-16 11:12:12.943 MailMate[50646:2638116] 
performBundleItemWithUUIDString: C6B05304-5FA5-416A-820D-2B19893C85F2


That is good of course, but then?

What I try to do which is different from what Benny had as example, is 
to move the message to a different account, and also I am using a 
variable date.year that might not exist? But that should give an error 
I presume?
___
mailmate mailing list
Unsubscribe: https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules not working properly

2024-07-01 Thread Henry Seiden

James,

My suggestion is that you use SpamSieve an app which does work with MM 
as well as other client email apps (Outlook and Airmail).


This separate app has many features to engage with spammers who send 
phishing/spoofing mail, filter them to a junk or spam folder on the 
relevant IMAP account, including a bayesian filter to analyze the 
content, and optional recognition of your local contact list.


These features and the author’s excellent support for the product 
(similar to how MM’s author supports his) far exceeds the custom 
trapping ability features you may now be using in MM alone.


It has worked well for me in combo with Apple Mail and I use it on my 
server to filter mail across ALL my ten source accounts which range in 
type from providers like Apple (iCloud), Microsoft (Outlook Live), 
Google (Gmail), Yahoo Mail and other commercial server accounts.


Respectfully,

Henry Seiden
- -
Techworks Pro Co.
E: infotechworksprocom
W: http://techworkspro.com

On 1 Jul 2024, at 7:04, James Coffey wrote:

I have a Junk Mail folder that gets a lot of junk and an occasional 
good email.  I have rules set in a mailbox called Misc that should 
catch those and move them there, but it only works some of the time; 
yet the same rule structure works for all the other sub mailboxes 
under my unread mailbox.


I’ve added From: addresses and names but it still works 
sporadically.


Any suggestions?
___
mailmate mailing list
Unsubscribe: https://lists.freron.com/listinfo/mailmate___
mailmate mailing list
Unsubscribe: https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules not working properly

2024-07-01 Thread Benny Kjær Nielsen

On 1 Jul 2024, at 13:04, James Coffey wrote:

I have a Junk Mail folder that gets a lot of junk and an occasional 
good email.  I have rules set in a mailbox called Misc that should 
catch those and move them there, but it only works some of the time; 
yet the same rule structure works for all the other sub mailboxes 
under my unread mailbox.


I’ve added From: addresses and names but it still works 
sporadically.


Any suggestions?


When trying to figure out what goes wrong then it's useful to know that 
you can use “Message > Reset...” to simulate that the message 
arrives in the mailbox again. This should trigger rules just like when 
it initially arrived.


If you are able to locate a message which you are sure should match the 
conditions then you can send it to me using “Help > Send Feedback” 
(just drag the email into the composer window) and I'll also need the 
following file to see your rules:


/Users//Library/Application 
Support/MailMate/Mailboxes.plist


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


[MlMt] Rules not working properly

2024-07-01 Thread James Coffey
I have a Junk Mail folder that gets a lot of junk and an occasional good email. 
 I have rules set in a mailbox called Misc that should catch those and move 
them there, but it only works some of the time; yet the same rule structure 
works for all the other sub mailboxes under my unread mailbox.

I’ve added From: addresses and names but it still works sporadically.

Any suggestions?
___
mailmate mailing list
Unsubscribe: https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules with variables in them?

2024-03-16 Thread Patrik Fältström via mailmate
Believe it or not, but I have started to dig into this *now* 7,5 years later.

But I can not get it to work.

Maybe the bundle spec have changed?

The attached is what I try to do. And I try to debug, but when triggering the 
action, I get exactly zero output part from the following when I run MailMate 
in the terminal:

2024-03-16 11:12:12.943 MailMate[50646:2638116] 
performBundleItemWithUUIDString: C6B05304-5FA5-416A-820D-2B19893C85F2

That is good of course, but then?

What I try to do which is different from what Benny had as example, is to move 
the message to a different account, and also I am using a variable date.year 
that might not exist? But that should give an error I presume?

Bundle is attached.

Patrik

On 31 Oct 2016, at 14:18, Benny Kjær Nielsen wrote:

> On 31 Oct 2016, at 4:10, Patrik Fältström wrote:
>
>> I have one mailbox where I have the name of subfolders in the form of 
>> "${#date.month}".
>>
>> Can I also use that expression in one way or another in the rules?
>>
>> For example: "Move to folder /x/${#date.year}/${#date.month}"
>
> Not as easily as that (although it would be nice if it were). The workaround 
> is to create a bundle command and I've attached an example of that. That 
> command can then be used in rules.
>
>> And of course have that folder be created if it does not exist?
>
> That always happens when moving something to a non-existing mailbox.
>
> I should explain the command (since it's undocumented):
>
> ~~~
> {
>   name  = 'Archive to Date';
>   environment   = 'MM_FOLDER=${#date.month/-/\\//}\n';
> ~~~
>
> The `environment` is used to “transfer” a header value to the script. In this 
> case a bit of regex is also used to convert `-` to `/`.
>
> ~~~
>   output= actions;
>   command   = '#!/bin/bash
> cat << END
> { actions = ( { type = moveMessage; mailbox = "/Archive/${MM_FOLDER}"; } ); }
> END
> ';
> ~~~
>
> The `actions` output type is used when a script needs MailMate to perform 
> various actions, e.g., setting tags, moving messages, creating new (and 
> possibly send) messages, etc. MailMate expects a property list with the 
> wanted actions. The `moveMessage` type requires a `mailbox` value. When this 
> value starts with `/` then the mailbox name is automatically assumed to be 
> located in the same mailbox as the message moved.
>
> ~~~
>   uuid  = '57A0FF65-7E0B-4853-8355-A4708FD1BC5E';
> }
> ~~~
>
> Note that if you create other commands then the `uuid` *must* be unique. You 
> can put such a value on the pasteboard with this snippet for a Terminal 
> window:
>
>   uuidgen | tr -d "\n" | pbcopy
>
> Save the attached bundle in this folder:
>
>   ~/Library/Application Support/MailMate/Bundles/
>
> Note that it should not be necessary to relaunch MailMate when making changes 
> to bundles.
>
> -- 
> Benny
> ___
> mailmate mailing list
> mailmate@lists.freron.com
> https://lists.freron.com/listinfo/mailmate<>


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


Re: [MlMt] Rules dialog only displays the conditions tab, no actions available

2023-05-21 Thread Malcolm Fitzgerald
That's exactly what I found. As soon as I went down to the mailbox 
within the Source I could set rules.


thank you,

Malcolm

On 19 May 2023, at 20:58, MM_Arc via mailmate wrote:


Malcolm,

Might help to select the actual mailbox in/of the source instead of 
the source top


This is imvho because the source is just a “view” where the 
mailbox is the actual container.


ex:
I define the condition of the source as:

[Any] of the following
...[Thread-Id] [is in] [Source-INBOX] [>> Thread-Id]
... [References] [is in] [Source-INBOX] [References]

So the source only shows mails of the Inbox and related to these in 
the Inbox ( and not these I already archived ext..


Good luck


Marc



On 19 May 2023, at 2:17, Malcolm Fitzgerald wrote:


Am I looking in the wrong place?

I'm control-clicking on a mail source and selecting Edit Rules... The 
dialog displays "Conditions" across the top, nothing else. In the 
bottom half of the dialog I can set my conditions. That's great but I 
really want to specify the action to occur. I can't see how to 
specify an action to occur when the condition is met.



Version 1.14 (5937)

Malcolm
___
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___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules dialog only displays the conditions tab, no actions available

2023-05-21 Thread Malcolm Fitzgerald
On 20 May 2023, at 0:02, Bill Cole wrote:

> On 2023-05-18 at 20:17:24 UTC-0400 (Fri, 19 May 2023 12:17:24 +1200)
> Malcolm Fitzgerald 
> is rumored to have said:
>
>> The dialog displays "Conditions" across the top, nothing else.
>
> Does it not also have "Submailboxes" and "Rules" tabs?
>
> Can you provide a screenshot?

Marc has picked the solution. I assumed that I could set rules on the top 
level. I can't. Although I can define conditions that control which messages 
are displayed. That's a new discovery for me and I'm already enjoying it.

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


Re: [MlMt] Rules dialog only displays the conditions tab, no actions available

2023-05-19 Thread Bill Cole
On 2023-05-18 at 20:17:24 UTC-0400 (Fri, 19 May 2023 12:17:24 +1200)
Malcolm Fitzgerald 
is rumored to have said:

> The dialog displays "Conditions" across the top, nothing else.

Does it not also have "Submailboxes" and "Rules" tabs?

Can you provide a screenshot?

-- 
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules dialog only displays the conditions tab, no actions available

2023-05-19 Thread MM_Arc via mailmate

Malcolm,

Might help to select the actual mailbox in/of the source instead of the 
source top


This is imvho because the source is just a “view” where the mailbox 
is the actual container.


ex:
I define the condition of the source as:

[Any] of the following
...[Thread-Id] [is in] [Source-INBOX] [>> Thread-Id]
... [References] [is in] [Source-INBOX] [References]

So the source only shows mails of the Inbox and related to these in the 
Inbox ( and not these I already archived ext..


Good luck


Marc



On 19 May 2023, at 2:17, Malcolm Fitzgerald wrote:


Am I looking in the wrong place?

I'm control-clicking on a mail source and selecting Edit Rules... The 
dialog displays "Conditions" across the top, nothing else. In the 
bottom half of the dialog I can set my conditions. That's great but I 
really want to specify the action to occur. I can't see how to specify 
an action to occur when the condition is met.



Version 1.14 (5937)

Malcolm
___
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


[MlMt] Rules dialog only displays the conditions tab, no actions available

2023-05-18 Thread Malcolm Fitzgerald
Am I looking in the wrong place?

I'm control-clicking on a mail source and selecting Edit Rules... The dialog 
displays "Conditions" across the top, nothing else. In the bottom half of the 
dialog I can set my conditions. That's great but I really want to specify the 
action to occur. I can't see how to specify an action to occur when the 
condition is met.


Version 1.14 (5937)

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


Re: [MlMt] Rules location?

2021-05-14 Thread Benny Kjær Nielsen
On 13 May 2021, at 16:36, Randall Meadows wrote:

> What's the functional difference between having rules applied to a "Source" 
> versus that source's INBOX?

The top-level account mailboxes under Sources contain all emails in all 
mailboxes within that account. To be honest, it shouldn't really be possible to 
apply rules to these mailboxes since it makes little sense to do so for most 
users. In fact, most of the panes available are unlikely to be used where a 
better solution does not exist.

Note that the INBOX of an account is equivalent to the account-named submailbox 
of the universal Inbox under the Mailboxes section (if you have multiple 
accounts). Think of it like a disk folder alias.

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


[MlMt] Rules location?

2021-05-13 Thread Randall Meadows
What's the functional difference between having rules applied to a 
"Source" versus that source's INBOX?

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


Re: [MlMt] Rules sometimes don't move messages

2021-03-23 Thread Randall Gellens

On 23 Mar 2021, at 9:36, Robert Goldman wrote:


On 23 Mar 2021, at 11:13, Randall Gellens wrote:

I'm running Mailmate version 1.13.2 (5673), which I think is the 
latest release version.  One of my rules adds a tag and moves the 
message to a different IMAP folder.  Lately, I've noticed that it 
unpredictably and randomly but repeatedly fails to perform the move.  
It does apply the tag, so I know it activated.  I don't see any 
errors in the Activity Viewer, but the errors might have been hours 
ago.  I checked /tmp/mailmate_logs, but the only file there is 
mailmate_parser_problems.log which reports some non-compliant message 
content.


I'm also having real problems with rules lately.  I absolutely have 
not been able to add rules that work, although most of my old rules 
seem to work.  I'd be *very, very* grateful if someone could post a 
HOWTO about rule debugging.


My previous approach was to make rules that would set flags, so that I 
could interactively tell if they were working, but now I have been 
having problems where rules will stop working when I add a conjunct, 
and not restore operation when I remove it.


You could try creating a new rule, as a test.

Are there files that we can examine to get a sense of what might be 
going wrong?


Not that I am aware of.  One trick you can do is use Edit -> Find -> 
Mailbox Search to manually create the exact conditions that are in the 
rule, and see if the search finds the messages you expect.


Am I right in thinking that the `Mailboxes.plist` file in 
`~/Library/Application Support/MailMate/` is where all the rules are 
stored?


Yes, that's where they are.  If you create a new rule and that works, 
you can look at both in the plist file and see if you can find any 
differences.


Is there some logging we could turn on to see when rules succeed at 
matching or fail?


Not that I am aware of.

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


Re: [MlMt] Rules sometimes don't move messages

2021-03-23 Thread Robert Goldman

On 23 Mar 2021, at 11:13, Randall Gellens wrote:

I'm running Mailmate version 1.13.2 (5673), which I think is the 
latest release version.  One of my rules adds a tag and moves the 
message to a different IMAP folder.  Lately, I've noticed that it 
unpredictably and randomly but repeatedly fails to perform the move.  
It does apply the tag, so I know it activated.  I don't see any errors 
in the Activity Viewer, but the errors might have been hours ago.  I 
checked /tmp/mailmate_logs, but the only file there is 
mailmate_parser_problems.log which reports some non-compliant message 
content.


I'm also having real problems with rules lately.  I absolutely have not 
been able to add rules that work, although most of my old rules seem to 
work.  I'd be *very, very* grateful if someone could post a HOWTO about 
rule debugging.


My previous approach was to make rules that would set flags, so that I 
could interactively tell if they were working, but now I have been 
having problems where rules will stop working when I add a conjunct, and 
not restore operation when I remove it.


Are there files that we can examine to get a sense of what might be 
going wrong? Am I right in thinking that the `Mailboxes.plist` file in 
`~/Library/Application Support/MailMate/` is where all the rules are 
stored?


Is there some logging we could turn on to see when rules succeed at 
matching or fail?


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


[MlMt] Rules sometimes don't move messages

2021-03-23 Thread Randall Gellens
I'm running Mailmate version 1.13.2 (5673), which I think is the latest 
release version.  One of my rules adds a tag and moves the message to a 
different IMAP folder.  Lately, I've noticed that it unpredictably and 
randomly but repeatedly fails to perform the move.  It does apply the 
tag, so I know it activated.  I don't see any errors in the Activity 
Viewer, but the errors might have been hours ago.  I checked 
/tmp/mailmate_logs, but the only file there is 
mailmate_parser_problems.log which reports some non-compliant message 
content.


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


Re: [MlMt] Rules not firing - even when manually executed

2021-02-21 Thread Robert Goldman
I was on the latest release, and I'm still seeing the problem. So, 
Robert, it is at least not obviously fixed by downgrading to the release 
version.


Anyone have any more info on rules?

Seems like several of us are having issues with the rules editor and 
applying rules.


On 18 Feb 2021, at 8:57, Robert Goldman wrote:


On 18 Feb 2021, at 8:33, Robert Goldman wrote:


On 18 Feb 2021, at 7:14, Robert Wall wrote:

Just flagging this as solved for me. I went to do updates, and for 
some reason I was on a beta / pre-release version. Mailmate prompted 
me to downgrade, I did, and all is well.


Worth noting.


I checked in response to this and I see

MailMate 5673 is the latest version available—you have version 
5673.


So ... Maybe that's a beta?

Is there anything we should do to identify the issue in the beta so 
it doesn't slip through into production?


Hmmm That doesn't look like the latest version. Wonder what's 
going wrong for me in software update? Anyone have any suggestions?




On 16 Feb 2021, at 10:30, Robert Goldman wrote:


On 16 Feb 2021, at 8:14, Robert Wall wrote:


However, if I change it to ...

1. edit rules for mailbox 'foo'
2. switch to some other mailbox (doesn't matter which one)
3. switch back to mailbox 'foo'
4. run rules manually

... then the rules work as expected.


I just tried this, and no joy unfortunately. I even quit and 
re-launched.



I have been having the exact same problem.  Interestingly, the use 
of rules in defining smart mailboxes seems to be fine, and at least 
some of my old rules are working. I just cannot seem to get a new 
rule to work.


I have seen anomalies in development of rules, too -- I was trying 
to build them using tagging as the action (so I could easily see 
the effect of a rule), I would add and then delete conjuncts to a 
rule and this change was not idempotent: the rules would stop 
working with the new conjunct, but would not start working again 
when I deleted it.


I have a vague memory of Benny saying there was some way to debug 
the rules (by enabling some kind of MM logging to the screen), but 
I have forgotten how to do it. 😢 I think I had to toggle some 
preference and then start MailMate from the command line...


___
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

___
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] Rules "older than" question?

2021-02-18 Thread Robert Wall



On 18 Feb 2021, at 10:42, Tobias Jung wrote:

It feels like those > and < symbols are backwards. > 2 weeks ago and 
< 1 weeks ago doesn't feel like it should match anything - can 
anybody help me wrap my head around that syntax?


My guess is that "> 2 weeks ago" is shorthand for "date is larger than 
the Unix timestamp that represents the date two weeks ago", not for 
"more than two weeks ago".

(Newer messages have a larger timestamp than old ones.)


Ah, yeah - that makes all the sense in the world. I program PHP, so I 
actually work with timestamps all the time. Just didn't click here. 
Thanks!

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


Re: [MlMt] Rules "older than" question?

2021-02-18 Thread Tobias Jung

On 18 Feb 2021, at 15:03, Robert Wall wrote:

So in /Users/robertwall/Library/Application 
Support/MailMate/Mailboxes.plist, I would find my rule, and change the 
line in my rule (this is Mailmate's "message is received last week" 
default rule) that says:


  filter = "(#date-received >[f] 2 weeks ago and #date-received <[f] 1 
weeks ago)";


to something more like

  filter = "(#date-received <[f] 7 days ago)";
?


Yeah, that’s exactly the line that was written to my plist by the 
setting that I posted as a screenshot (except that I set "#date" instead 
of "#date-received".)



It feels like those > and < symbols are backwards. > 2 weeks ago and < 
1 weeks ago doesn't feel like it should match anything - can anybody 
help me wrap my head around that syntax?


My guess is that "> 2 weeks ago" is shorthand for "date is larger than 
the Unix timestamp that represents the date two weeks ago", not for 
"more than two weeks ago".

(Newer messages have a larger timestamp than old ones.)

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


Re: [MlMt] Rules not firing - even when manually executed

2021-02-18 Thread Robert Goldman

On 18 Feb 2021, at 8:33, Robert Goldman wrote:


On 18 Feb 2021, at 7:14, Robert Wall wrote:

Just flagging this as solved for me. I went to do updates, and for 
some reason I was on a beta / pre-release version. Mailmate prompted 
me to downgrade, I did, and all is well.


Worth noting.


I checked in response to this and I see

MailMate 5673 is the latest version available—you have version 
5673.


So ... Maybe that's a beta?

Is there anything we should do to identify the issue in the beta so it 
doesn't slip through into production?


Hmmm That doesn't look like the latest version. Wonder what's going 
wrong for me in software update? Anyone have any suggestions?




On 16 Feb 2021, at 10:30, Robert Goldman wrote:


On 16 Feb 2021, at 8:14, Robert Wall wrote:


However, if I change it to ...

1. edit rules for mailbox 'foo'
2. switch to some other mailbox (doesn't matter which one)
3. switch back to mailbox 'foo'
4. run rules manually

... then the rules work as expected.


I just tried this, and no joy unfortunately. I even quit and 
re-launched.



I have been having the exact same problem.  Interestingly, the use 
of rules in defining smart mailboxes seems to be fine, and at least 
some of my old rules are working. I just cannot seem to get a new 
rule to work.


I have seen anomalies in development of rules, too -- I was trying 
to build them using tagging as the action (so I could easily see the 
effect of a rule), I would add and then delete conjuncts to a rule 
and this change was not idempotent: the rules would stop working 
with the new conjunct, but would not start working again when I 
deleted it.


I have a vague memory of Benny saying there was some way to debug 
the rules (by enabling some kind of MM logging to the screen), but I 
have forgotten how to do it. 😢 I think I had to toggle some 
preference and then start MailMate from the command line...


___
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

___
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] Rules not firing - even when manually executed

2021-02-18 Thread Robert Goldman

On 18 Feb 2021, at 7:14, Robert Wall wrote:

Just flagging this as solved for me. I went to do updates, and for 
some reason I was on a beta / pre-release version. Mailmate prompted 
me to downgrade, I did, and all is well.


Worth noting.


I checked in response to this and I see


MailMate 5673 is the latest version available—you have version 5673.


So ... Maybe that's a beta?

Is there anything we should do to identify the issue in the beta so it 
doesn't slip through into production?




On 16 Feb 2021, at 10:30, Robert Goldman wrote:


On 16 Feb 2021, at 8:14, Robert Wall wrote:


However, if I change it to ...

1. edit rules for mailbox 'foo'
2. switch to some other mailbox (doesn't matter which one)
3. switch back to mailbox 'foo'
4. run rules manually

... then the rules work as expected.


I just tried this, and no joy unfortunately. I even quit and 
re-launched.



I have been having the exact same problem.  Interestingly, the use of 
rules in defining smart mailboxes seems to be fine, and at least some 
of my old rules are working. I just cannot seem to get a new rule to 
work.


I have seen anomalies in development of rules, too -- I was trying to 
build them using tagging as the action (so I could easily see the 
effect of a rule), I would add and then delete conjuncts to a rule 
and this change was not idempotent: the rules would stop working with 
the new conjunct, but would not start working again when I deleted 
it.


I have a vague memory of Benny saying there was some way to debug the 
rules (by enabling some kind of MM logging to the screen), but I have 
forgotten how to do it. 😢 I think I had to toggle some preference 
and then start MailMate from the command line...


___
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

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


Re: [MlMt] Rules "older than" question?

2021-02-18 Thread Robert Wall
So in /Users/robertwall/Library/Application 
Support/MailMate/Mailboxes.plist, I would find my rule, and change the 
line in my rule (this is Mailmate's "message is received last week" 
default rule) that says:


  filter = "(#date-received >[f] 2 weeks ago and #date-received <[f] 1 
weeks ago)";


to something more like

  filter = "(#date-received <[f] 7 days ago)";

?

It feels like those > and < symbols are backwards. > 2 weeks ago and < 1 
weeks ago doesn't feel like it should match anything - can anybody help 
me wrap my head around that syntax? :D Or is "filter" describing the 
messages to *keep*?


Happy to write rules manually if necessary, as long as I have some 
confidence I'm doing it correctly!


On 18 Feb 2021, at 7:24, Charlie Clark wrote:


On 18 Feb 2021, at 14:18, Robert Wall wrote:

Working on a few rules. I see that I can do "received", and I can use 
descriptors like "last week", "last month", etc. What I *want* is 
something like "anything older than x days". I realize that if I do 
it manually once, in the future it should stay caught up as the mail 
checks automatically - but I have a bunch of old messages it would be 
nice to be able to sweep up programatically.


Is there a way to do this that I'm just not seeing?


I seem to remember that not all options are available in the new views 
so you might have edit the rules plist manually.


Charlie

--
Charlie Clark
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-938-5360
Mobile: +49-178-782-6226
___
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] Rules "older than" question?

2021-02-18 Thread Tobias Jung

Hmmm, the option is available on my system, see attachment.


On 18 Feb 2021, at 14:45, Robert Wall wrote:

When I set up a "last week" rule (that's the option in the UI), it 
seems to pull messages received the previous *calendar* week - not the 
past 7 days. And "is not" isn't an option in the UI.


On 18 Feb 2021, at 7:23, Tobias Jung wrote:


On 18 Feb 2021, at 14:18, Robert Wall wrote:

Working on a few rules. I see that I can do "received", and I can 
use descriptors like "last week", "last month", etc. What I *want* 
is something like "anything older than x days".


Well, the rule for "last week" is "Date-Received is within last 7 
days".
I didn’t try that now, but wouldn’t the rule "Date-Received is 
NOT within last 7 days" be exactly what you want?


Kind regards,
Tobias Jung
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules "older than" question?

2021-02-18 Thread Robert Wall
When I set up a "last week" rule (that's the option in the UI), it seems 
to pull messages received the previous *calendar* week - not the past 7 
days. And "is not" isn't an option in the UI.


On 18 Feb 2021, at 7:23, Tobias Jung wrote:


On 18 Feb 2021, at 14:18, Robert Wall wrote:

Working on a few rules. I see that I can do "received", and I can use 
descriptors like "last week", "last month", etc. What I *want* is 
something like "anything older than x days".


Well, the rule for "last week" is "Date-Received is within last 7 
days".
I didn’t try that now, but wouldn’t the rule "Date-Received is NOT 
within last 7 days" be exactly what you want?


Kind regards,
Tobias Jung
___
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] Rules "older than" question?

2021-02-18 Thread Charlie Clark

On 18 Feb 2021, at 14:18, Robert Wall wrote:

Working on a few rules. I see that I can do "received", and I can use 
descriptors like "last week", "last month", etc. What I *want* is 
something like "anything older than x days". I realize that if I do it 
manually once, in the future it should stay caught up as the mail 
checks automatically - but I have a bunch of old messages it would be 
nice to be able to sweep up programatically.


Is there a way to do this that I'm just not seeing?


I seem to remember that not all options are available in the new views 
so you might have edit the rules plist manually.


Charlie

--
Charlie Clark
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-938-5360
Mobile: +49-178-782-6226
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules "older than" question?

2021-02-18 Thread Tobias Jung

On 18 Feb 2021, at 14:18, Robert Wall wrote:

Working on a few rules. I see that I can do "received", and I can use 
descriptors like "last week", "last month", etc. What I *want* is 
something like "anything older than x days".


Well, the rule for "last week" is "Date-Received is within last 7 days".
I didn’t try that now, but wouldn’t the rule "Date-Received is NOT 
within last 7 days" be exactly what you want?


Kind regards,
Tobias Jung
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


[MlMt] Rules "older than" question?

2021-02-18 Thread Robert Wall
Working on a few rules. I see that I can do "received", and I can use 
descriptors like "last week", "last month", etc. What I *want* is 
something like "anything older than x days". I realize that if I do it 
manually once, in the future it should stay caught up as the mail checks 
automatically - but I have a bunch of old messages it would be nice to 
be able to sweep up programatically.


Is there a way to do this that I'm just not seeing?___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules not firing - even when manually executed

2021-02-18 Thread Robert Wall
Just flagging this as solved for me. I went to do updates, and for some 
reason I was on a beta / pre-release version. Mailmate prompted me to 
downgrade, I did, and all is well.


Worth noting. :)

On 16 Feb 2021, at 10:30, Robert Goldman wrote:


On 16 Feb 2021, at 8:14, Robert Wall wrote:


However, if I change it to ...

1. edit rules for mailbox 'foo'
2. switch to some other mailbox (doesn't matter which one)
3. switch back to mailbox 'foo'
4. run rules manually

... then the rules work as expected.


I just tried this, and no joy unfortunately. I even quit and 
re-launched.



I have been having the exact same problem.  Interestingly, the use of 
rules in defining smart mailboxes seems to be fine, and at least some 
of my old rules are working. I just cannot seem to get a new rule to 
work.


I have seen anomalies in development of rules, too -- I was trying to 
build them using tagging as the action (so I could easily see the 
effect of a rule), I would add and then delete conjuncts to a rule and 
this change was not idempotent: the rules would stop working with the 
new conjunct, but would not start working again when I deleted it.


I have a vague memory of Benny saying there was some way to debug the 
rules (by enabling some kind of MM logging to the screen), but I have 
forgotten how to do it. 😢 I think I had to toggle some preference 
and then start MailMate from the command line...


___
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] Rules not firing - even when manually executed

2021-02-16 Thread Robert Goldman

On 16 Feb 2021, at 8:14, Robert Wall wrote:


However, if I change it to ...

1. edit rules for mailbox 'foo'
2. switch to some other mailbox (doesn't matter which one)
3. switch back to mailbox 'foo'
4. run rules manually

... then the rules work as expected.


I just tried this, and no joy unfortunately. I even quit and 
re-launched.



I have been having the exact same problem.  Interestingly, the use of 
rules in defining smart mailboxes seems to be fine, and at least some of 
my old rules are working. I just cannot seem to get a new rule to work.


I have seen anomalies in development of rules, too -- I was trying to 
build them using tagging as the action (so I could easily see the effect 
of a rule), I would add and then delete conjuncts to a rule and this 
change was not idempotent: the rules would stop working with the new 
conjunct, but would not start working again when I deleted it.


I have a vague memory of Benny saying there was some way to debug the 
rules (by enabling some kind of MM logging to the screen), but I have 
forgotten how to do it. 😢 I think I had to toggle some preference and 
then start MailMate from the command line...


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


Re: [MlMt] Rules not firing - even when manually executed

2021-02-16 Thread Robert Wall

> However, if I change it to ...
>
> 1. edit rules for mailbox 'foo'
> 2. switch to some other mailbox (doesn't matter which one)
> 3. switch back to mailbox 'foo'
> 4. run rules manually
>
> ... then the rules work as expected.

I just tried this, and no joy unfortunately. I even quit and re-launched.
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules not firing - even when manually executed

2021-02-16 Thread Mark Allman

> I created the rule in Mailmate with the message highlighted, so
> Mailmate filled in the text for the two conditions of the rule
> from the email. Highlighting that exact message and Mailbox ->
> Apply Rules Of Inbox -> All Messages doesn't do anything. If I do
> the "selected messages" instead of "all messages", nothing there
> either.

Long ago I had that issue.  This doesn't work for me ...

1. edit rules
2. run rules manually

... just as you have noticed.

However, if I change it to ...

1. edit rules for mailbox 'foo'
2. switch to some other mailbox (doesn't matter which one)
3. switch back to mailbox 'foo'
4. run rules manually

... then the rules work as expected.

Seems like the rules are somehow enacted when you switch to a
mailbox and not upon editing them.  I have always intended to file a
bug report, but ... I am a lousy user, I guess.

allman


--
https://www.icir.org/mallman/
@mallman_icsi


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


[MlMt] Rules not firing - even when manually executed

2021-02-16 Thread Robert Wall

Running Mailmate Version 1.14 (5757), Big Sur 11.1.

I'm just getting into rules, and created three for my inbox. For 
example, one for cron notifications from a script on my server:


If All of the following are true
If From + Name is "Cron Daemon"
If Subject is "Cron Subject"
Move to mailbox "Notifications Archive"

Subject is always the same, From + Name is always the same.

I created the rule in Mailmate with the message highlighted, so Mailmate 
filled in the text for the two conditions of the rule from the email. 
Highlighting that exact message and Mailbox -> Apply Rules Of Inbox -> 
All Messages doesn't do anything. If I do the "selected messages" 
instead of "all messages", nothing there either.


Is something goofy? Am I doing something wrong?
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules order of exec; possible coflict

2020-09-07 Thread Antonio Leding
Well, conflict is easily avoided by not having rules directly tied to 
any mailbox\location…a few clients do this now…


In terms of a use-case, I would refer back to the one in my initial 
post: Let’s say you have 2 Smart Mailboxes that refer to messages that 
are in some IMAP mailbox - say Inbox.  Then let’s say a rule is 
created in all three places to act upon those messages.


What is the execution order — if any — and what happens when each 
rule does it’s job to act upon the messages?  Also, if the rule’s 
function is part of the execution decision criteria, then it would be 
good to understand that as well.


A secondary question is this: What will happen if a rule is created that 
refers to messages in a different location?  For example, a rule is 
created for the Inbox but in the Conditions pane, it is configured to 
includes messages in Sent?  Will this rule still execute with no issue?  
If so, then what is the significance of having rules attached to 
mailboxes\locations rather than just in a single repository?




On 7 Sep 2020, at 2:30, Charlie Clark wrote:


On 4 Sep 2020, at 21:06, Antonio Leding wrote:


Hello all,

Is there a defined order of execution for rules?  I ask because my 
secondary question is what happens if rules apply to the same message 
but in different mailboxes?  For example, in the INBOX but then also 
for a Smart Folder that is scanning that same INBOX?


What would happen in these cases?


It depends very much on what the rule is. As with any system the 
potential for conflict is always there and it's really up to you to 
work out how you want to deal with it.


But, really, be more specific. Do you have a particularly case in 
mind?


Charlie

--
Charlie Clark
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-938-5360
Mobile: +49-178-782-6226
___
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] Rules order of exec; possible coflict

2020-09-07 Thread Charlie Clark

On 4 Sep 2020, at 21:06, Antonio Leding wrote:


Hello all,

Is there a defined order of execution for rules?  I ask because my 
secondary question is what happens if rules apply to the same message 
but in different mailboxes?  For example, in the INBOX but then also 
for a Smart Folder that is scanning that same INBOX?


What would happen in these cases?


It depends very much on what the rule is. As with any system the 
potential for conflict is always there and it's really up to you to work 
out how you want to deal with it.


But, really, be more specific. Do you have a particularly case in mind?

Charlie

--
Charlie Clark
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-938-5360
Mobile: +49-178-782-6226
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


[MlMt] Rules order of exec; possible coflict

2020-09-04 Thread Antonio Leding

Hello all,

Is there a defined order of execution for rules?  I ask because my 
secondary question is what happens if rules apply to the same message 
but in different mailboxes?  For example, in the INBOX but then also for 
a Smart Folder that is scanning that same INBOX?


What would happen in these cases?
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules dialog popping up unexpectedly

2020-02-04 Thread Eric Sharakan

On 4 Feb 2020, at 15:01, Ben Hyde wrote:


On 1 Feb 2020, at 10:39, Eric Sharakan wrote:

On 1 Feb 2020, at 9:05, Charlie Clark wrote:


On 31 Jan 2020, at 20:16, Eric Sharakan wrote:

Hi, this one is a minor annoyance, but it happens to me multiple 
times a day.  Often, when the focus is on another App, I'll click 
once in the MM window to make it active, and then click again to 
select a mailbox.  If those two clicks happen quickly enough (under 
a second apart or so), the Rules composition window pops up, and I 
have to explicitly dismiss it.


Ideally, the click to make MM active would not be "counted" to 
determine whether a double-click action on a mailbox has occurred.  
Is there any way to control this?  Or some way to prevent all these 
unwanted Rules window activations?


I get something similar when clicking on messages, the search 
function gets activated. While I was using my graphics tablet I 
thought this was due to inadvertent double-clicks, but as I still 
get it with a mouse I think this is a MailMate bug and probably be 
filed as such.


Charlie


I fear this is actually a system-wide MacOS thing, as I see similar 
behavior in other Apps.  Still, I hope Benny can do something in MM 
to help.


-Eric


I wonder if that might not be related to the system preferences -> 
mouse -> double click speed.  I vaguely moving that toward the faster 
end of the spectrum at some point a few years ago. - ben


Yes, setting the double-click speed will certainly impact this.  But the 
real issue is that the click that gives a new App focus should not be 
considered as starting a double-click, no matter how fast or slow the 
subsequent click.


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


Re: [MlMt] Rules dialog popping up unexpectedly

2020-02-04 Thread Ben Hyde

On 1 Feb 2020, at 10:39, Eric Sharakan wrote:

On 1 Feb 2020, at 9:05, Charlie Clark wrote:


On 31 Jan 2020, at 20:16, Eric Sharakan wrote:

Hi, this one is a minor annoyance, but it happens to me multiple 
times a day.  Often, when the focus is on another App, I'll click 
once in the MM window to make it active, and then click again to 
select a mailbox.  If those two clicks happen quickly enough (under 
a second apart or so), the Rules composition window pops up, and I 
have to explicitly dismiss it.


Ideally, the click to make MM active would not be "counted" to 
determine whether a double-click action on a mailbox has occurred.  
Is there any way to control this?  Or some way to prevent all these 
unwanted Rules window activations?


I get something similar when clicking on messages, the search 
function gets activated. While I was using my graphics tablet I 
thought this was due to inadvertent double-clicks, but as I still get 
it with a mouse I think this is a MailMate bug and probably be filed 
as such.


Charlie


I fear this is actually a system-wide MacOS thing, as I see similar 
behavior in other Apps.  Still, I hope Benny can do something in MM to 
help.


-Eric


I wonder if that might not be related to the system preferences -> mouse 
-> double click speed.  I vaguely moving that toward the faster end of 
the spectrum at some point a few years ago.  - ben___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules dialog popping up unexpectedly

2020-02-01 Thread Eric Sharakan

On 1 Feb 2020, at 9:05, Charlie Clark wrote:


On 31 Jan 2020, at 20:16, Eric Sharakan wrote:

Hi, this one is a minor annoyance, but it happens to me multiple 
times a day.  Often, when the focus is on another App, I'll click 
once in the MM window to make it active, and then click again to 
select a mailbox.  If those two clicks happen quickly enough (under a 
second apart or so), the Rules composition window pops up, and I have 
to explicitly dismiss it.


Ideally, the click to make MM active would not be "counted" to 
determine whether a double-click action on a mailbox has occurred.  
Is there any way to control this?  Or some way to prevent all these 
unwanted Rules window activations?


I get something similar when clicking on messages, the search function 
gets activated. While I was using my graphics tablet I thought this 
was due to inadvertent double-clicks, but as I still get it with a 
mouse I think this is a MailMate bug and probably be filed as such.


Charlie


I fear this is actually a system-wide MacOS thing, as I see similar 
behavior in other Apps.  Still, I hope Benny can do something in MM to 
help.


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


Re: [MlMt] Rules dialog popping up unexpectedly

2020-02-01 Thread Charlie Clark

On 31 Jan 2020, at 20:16, Eric Sharakan wrote:

Hi, this one is a minor annoyance, but it happens to me multiple times 
a day.  Often, when the focus is on another App, I'll click once in 
the MM window to make it active, and then click again to select a 
mailbox.  If those two clicks happen quickly enough (under a second 
apart or so), the Rules composition window pops up, and I have to 
explicitly dismiss it.


Ideally, the click to make MM active would not be "counted" to 
determine whether a double-click action on a mailbox has occurred.  Is 
there any way to control this?  Or some way to prevent all these 
unwanted Rules window activations?


I get something similar when clicking on messages, the search function 
gets activated. While I was using my graphics tablet I thought this was 
due to inadvertent double-clicks, but as I still get it with a mouse I 
think this is a MailMate bug and probably be filed as such.


Charlie

--
Charlie Clark
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-938-5360
Mobile: +49-178-782-6226
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


[MlMt] Rules dialog popping up unexpectedly

2020-01-31 Thread Eric Sharakan
Hi, this one is a minor annoyance, but it happens to me multiple times a 
day.  Often, when the focus is on another App, I'll click once in the MM 
window to make it active, and then click again to select a mailbox.  If 
those two clicks happen quickly enough (under a second apart or so), the 
Rules composition window pops up, and I have to explicitly dismiss it.


Ideally, the click to make MM active would not be "counted" to determine 
whether a double-click action on a mailbox has occurred.  Is there any 
way to control this?  Or some way to prevent all these unwanted Rules 
window activations?


Thanks.

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


Re: [MlMt] Rules for saving attachments?

2019-01-30 Thread Benny Kjær Nielsen

On 29 Jan 2019, at 9:55, Thomas Grau wrote:

Is it possible to save all pdf attachments of this smart mailbox by 
conditions to a directory or maybe even in subdirectories?


Yes, but it's not very well documented. The relevant documentation is 
[here](https://github.com/mailmate/mailmate_manual/wiki/Bundles#inputFilesPattern) 
and another user made [this 
bundle](https://github.com/slochower/bundles/tree/master/My%20Save.mmbundle) 
which I think you could possibly use as is.


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


[MlMt] Rules for saving attachments?

2019-01-29 Thread Thomas Grau
Hi there, I’m looking for a solution for this „auto-attachment 
saving problem“.


I have a Smart Mailbox over multiple IMAP Accounts filtered by 
Conditions (like fromname containing $name, filename containing 
„pdf“). With „Auto-Submailboxes“ I have a „Invoices Folder“ 
with subfolders of the issuers.


Is it possible to save all pdf attachments of this smart mailbox by 
conditions to a directory or maybe even in subdirectories?


Background: a lot of invoices from different addresses should be 
automagically downloaded to a specific directory.


Looking forward to your answer
Cheers, Thomas
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules and sent messages

2019-01-11 Thread Benny Kjær Nielsen
(Sorry about the late reply. I'm now back from vacation and I'll be 
trying to get through the 100+ messages on the mailing list within the 
next few hours.)


On 18 Dec 2018, at 19:01, Dave C wrote:

My problem—since I first started using MailMate—is with the Sent 
Messages. In all the smart mailboxes, whenever I reply to a message, 
2 copies of the reply appear in the appropriate mailbox. I’ve 
fiddled with the rules in each but can’t find the cause of these 
duplicates.


Can you add a column showing the Mailbox where the found message 
copies are located?


The duplicate message in the mailbox originates in the Sent Mail for 
that account (Gmail).


How do I keep this message from appearing in Smart mailboxes other 
than the Sent Mail mailbox?


Gmail doesn't really allow duplicates, but an email can have multiple 
labels resulting in duplicates in MailMate (more about Gmail 
[here](https://manual.mailmate-app.com/account_setup#gmail)).


I suspect maybe MailMate uses a different mailbox for sent messages than 
the default one for Gmail. Could you make sure that MailMate uses 
“[Gmail]/Sent Mail”? (Click on this mailbox under Sources and then 
check “Mailbox ▸ Mailbox Type”.)


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


Re: [MlMt] Rules and sent messages

2018-12-18 Thread Dave C
My problem—since I first started using MailMate—is with the Sent 
Messages. In all the smart mailboxes, whenever I reply to a message, 2 
copies of the reply appear in the appropriate mailbox. I’ve fiddled 
with the rules in each but can’t find the cause of these duplicates.


For the record, it’s not “Rules” but “Conditions” that I need 
to modify to eliminate the copy of Sent messages that sneak into my 
other Smart Mailboxes…


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


Re: [MlMt] Rules and sent messages

2018-12-18 Thread Dave C
My problem—since I first started using MailMate—is with the Sent 
Messages. In all the smart mailboxes, whenever I reply to a message, 
2 copies of the reply appear in the appropriate mailbox. I’ve 
fiddled with the rules in each but can’t find the cause of these 
duplicates.


Can you add a column showing the Mailbox where the found message 
copies are located?


The duplicate message in the mailbox originates in the Sent Mail for 
that account (Gmail).


How do I keep this message from appearing in Smart mailboxes other than 
the Sent Mail mailbox?


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


Re: [MlMt] Rules and sent messages

2018-12-17 Thread Benny Kjær Nielsen

On 17 Dec 2018, at 8:17, Dave C wrote:

I’ve got plenty of smart mailboxes with rules. The incoming messages 
are sorted to mailboxes as i want them to be.


My problem—since I first started using MailMate—is with the Sent 
Messages. In all the smart mailboxes, whenever I reply to a message, 2 
copies of the reply appear in the appropriate mailbox. I’ve fiddled 
with the rules in each but can’t find the cause of these duplicates.


You can use the “Source Mailbox” column in the message list to see 
where the duplicates are located. If it's Gmail then it'll help if you 
tell MailMate to use the same mailbox for sent messages as Gmail does 
(use “Mailbox ▸ Mailbox Type” to assign it to “[Gmail]/Sent 
Mail”, because the Gmail SMTP server saves a copy as well (when the 
duplicate is detected then the Google server removes it -- yes, Google 
has their own interpretation of how IMAP/SMTP should work).


I hope this helps.

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


Re: [MlMt] Rules and sent messages

2018-12-16 Thread davecc0000
Not BCC’ing, ever.

I’ll try your suggestion to add column indicating location of the message 
copies.

Thanks,
Dave


> On Dec 16, 2018, at 8:21 PM, David Green  wrote:
> 
>> On 16 Dec 2018, at 20:47, Dave C wrote:
>> 
>> I’ve got plenty of smart mailboxes with rules. The incoming messages are 
>> sorted to mailboxes as i want them to be.
>> 
>> My problem—since I first started using MailMate—is with the Sent Messages. 
>> In all the smart mailboxes, whenever I reply to a message, 2 copies of the 
>> reply appear in the appropriate mailbox. I’ve fiddled with the rules in each 
>> but can’t find the cause of these duplicates.
>> 
>> Any ideas will be happily received.
> 
> Can you add a column showing the Mailbox where the found message copies are 
> located?
> 
> Are you BCC’ing yourself on sent messages?
> 
> Dave
> ___
> 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] Rules and sent messages

2018-12-16 Thread David Green

On 16 Dec 2018, at 20:47, Dave C wrote:

I’ve got plenty of smart mailboxes with rules. The incoming messages 
are sorted to mailboxes as i want them to be.


My problem—since I first started using MailMate—is with the Sent 
Messages. In all the smart mailboxes, whenever I reply to a message, 2 
copies of the reply appear in the appropriate mailbox. I’ve fiddled 
with the rules in each but can’t find the cause of these duplicates.


Any ideas will be happily received.


Can you add a column showing the Mailbox where the found message copies 
are located?


Are you BCC’ing yourself on sent messages?

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


[MlMt] Rules and sent messages

2018-12-16 Thread Dave C
I’ve got plenty of smart mailboxes with rules. The incoming messages 
are sorted to mailboxes as i want them to be.


My problem—since I first started using MailMate—is with the Sent 
Messages. In all the smart mailboxes, whenever I reply to a message, 2 
copies of the reply appear in the appropriate mailbox. I’ve fiddled 
with the rules in each but can’t find the cause of these duplicates.


Any ideas will be happily received.

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


Re: [MlMt] Rules in smart mailboxes

2018-06-13 Thread Arnau Rebassa
Awesome response!!! Thanks a lot!!

-- 
Arnau

> On 14 Jun 2018, at 06:41, Bill Cole  
> wrote:
> 
>> On 13 Jun 2018, at 17:27 (-0400), Arnau Rebassa wrote:
>> 
>> Hi all,
>> 
>> I have a doubt with rules in smart mailboxes. According to the
>> documentation, rules:
>> 
>> “Rules are only triggered when a message is added to a mailbox which most
>> often happens when a new message arrives in an account.”
>> 
>> What I understand what an smart mailbox is: they are like a “query result”
>> that are executed periodically.
> 
> Yes and no. Obviously a query is not being run continuously, but it isn't 
> scheduled "periodically" either. It is triggered by the addition of messages 
> to or changes to existing messages in any of the subject mailboxes.
> 
>> If I’m right, when are the rules executed?
> 
> When a new message is added to a mailbox, the mailbox rules are evaluated 
> against the new message.
> 
>> Every time you open the smart mailbox? or when the message arrives to the
>> standard mailbox “inbox”?
> 
> Neither.
> When a new message is seen by MM in any IMAP mailbox (not just INBOX,) MM 
> runs the rules associated with the IMAP mailbox against them (possibly 
> resulting in the moving of the message to another IMAP mailbox) and then the 
> conditions of the Smart Mailboxes which refer to the changed IMAP mailbox are 
> evaluated to determine the contents of each Smart Mailbox. If that evaluation 
> results in a new message in a Smart Mailbox, its rules are run against the 
> new message and then the conditions of any Smart Mailboxes which refer to it 
> are evaluated to detect any new messages they should include, their rules are 
> run, and so on recursively.
> 
> 
> 
> -- 
> Bill Cole
> b...@scconsult.com or billc...@apache.org
> (AKA @grumpybozo and many *@billmail.scconsult.com addresses)
> Currently Seeking Steadier Work: https://linkedin.com/in/billcole
> ___
> 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] Rules in smart mailboxes

2018-06-13 Thread Bill Cole

On 13 Jun 2018, at 17:27 (-0400), Arnau Rebassa wrote:


Hi all,

I have a doubt with rules in smart mailboxes. According to the
documentation, rules:

“Rules are only triggered when a message is added to a mailbox which 
most

often happens when a new message arrives in an account.”

What I understand what an smart mailbox is: they are like a “query 
result”

that are executed periodically.


Yes and no. Obviously a query is not being run continuously, but it 
isn't scheduled "periodically" either. It is triggered by the addition 
of messages to or changes to existing messages in any of the subject 
mailboxes.



If I’m right, when are the rules executed?


When a new message is added to a mailbox, the mailbox rules are 
evaluated against the new message.


Every time you open the smart mailbox? or when the message arrives to 
the

standard mailbox “inbox”?


Neither.
When a new message is seen by MM in any IMAP mailbox (not just INBOX,) 
MM runs the rules associated with the IMAP mailbox against them 
(possibly resulting in the moving of the message to another IMAP 
mailbox) and then the conditions of the Smart Mailboxes which refer to 
the changed IMAP mailbox are evaluated to determine the contents of each 
Smart Mailbox. If that evaluation results in a new message in a Smart 
Mailbox, its rules are run against the new message and then the 
conditions of any Smart Mailboxes which refer to it are evaluated to 
detect any new messages they should include, their rules are run, and so 
on recursively.




--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Currently Seeking Steadier Work: https://linkedin.com/in/billcole
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


[MlMt] Rules in smart mailboxes

2018-06-13 Thread Arnau Rebassa
Hi all,

I have a doubt with rules in smart mailboxes. According to the
documentation, rules:

“Rules are only triggered when a message is added to a mailbox which most
often happens when a new message arrives in an account.”

What I understand what an smart mailbox is: they are like a “query result”
that are executed periodically. If I’m right, when are the rules executed?
Every time you open the smart mailbox? or when the message arrives to the
standard mailbox “inbox”?

Cheers!
-- 
Arnau
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules: "is in" smart mailbox and Gmail Labels

2018-05-19 Thread Zvi Biener
Thanks! The hint about circular reference did it. I actually considered 
this after writing the original email, and thought the existing loop was 
benign, but I see why a very strict constraint would be appropriate. 
Thanks, all fixed now.


On 18 May 2018, at 5:25, Benny Kjær Nielsen wrote:


On 15 May 2018, at 17:04, Zvi Biener wrote:


I'm having trouble setting rules, under the following conditions:

1. I use Gmail labels by hiding the associated gmail "mailboxes" from 
MailMate (through the "Edit Subscriptions"). I then use Smart 
Mailboxes that pick out messages with the appropriate labels. So, if 
I use Label "Marketing", I hide the Marketing mailbox from MM, and 
define a smart mailboxes that picks out all messages with the tag 
"Marketing" from All Messages. I do this so I don't have duplicate 
messages, and because I use the same tags/keywords across multiple 
accounts.


I think you should read 
[this](https://manual.mailmate-app.com/account_setup#gmail) since 
MailMate already has built-in support to make tags work as you would 
expect them to with a Gmail account. This includes hiding the label 
mailbox.


2. I'd like to define a rule that matches the from address of 
incoming mail against from addresses that are already in the 
"Marketing" smart mailbox. Like: "From -> Address" "is in" 
"Marketing" (the smart mailbox) "From->Address".
However, in this context mailboxes that are defined as in 1 are 
greyed out. Other smart mailboxes are OK, but any smart mailbox that 
picks out a gmail label is greyed out.


Any ideas on how to get around this?


I think they would only be greyed out if there was some kind of cyclic 
reference, but maybe there's a bug somewhere related to this. You can 
send me the following file and I *think* I should be able to reproduce 
the issue:


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

--
Benny
https://freron.com/become_a_mailmate_patron/
___
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] Rules: "is in" smart mailbox and Gmail Labels

2018-05-18 Thread Benny Kjær Nielsen

On 15 May 2018, at 17:04, Zvi Biener wrote:


I'm having trouble setting rules, under the following conditions:

1. I use Gmail labels by hiding the associated gmail "mailboxes" from 
MailMate (through the "Edit Subscriptions"). I then use Smart 
Mailboxes that pick out messages with the appropriate labels. So, if I 
use Label "Marketing", I hide the Marketing mailbox from MM, and 
define a smart mailboxes that picks out all messages with the tag 
"Marketing" from All Messages. I do this so I don't have duplicate 
messages, and because I use the same tags/keywords across multiple 
accounts.


I think you should read 
[this](https://manual.mailmate-app.com/account_setup#gmail) since 
MailMate already has built-in support to make tags work as you would 
expect them to with a Gmail account. This includes hiding the label 
mailbox.


2. I'd like to define a rule that matches the from address of incoming 
mail against from addresses that are already in the "Marketing" smart 
mailbox. Like: "From -> Address" "is in" "Marketing" (the smart 
mailbox) "From->Address".
However, in this context mailboxes that are defined as in 1 are greyed 
out. Other smart mailboxes are OK, but any smart mailbox that picks 
out a gmail label is greyed out.


Any ideas on how to get around this?


I think they would only be greyed out if there was some kind of cyclic 
reference, but maybe there's a bug somewhere related to this. You can 
send me the following file and I *think* I should be able to reproduce 
the issue:


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

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


Re: [MlMt] Rules: "is in" smart mailbox and Gmail Labels

2018-05-15 Thread Galen Menzel



On 15 May 2018, at 8:04, Zvi Biener wrote:


Hi Folks,
There has been lots of discussion of rules lately, so I apologize if 
this was already addressed:


I'm having trouble setting rules, under the following conditions:

1. I use Gmail labels by hiding the associated gmail "mailboxes" from 
MailMate (through the "Edit Subscriptions"). I then use Smart 
Mailboxes that pick out messages with the appropriate labels. So, if I 
use Label "Marketing", I hide the Marketing mailbox from MM, and 
define a smart mailboxes that picks out all messages with the tag 
"Marketing" from All Messages. I do this so I don't have duplicate 
messages, and because I use the same tags/keywords across multiple 
accounts.


2. I'd like to define a rule that matches the from address of incoming 
mail against from addresses that are already in the "Marketing" smart 
mailbox. Like: "From -> Address" "is in" "Marketing" (the smart 
mailbox) "From->Address".
However, in this context mailboxes that are defined as in 1 are greyed 
out. Other smart mailboxes are OK, but any smart mailbox that picks 
out a gmail label is greyed out.


Any ideas on how to get around this?



I’m not able to reproduce this on my system (OS 10.13.4, MM revision 
5479). If I create a smart mailbox that contains messages tagged with a 
tag that has a gmail equivalent label, I can create a second smart 
mailbox that matches its from addresses with no issue.


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


[MlMt] Rules: "is in" smart mailbox and Gmail Labels

2018-05-15 Thread Zvi Biener

Hi Folks,
There has been lots of discussion of rules lately, so I apologize if 
this was already addressed:


I'm having trouble setting rules, under the following conditions:

1. I use Gmail labels by hiding the associated gmail "mailboxes" from 
MailMate (through the "Edit Subscriptions"). I then use Smart Mailboxes 
that pick out messages with the appropriate labels. So, if I use Label 
"Marketing", I hide the Marketing mailbox from MM, and define a smart 
mailboxes that picks out all messages with the tag "Marketing" from All 
Messages. I do this so I don't have duplicate messages, and because I 
use the same tags/keywords across multiple accounts.


2. I'd like to define a rule that matches the from address of incoming 
mail against from addresses that are already in the "Marketing" smart 
mailbox. Like: "From -> Address" "is in" "Marketing" (the smart mailbox) 
"From->Address".
However, in this context mailboxes that are defined as in 1 are greyed 
out. Other smart mailboxes are OK, but any smart mailbox that picks out 
a gmail label is greyed out.


Any ideas on how to get around this?

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


Re: [MlMt] Rules

2018-01-22 Thread Bill Cole

On 18 Jan 2018, at 20:20 (-0500), Randall Gellens wrote:

Is there a more detailed manual somewhere?  I can't figure out 
seemingly basic stuff.


The bundled help file (Help->MailMate Help) is reasonably good, and is 
pretty much identical to https://manual.mailmate-app.com/


Right now I'm trying to configure rules and I see Conditions, 
Submailboxes, and Rules.


Yes, and it is important to understand that the window you're looking at 
is either defining a "smart mailbox" (i.e. a dynamic collection of 
messages grouped together logically by MM) or is adding client-side 
behaviors to an IMAP ("source") mailbox. A smart mailbox editor window 
diffes in that it has a "Mailboxes" pane that tells MM which other 
mailboxes (both smart and source) define the universe of messages it 
examines.


Frankly, I don't get why adding "Conditions" to a source mailbox is a 
thing one can do, as the only effect it seems to have is to hide 
messages from view in MM's display of the mailbox which are in the 
actual IMAP mailbox on the server.


I'm guessing Submailboxes lets you create default rules for either 
moving mail or virtual mailboxes, but I haven't tried it.


No. Submailboxes lets you split a smart or source mailbox into virtual 
smart mailboxes  based on a single simple criteria. For example, I use a 
system for creating ad hoc limited-purpose email addresses based on 
patterns that my mail server recognizes as aliases for my "real" email 
address (which I don't actually use...) Some mail for these get sorted 
during local delivery on the server into specific IMAP folders (e.g. for 
specific mailing lists) but those that make it through the sieve on the 
server are just dumped into a slushpile 'Tagged' mailbox because they 
match one of the ad hoc patterns. That mailbox is configured to have 
submailboxes for each unique value of the address part of the To header.


However, what is the difference between the Conditions section and the 
conditions created in the Rules section?


The Conditions pane controls which messages MM deems to be in the 
mailbox. For Source (i.e. IMAP) mailboxes this selects the subset you 
see of the messages which are actually in the mailbox. For Smart 
mailboxes, this is a subset of the messages in the mailbox set defined 
in the Mailboxes pane.


The Conditions section of a Rule determines which new (to the mailbox) 
messages the Rule acts upon.



--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Currently Seeking Steady Work: https://linkedin.com/in/billcole
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules on account vs Inbox

2018-01-22 Thread Benny Kjær Nielsen
On 22 Jan 2018, at 15:47, Benny Kjær Nielsen wrote:

> The only way is to edit this file when MailMate is not running:
>
>   /Applications/MailMate.app/Contents/MacOS/MailMate

Nonsense, that should have been:

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

Sorry about that.

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


Re: [MlMt] Rules on account vs Inbox

2018-01-22 Thread Benny Kjær Nielsen

On 22 Jan 2018, at 1:37, Randall Gellens wrote:

What is the difference between rules on an account and rules on the 
account's Inbox?


The latter is only applied to new emails in the Inbox. You would almost 
never want to add rules to the account since these are triggered 
whenever something is moved into any mailbox within the account.


I created a bunch of rules on each of multiple accounts, and just 
realized this means I can't manually execute them, since the UI to do 
so only seems to run Inbox rules.  Do the rules still execute when 
mail arrives, or are they useless?


They are also applied when mail arrives in the mailbox. And when moving 
something to Sent Messages, etc. You don't want this.


The “Apply Rules” menu item should always be able to apply the rules 
of the currently selected mailbox to the selected messages or the entire 
mailbox.


Is there a way to move rules from an account to a mailbox of the 
account (or from one mailbox to another)?


Drag'n'drop (or copy/paste) is unfortunately not yet supported.

The only way is to edit this file when MailMate is not running:

/Applications/MailMate.app/Contents/MacOS/MailMate

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


Re: [MlMt] Rules

2018-01-22 Thread Benny Kjær Nielsen

On 20 Jan 2018, at 2:36, John Cooper wrote:

I don't know what setting a condition would do if it were applied to a 
standard IMAP folder.


It would then hide any emails not matching that condition. They would 
still appear in, e.g., “All Messages”.



Do you need to duplicate the rules for each account or each Inbox?


Assuming that you want to apply rules to all mail as it arrives and 
before it's sorted, you can apply the rules to the main Inbox mailbox 
that aggregates all your accounts.


Or create a smart mailbox which only matches the emails which you want 
to be the input for your rules. Then add the rules to this smart 
mailbox.


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


Re: [MlMt] Rules

2018-01-22 Thread Benny Kjær Nielsen

On 19 Jan 2018, at 4:04, Randall Gellens wrote:


At 5:20 PM -0800 1/18/18, Randall Gellens wrote:

 Is there a more detailed manual somewhere?  I can't figure out 
seemingly basic stuff.  Right now I'm trying to configure rules and I 
see Conditions, Submailboxes, and Rules.  I'm guessing Submailboxes 
lets you create default rules for either moving mail or virtual 
mailboxes, but I haven't tried it.  However, what is the difference 
between the Conditions section and the conditions created in the 
Rules section?


Also, what are the various specifiers for rule conditions (e.g., 
'Received' has six, one of which has two sub ones)?  I've been picking 
"No Specifier" but would like to what what they are.


One way to play with the specifiers is to use the Statistics layout (see 
the “View ▸ Layout” menu).


In general, specifiers are just shortcuts to substrings of headers. In 
general, it is more efficient to use a specifier and the “is” 
comparison method than it is to *not* use a specifier and the 
“contains” comparison method.


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


Re: [MlMt] Rules files

2018-01-22 Thread Benny Kjær Nielsen

On 20 Jan 2018, at 2:04, Randall Gellens wrote:

I thought I read somewhere that the rules can be edited offline, but I 
can’t find it now.  I wanted to try and use BBEdit text transforms 
to convert Eudora rules to MailMate rules.


If MailMate is not running then you can edit this file:

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

Make a copy first although I think MailMate also makes a backup if it 
fails to parse the file.


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


Re: [MlMt] Rules

2018-01-22 Thread Fredrik Jonsson

Randall Gellens 2018-01-21 21:44 wrote:

Are you saying that you have criteria in the Conditions section to 
select messages and then in the Rules section there are no criteria, 
just actions


Yes, exactly.

But I use only a handful of rules in total with MailMate. The smart 
mailboxes has replaced almost all rules I used in other mail clients.


I have the "Sources" section collapsed and rarely have any reason to 
look there.


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


[MlMt] Rules on account vs Inbox

2018-01-21 Thread Randall Gellens
What is the difference between rules on an account and rules on the 
account's Inbox?


I created a bunch of rules on each of multiple accounts, and just 
realized this means I can't manually execute them, since the UI to do 
so only seems to run Inbox rules.  Do the rules still execute when 
mail arrives, or are they useless?


Is there a way to move rules from an account to a mailbox of the 
account (or from one mailbox to another)?


--
Randall Gellens
-- Randomly-selected tag: ---
Subvert the Dominant Paradigm
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules

2018-01-21 Thread Randall Gellens

At 9:50 AM +0100 1/21/18, Fredrik Jonsson wrote:


 Randall Gellens 2018-01-19 2:20 wrote:

  However, what is the difference between the Conditions section 
and the conditions created in the Rules section?


 My recommendation in mot cases is to set up a smart mailbox that 
selects all the mails you are interested in and then in step two 
add rules to that smart mailbox. This way it's easy to make sure 
the rule acts only on the mail you intend.


 I do not think I have a single instant where I use the conditions 
in the rules section, but still nice to know it's an option when 
needed.


Are you saying that you have criteria in the Conditions section to 
select messages and then in the Rules section there are no criteria, 
just actions, or are you saying that you only have criteria that 
define the smart mailbox, and then the rules for that smart mailbox 
have no criteria (nothing in the Conditions section and no criteria 
in the Rules section)?



--
Randall Gellens
-- Randomly-selected tag: ---
History is strewn thick with evidence that truth is not hard to kill,
but a lie, well told, is immortal.
--Mark Twain
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules

2018-01-21 Thread Fredrik Jonsson

Randall Gellens 2018-01-19 2:20 wrote:

However, what is the difference between the Conditions section and the 
conditions created in the Rules section?


My recommendation in mot cases is to set up a smart mailbox that selects 
all the mails you are interested in and then in step two add rules to 
that smart mailbox. This way it's easy to make sure the rule acts only 
on the mail you intend.


I do not think I have a single instant where I use the conditions in the 
rules section, but still nice to know it's an option when needed.


I almost exclusively use smart mailboxes for sorting and have taken to 
dump everything in to "Archive" since I moved to MailMate.


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


Re: [MlMt] Rules

2018-01-19 Thread John Cooper

Randall Gellens wrote (at 16:34 on 19 Jan 2018):


On 19 Jan 2018, at 6:05, John Cooper wrote:

The Conditions section affects what you see in the mailbox. For 
example, I have a smart mailbox that includes every message that has 
"MailMate Users" or "freron.com" somewhere in the To: field AND is 
not in the Trash. When I click on it, I see all the messages to and 
from this list or from Benny in one place.


Does it have the same effect on a physical mailbox as on a 
virtual/smart one?


No, MailMate only works on email. :)

I don't know what setting a condition would do if it were applied to a 
standard IMAP folder.



How do you select messages that are not deleted?


I'm not sure I understand the question. If you mean how do I set the 
smart mailbox that I described not to include messages in the Trash, the 
condition I have set includes `Source > Path does not contain Trash`.



Do you need to duplicate the rules for each account or each Inbox?


Assuming that you want to apply rules to all mail as it arrives and 
before it's sorted, you can apply the rules to the main Inbox mailbox 
that aggregates all your accounts.


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


[MlMt] Rules files

2018-01-19 Thread Randall Gellens
I thought I read somewhere that the rules can be edited offline, but I 
can’t find it now.  I wanted to try and use BBEdit text transforms to 
convert Eudora rules to MailMate rules.

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


Re: [MlMt] Rules

2018-01-19 Thread Randall Gellens



On 19 Jan 2018, at 6:05, John Cooper wrote:


Randall Gellens wrote (at 17:20 on 18 Jan 2018):

However, what is the difference between the Conditions section and 
the conditions created in the Rules section?


The Conditions section affects what you see in the mailbox. For 
example, I have a smart mailbox that includes every message that has 
"MailMate Users" or "freron.com" somewhere in the To: field AND is not 
in the Trash. When I click on it, I see all the messages to and from 
this list or from Benny in one place.


Does it have the same effect on a physical mailbox as on a virtual/smart 
one?


How do you select messages that are not deleted?




The Rules section affects what happens to messages when they arrive in 
the mailbox. The conditions there specify which messages these actions 
should apply to. Rules (not Submailboxes) is where you control 
messages being moved to other IMAP folders.


Do you need to duplicate the rules for each account or each Inbox?



I'm guessing Submailboxes lets you create default rules for either 
moving mail or virtual mailboxes, but I haven't tried it.


Submailboxes are like filters that show you only the messages in a 
mailbox that meet the criteria. For example, the main Inbox folder may 
have a submailbox for each account that you have, so that you can 
click on a submailbox to see only the messages that are in the Inbox 
for each account. The Mailings Lists smart folder has a submailbox for 
each mailing list that you subscribe to.


Also, what are the various specifiers for rule conditions (e.g., 
'Received' has six, one of which has two sub ones)?  I've been 
picking "No Specifier" but would like to what what they are.


I'm having trouble finding "Received," but in general, the various 
specifiers are all the possible parts of an email message that are 
specified by the official design documents (RFCs) for the email 
standard. They are not well documented and that's something I've asked 
about too.


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


Re: [MlMt] Rules

2018-01-19 Thread Randall Gellens

Thank you.

On 19 Jan 2018, at 0:41, askedre...@gmail.com wrote:

I have 3 accounts and I only really setup rules on the INBOX of each 
account. That is my organization around rules; I have "work email" 
rules and "personal email" rules. I don't set Conditions or 
Submailboxes. I suppose you create rules at some global level and then 
use the Conditions to say where to apply the rules...


I only create Rules, which are applied to every new email in that 
inbox, when the email arrives (that is the default behavior of how 
rules work).


Here are my rules for my personal account, to organize my email into 
folders: https://files.asktherelic.com/20180119-0933-d8dzq.png


And the rule for this mailing list looks like: 
https://files.asktherelic.com/20180119-0935-2zzqp.png


When you are testing rules, you can go to the menu Mailbox > Apply 
Rules of "INBOX" and force the rules to run again. I do this when my 
rules don't seem to be trigger.


Cheers

On 19 Jan 2018, at 4:04, Randall Gellens wrote:


At 5:20 PM -0800 1/18/18, Randall Gellens wrote:

 Is there a more detailed manual somewhere?  I can't figure out 
seemingly basic stuff.  Right now I'm trying to configure rules and 
I see Conditions, Submailboxes, and Rules.  I'm guessing 
Submailboxes lets you create default rules for either moving mail or 
virtual mailboxes, but I haven't tried it.  However, what is the 
difference between the Conditions section and the conditions created 
in the Rules section?


Also, what are the various specifiers for rule conditions (e.g., 
'Received' has six, one of which has two sub ones)?  I've been 
picking "No Specifier" but would like to what what they are.


--
Randall Gellens
-- Randomly-selected tag: ---
You can make it foolproof, but you can't make it damnfoolproof.
___
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

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


Re: [MlMt] Rules

2018-01-19 Thread John Cooper

Randall Gellens wrote (at 17:20 on 18 Jan 2018):

However, what is the difference between the Conditions section and the 
conditions created in the Rules section?


The Conditions section affects what you see in the mailbox. For example, 
I have a smart mailbox that includes every message that has "MailMate 
Users" or "freron.com" somewhere in the To: field AND is not in the 
Trash. When I click on it, I see all the messages to and from this list 
or from Benny in one place.


The Rules section affects what happens to messages when they arrive in 
the mailbox. The conditions there specify which messages these actions 
should apply to. Rules (not Submailboxes) is where you control messages 
being moved to other IMAP folders.


I'm guessing Submailboxes lets you create default rules for either 
moving mail or virtual mailboxes, but I haven't tried it.


Submailboxes are like filters that show you only the messages in a 
mailbox that meet the criteria. For example, the main Inbox folder may 
have a submailbox for each account that you have, so that you can click 
on a submailbox to see only the messages that are in the Inbox for each 
account. The Mailings Lists smart folder has a submailbox for each 
mailing list that you subscribe to.


Also, what are the various specifiers for rule conditions (e.g., 
'Received' has six, one of which has two sub ones)?  I've been picking 
"No Specifier" but would like to what what they are.


I'm having trouble finding "Received," but in general, the various 
specifiers are all the possible parts of an email message that are 
specified by the official design documents (RFCs) for the email 
standard. They are not well documented and that's something I've asked 
about too.

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


Re: [MlMt] Rules

2018-01-19 Thread askedrelic
I have 3 accounts and I only really setup rules on the INBOX of each 
account. That is my organization around rules; I have "work email" rules 
and "personal email" rules. I don't set Conditions or Submailboxes. I 
suppose you create rules at some global level and then use the 
Conditions to say where to apply the rules...


I only create Rules, which are applied to every new email in that inbox, 
when the email arrives (that is the default behavior of how rules work).


Here are my rules for my personal account, to organize my email into 
folders: https://files.asktherelic.com/20180119-0933-d8dzq.png


And the rule for this mailing list looks like: 
https://files.asktherelic.com/20180119-0935-2zzqp.png


When you are testing rules, you can go to the menu Mailbox > Apply Rules 
of "INBOX" and force the rules to run again. I do this when my rules 
don't seem to be trigger.


Cheers

On 19 Jan 2018, at 4:04, Randall Gellens wrote:


At 5:20 PM -0800 1/18/18, Randall Gellens wrote:

 Is there a more detailed manual somewhere?  I can't figure out 
seemingly basic stuff.  Right now I'm trying to configure rules and I 
see Conditions, Submailboxes, and Rules.  I'm guessing Submailboxes 
lets you create default rules for either moving mail or virtual 
mailboxes, but I haven't tried it.  However, what is the difference 
between the Conditions section and the conditions created in the 
Rules section?


Also, what are the various specifiers for rule conditions (e.g., 
'Received' has six, one of which has two sub ones)?  I've been picking 
"No Specifier" but would like to what what they are.


--
Randall Gellens
-- Randomly-selected tag: ---
You can make it foolproof, but you can't make it damnfoolproof.
___
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] Rules

2018-01-18 Thread Randall Gellens

At 5:20 PM -0800 1/18/18, Randall Gellens wrote:

 Is there a more detailed manual somewhere?  I can't figure out 
seemingly basic stuff.  Right now I'm trying to configure rules and 
I see Conditions, Submailboxes, and Rules.  I'm guessing 
Submailboxes lets you create default rules for either moving mail 
or virtual mailboxes, but I haven't tried it.  However, what is the 
difference between the Conditions section and the conditions 
created in the Rules section?


Also, what are the various specifiers for rule conditions (e.g., 
'Received' has six, one of which has two sub ones)?  I've been 
picking "No Specifier" but would like to what what they are.


--
Randall Gellens
-- Randomly-selected tag: ---
You can make it foolproof, but you can't make it damnfoolproof.
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


[MlMt] Rules

2018-01-18 Thread Randall Gellens
Is there a more detailed manual somewhere?  I can't figure out 
seemingly basic stuff.  Right now I'm trying to configure rules and I 
see Conditions, Submailboxes, and Rules.  I'm guessing Submailboxes 
lets you create default rules for either moving mail or virtual 
mailboxes, but I haven't tried it.  However, what is the difference 
between the Conditions section and the conditions created in the 
Rules section?


--
Randall Gellens
-- Randomly-selected tag: ---
Paranoids are the only ones who notice things anymore.
--Anatole Broyard
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules on Inbox - Generic

2017-11-10 Thread Benny Kjær Nielsen

On 7 Nov 2017, at 15:37, Marc ARC wrote:


A gentle nag about a feature we discussed below.


It's still a somewhat confusing feature (to me). I had to read the 
thread again to get back on track :-)



I think GUI-wise the "new-move" version could look like this

[From] [is in] [Mailbox/SmartMailbox] [From]

	[Generic Move to first matched Source Mailbox of]  
[Mailbox/SmartMailbox]

or
[Dynamic Move to first matched Source of]  [Mailbox/SmartMailbox]
or
[Fuzzy Move to Source of]  [Mailbox/SmartMailbox]

I think this illustrates that it's hard to make such a feature 
intuitive. A better (and cleaner) approach would be to make the 
action independent of the conditions. The action could then be 
something like:


Move to Related Mailbox based on [Header] in [Mailbox]


When [Header] means the actual functionality we have for filtering on 
“header contained info” then this will be a great feature.


It would only allow exact matches on any header specifier, e.g., “From 
▸ Address”, but I also think that would be good enough. Otherwise, I 
would need some use case examples.


Maybe I should rewrite it a bit:

Move Using [Header] in [Smart Mailbox]

This emphasizes that the header is the important part and that it 
primarily/only makes sense to have a smart mailbox on the right hand 
side such that more than 1 IMAP mailbox can be involved.


The “Mailbox” could be any smart or IMAP mailbox/account. It 
would trigger MailMate to look for the first message in Mailbox with 
the same header value. When found, the new message would be moved to 
the same IMAP mailbox as the found message. It would be like an IMAP 
mailbox variant of the Submailboxes feature for smart mailboxes.


This would allow a worst case near-linear running time if a large 
number of messages are “moved” (linear in terms of the size of 
the mailbox used in the action).


Note that in this case there would be no need for a condition for 
the rule except for maybe limiting the messages triggering the 
action.


A somewhat related feature would allow simply creating IMAP 
mailboxes based on a header value:


Move to Submailbox of [IMAP Mailbox/Account] based on [Header]


This would be a nice to have, and I already see some use for it.
From a “what I like to have first” point-of-view this is last on 
my list.


Ok. Let's focus on the above.

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


Re: [MlMt] Rules on Inbox - Generic

2017-11-07 Thread Marc ARC

Benny,

A gentle nag about a feature we discussed below.

Marc

On 19 Feb 2016, at 18:18, Marc ARC wrote:


On 16 Feb 2016, at 11:15, Benny Kjær Nielsen wrote:


On 12 Feb 2016, at 17:59, Marc DR wrote:


example:

[From] [is in] [Info ▸ Marketing_Confirmed] [From]
[Move to Mailbox] [Info ▸ Marketing_Auto]
Please do note that I do not move to the Mailbox_Source because this 
allows me to see what has been add recently.
I think I could achieve an identical result by tagging the "fresh" 
mails before moving and untagging them after verification ( or vice 
versa ), which is "easier" for you to implement. :-))


I think that would also be a nicer way to handle that.


I think GUI-wise the "new-move" version could look like this

[From] [is in] [Mailbox/SmartMailbox] [From]

	[Generic Move to first matched Source Mailbox of]  
[Mailbox/SmartMailbox]

or
[Dynamic Move to first matched Source of]  [Mailbox/SmartMailbox]
or
[Fuzzy Move to Source of]  [Mailbox/SmartMailbox]

Just some ideas and have a nice WE,


I think this illustrates that it's hard to make such a feature 
intuitive. A better (and cleaner) approach would be to make the 
action independent of the conditions. The action could then be 
something like:


Move to Related Mailbox based on [Header] in [Mailbox]


Benny,

When [Header] means the actual functionality we have for filtering on 
“header contained info” then this will be a great feature.




The “Mailbox” could be any smart or IMAP mailbox/account. It 
would trigger MailMate to look for the first message in Mailbox with 
the same header value. When found, the new message would be moved to 
the same IMAP mailbox as the found message. It would be like an IMAP 
mailbox variant of the Submailboxes feature for smart mailboxes.


This would allow a worst case near-linear running time if a large 
number of messages are “moved” (linear in terms of the size of 
the mailbox used in the action).


Note that in this case there would be no need for a condition for the 
rule except for maybe limiting the messages triggering the action.


A somewhat related feature would allow simply creating IMAP mailboxes 
based on a header value:


Move to Submailbox of [IMAP Mailbox/Account] based on [Header]


This would be a nice to have, and I already see some use for it.
From a “what I like to have first” point-of-view this is last on 
my list.


Thanks

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


Re: [MlMt] Rules and when are they applied

2017-04-18 Thread Pedro Lobo

Thanks for the feedback Benny.

I went back and did a more thorough search of the archives and based on 
some prior advice, I created a smart mailbox just for this purpose. Now 
it’s working wonderfully :)


On 18 Apr 2017, at 9:51, Benny Kjær Nielsen wrote:


On 17 Apr 2017, at 23:26, Pedro Lobo wrote:

From my testing, this isn't working. If I add the rule to the global 
inbox and trigger apply rules, nothing happens, but if I select the 
email (or even all emails in inbox) and press apply rules, it works.


Manually applying the rules of the currently selected mailbox requires 
selecting the emails. This is expected behavior. (Ideally, there 
should be other variants of the Apply-menu item, but that's not 
implemented yet.)


1. Where is the ideal place to add a rule like this? global Inbox or 
each account's inbox


You might want to add rules to the “smallest” mailbox that you 
know includes the messages, but the global Inbox also works. You might 
not want to add rules to a lot of different mailboxes if you can avoid 
it since there is currently no easy way to see which mailboxes have 
rules (other than searching directly in the `Mailboxes.plist` files).


2. Is it necessary that the message be selected for rules to be 
applied to it


Only when doing it manually.


3. If not, how often are rules run


Rules are applied when a message is “added” to a mailbox. In 
particular, when a message arrives in your Inbox. If a message is then 
moved to another mailbox then the rules of this mailbox are applied.


If you think something is not working as intended then write me off 
list and we'll debug.


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



Cheers,
Pedro Lobo
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules and when are they applied

2017-04-18 Thread Benny Kjær Nielsen

On 17 Apr 2017, at 23:26, Pedro Lobo wrote:

From my testing, this isn't working. If I add the rule to the global 
inbox and trigger apply rules, nothing happens, but if I select the 
email (or even all emails in inbox) and press apply rules, it works.


Manually applying the rules of the currently selected mailbox requires 
selecting the emails. This is expected behavior. (Ideally, there should 
be other variants of the Apply-menu item, but that's not implemented 
yet.)


1. Where is the ideal place to add a rule like this? global Inbox or 
each account's inbox


You might want to add rules to the “smallest” mailbox that you know 
includes the messages, but the global Inbox also works. You might not 
want to add rules to a lot of different mailboxes if you can avoid it 
since there is currently no easy way to see which mailboxes have rules 
(other than searching directly in the `Mailboxes.plist` files).


2. Is it necessary that the message be selected for rules to be 
applied to it


Only when doing it manually.


3. If not, how often are rules run


Rules are applied when a message is “added” to a mailbox. In 
particular, when a message arrives in your Inbox. If a message is then 
moved to another mailbox then the rules of this mailbox are applied.


If you think something is not working as intended then write me off list 
and we'll debug.


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


[MlMt] Rules and when are they applied

2017-04-17 Thread Pedro Lobo

Hey all,

I'm in need of assistance. I never really had much need for rules so 
never explored them further. Today however, I found a wonderful use case 
for me and I want to use rules to do it, but for some odd reason it's 
not working as I expect.


**Use Case:** Flag an email on mobile/web and have an always on mac with 
MM running. When MM sees a newly flagged email, it runs a bundle command 
to add the mail to a task list.


From my testing, this isn't working. If I add the rule to the global 
inbox and trigger apply rules, nothing happens, but if I select the 
email (or even all emails in inbox) and press apply rules, it works.


**Questions**

1. Where is the ideal place to add a rule like this? global Inbox or 
each account's inbox
2. Is it necessary that the message be selected for rules to be applied 
to it

3. If not, how often are rules run

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


[MlMt] Rules with variables in them?

2016-10-30 Thread Patrik Fältström
Hi,

I have one mailbox where I have the name of subfolders in the form of 
"${#date.month}".

Can I also use that expression in one way or another in the rules?

For example: "Move to folder /x/${#date.year}/${#date.month}"

And of course have that folder be created if it does not exist?

   paf


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


Re: [MlMt] Rules Conditions - Domain

2016-02-21 Thread Marc ARC

Gentlemen,

I think I could have been clearer.

Let’s focus on		define “submailbox for each unique value of” From 
> Domain


with this setting I get the following submailboxes:
mx1.domainname.com
mx3.domainname.com
mail.domainname.com
domainname.com
domainname.org
domainname.be

I’m looking for a way to have only the following:
	domainname.com 	( contains also the mx1.domainname.com, 
mx3.domainname.com, mail.domainname.com & domainname.com )

domainname.org
domainname.be

All other options I tried haven’t given me the required result

So I don’t care which “subdomain” the mails come from but still 
need to differentiate between the  .com .be .se .fr .org .etc. . . .


I hope this makes it a little clearer

Thanks in advance,


Marc


On 21 Feb 2016, at 12:36, Benny Kjær Nielsen wrote:


On 20 Feb 2016, at 23:09, Marc ARC wrote:


I’m confronted with the following problem:

I want to filter all mail originating from domainname.com and all of 
it’s possible subdomains xyzxyz.domainname.com

In the mails I’m receiving I have the following occurrences:
mx1.domainname.com
mx3.domainname.com
mail.domainname.com
domainname.com
domainname.org
domainname.be

I don’t manage to define a filter that handles all the mails from 
the top-level domain domainname.com and it’s subdomains.


I also tried to define “submailbox for each unique value of” , 
but here I’m confronted with the same “issue”.


I'm not sure exactly what you are trying to do, but you should 
probably start with defining a smart mailbox to match the desired 
emails. This is easier to debug (compared to rules).


--
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] Rules Conditions - Domain

2016-02-21 Thread Benny Kjær Nielsen

On 20 Feb 2016, at 23:09, Marc ARC wrote:


I’m confronted with the following problem:

I want to filter all mail originating from domainname.com and all of 
it’s possible subdomains xyzxyz.domainname.com

In the mails I’m receiving I have the following occurrences:
mx1.domainname.com
mx3.domainname.com
mail.domainname.com
domainname.com
domainname.org
domainname.be

I don’t manage to define a filter that handles all the mails from 
the top-level domain domainname.com and it’s subdomains.


I also tried to define “submailbox for each unique value of” , but 
here I’m confronted with the same “issue”.


I'm not sure exactly what you are trying to do, but you should probably 
start with defining a smart mailbox to match the desired emails. This is 
easier to debug (compared to rules).


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


Re: [MlMt] Rules Conditions - Domain

2016-02-20 Thread Mailmate
I may not be understanding your dilemma correctly, but if you create a 
smart folder with Mailbox set to All Messages and a condition with From 
(no specifier) Contains domainname.

That is "domainname."

It will select all the subdomain prefixes as well as all the various 
HLQ's .com, .org, .tv, etc.


__*Richard Rettke*__
*Laus Deo*
*Non sibi sed patriae*

https://about.me/rerettke


On 20 Feb 2016, at 16:09, Marc ARC MailMate-at-arcict.com |MailMate 
Freron Software/RER>Vendor>Software| wrote:


I don’t manage to define a filter that handles all the mails from 
the top-level domain domainname.com and it’s subdomains.
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


[MlMt] Rules Conditions - Domain

2016-02-20 Thread Marc ARC

I’m confronted with the following problem:

I want to filter all mail originating from domainname.com and all of 
it’s possible subdomains xyzxyz.domainname.com

In the mails I’m receiving I have the following occurrences:
mx1.domainname.com
mx3.domainname.com
mail.domainname.com
domainname.com
domainname.org
domainname.be

I don’t manage to define a filter that handles all the mails from the 
top-level domain domainname.com and it’s subdomains.


I also tried to define “submailbox for each unique value of” , but 
here I’m confronted with the same “issue”.


Thanks in advance for any guidance,



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


Re: [MlMt] Rules on Inbox - Generic

2016-02-19 Thread Marc ARC

On 16 Feb 2016, at 11:15, Benny Kjær Nielsen wrote:


On 12 Feb 2016, at 17:59, Marc DR wrote:


example:

[From] [is in] [Info ▸ Marketing_Confirmed] [From]
[Move to Mailbox] [Info ▸ Marketing_Auto]
Please do note that I do not move to the Mailbox_Source because this 
allows me to see what has been add recently.
I think I could achieve an identical result by tagging the "fresh" 
mails before moving and untagging them after verification ( or vice 
versa ), which is "easier" for you to implement. :-))


I think that would also be a nicer way to handle that.


I think GUI-wise the "new-move" version could look like this

[From] [is in] [Mailbox/SmartMailbox] [From]

	[Generic Move to first matched Source Mailbox of]  
[Mailbox/SmartMailbox]

or
[Dynamic Move to first matched Source of]  [Mailbox/SmartMailbox]
or
[Fuzzy Move to Source of]  [Mailbox/SmartMailbox]

Just some ideas and have a nice WE,


I think this illustrates that it's hard to make such a feature 
intuitive. A better (and cleaner) approach would be to make the action 
independent of the conditions. The action could then be something 
like:


Move to Related Mailbox based on [Header] in [Mailbox]


Benny,

When [Header] means the actual functionality we have for filtering on 
“header contained info” then this will be a great feature.




The “Mailbox” could be any smart or IMAP mailbox/account. It would 
trigger MailMate to look for the first message in Mailbox with the 
same header value. When found, the new message would be moved to the 
same IMAP mailbox as the found message. It would be like an IMAP 
mailbox variant of the Submailboxes feature for smart mailboxes.


This would allow a worst case near-linear running time if a large 
number of messages are “moved” (linear in terms of the size of the 
mailbox used in the action).


Note that in this case there would be no need for a condition for the 
rule except for maybe limiting the messages triggering the action.


A somewhat related feature would allow simply creating IMAP mailboxes 
based on a header value:


Move to Submailbox of [IMAP Mailbox/Account] based on [Header]


This would be a nice to have, and I already see some use for it.
From a “what I like to have first” point-of-view this is last on my 
list.


Thanks

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


Re: [MlMt] Rules and HTML parts

2016-02-19 Thread Benny Kjær Nielsen

On 18 Feb 2016, at 14:49, Eric A. Meyer wrote:


Is there a good introductory tutorial to creating and using rules?


I'm afraid not.

I have some idea of how they work, but it'd be nice to learn from 
someone with experience.


That said, is there a way to have a rule set the display part that 
should be preferred for a given message?  I “Prefer plain text” in 
my preferences because it works better for me in 98% of cases, but 
there are a few addresses that always send mangled (or utterly 
useless) plain-text parts, so I always have to flip to the HTML part 
to make any sense of what they're sending.  I'd love to have a rule 
Just Do That™ for me before I even open the messages.


Hmm, this is not currently possible. The preference (when switching 
manually) is actually saved in a virtual header which means that **if** 
there was a rule action to set virtual headers (or just this one header) 
then it would be possible to do something like the above. Combined with 
a smart mailbox matching such messages and the use of the “is in” 
comparison method then you might not even need to create more than 1 
rule.


So, all I can offer you is to keep in mind that it would be useful to be 
able to set this virtual header using a rule action.


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


[MlMt] Rules and HTML parts

2016-02-18 Thread Eric A. Meyer

Hey all,

Is there a good introductory tutorial to creating and using rules?  I 
have some idea of how they work, but it'd be nice to learn from someone 
with experience.


That said, is there a way to have a rule set the display part that 
should be preferred for a given message?  I “Prefer plain text” in 
my preferences because it works better for me in 98% of cases, but there 
are a few addresses that always send mangled (or utterly useless) 
plain-text parts, so I always have to flip to the HTML part to make any 
sense of what they're sending.  I'd love to have a rule Just Do That™ 
for me before I even open the messages.



--
Eric A. Meyer - http://meyerweb.com/
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules on Inbox - Generic

2016-02-16 Thread Max Rydahl Andersen


> On 16 Feb 2016, at 11:15, Benny Kjær Nielsen  wrote:
> 
> A somewhat related feature would allow simply creating IMAP mailboxes based 
> on a header value:
> 
> Move to Submailbox of [IMAP Mailbox/Account] based on [Header]
> These two features would cover two types of somewhat similar use cases I 
> believe.
> 
> Useful features?
> 

I can say that currently I have initial filtering into folders extracted into 
an imapfilter lua script. 

This script main work is to take any message that has an List-Id and transform 
that into a folder location via a regular expression. 

So i.e.  org.eclipse.jdt-Dev is put into folder named lists/eclipse/jdt.dev and 
org.jboss.hibernate-Dev ends up in lists/jboss/hibernate-Dev. 

I personally would t use it since I need the filtering to occur even when not 
running mailmate but If I was 100% desktop user I would love this kind of 
feature. ___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules on Inbox - Generic

2016-02-16 Thread Benny Kjær Nielsen

On 12 Feb 2016, at 17:59, Marc DR wrote:


example:

[From] [is in] [Info ▸ Marketing_Confirmed] [From]
[Move to Mailbox] [Info ▸ Marketing_Auto]
Please do note that I do not move to the Mailbox_Source because this 
allows me to see what has been add recently.
I think I could achieve an identical result by tagging the "fresh" 
mails before moving and untagging them after verification ( or vice 
versa ), which is "easier" for you to implement. :-))


I think that would also be a nicer way to handle that.


I think GUI-wise the "new-move" version could look like this

[From] [is in] [Mailbox/SmartMailbox] [From]

	[Generic Move to first matched Source Mailbox of]  
[Mailbox/SmartMailbox]

or
[Dynamic Move to first matched Source of]  [Mailbox/SmartMailbox]
or
[Fuzzy Move to Source of]  [Mailbox/SmartMailbox]

Just some ideas and have a nice WE,


I think this illustrates that it's hard to make such a feature 
intuitive. A better (and cleaner) approach would be to make the action 
independent of the conditions. The action could then be something like:


Move to Related Mailbox based on [Header] in [Mailbox]

The “Mailbox” could be any smart or IMAP mailbox/account. It would 
trigger MailMate to look for the first message in Mailbox with the same 
header value. When found, the new message would be moved to the same 
IMAP mailbox as the found message. It would be like an IMAP mailbox 
variant of the Submailboxes feature for smart mailboxes.


This would allow a worst case near-linear running time if a large number 
of messages are “moved” (linear in terms of the size of the mailbox 
used in the action).


Note that in this case there would be no need for a condition for the 
rule except for maybe limiting the messages triggering the action.


A somewhat related feature would allow simply creating IMAP mailboxes 
based on a header value:


Move to Submailbox of [IMAP Mailbox/Account] based on [Header]

These two features would cover two types of somewhat similar use cases I 
believe.


Useful features?

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


Re: [MlMt] Rules on Inbox - Generic

2016-02-12 Thread Marc DR

Benny,

You got the idea right !

The reason I used the smart mailbox is because it gave me a degree in 
freedom



The Rule as I use it now:

[From] [is in] [Mailbox_Source] [From]
[Move to Mailbox] [Mailbox_Target]

example:

[From] [is in] [Info ▸ Marketing_Confirmed] [From]
[Move to Mailbox] [Info ▸ Marketing_Auto]
Please do note that I do not move to the Mailbox_Source because this 
allows me to see what has been add recently.
I think I could achieve an identical result by tagging the "fresh" mails 
before moving and untagging them after verification ( or vice versa ), 
which is "easier" for you to implement. :-))


I think GUI-wise the "new-move" version could look like this

[From] [is in] [Mailbox/SmartMailbox] [From]

	[Generic Move to first matched Source Mailbox of]  
[Mailbox/SmartMailbox]

or
[Dynamic Move to first matched Source of]  [Mailbox/SmartMailbox]
or
[Fuzzy Move to Source of]  [Mailbox/SmartMailbox]


Just some ideas and have a nice WE,



Marc


On 12 Feb 2016, at 10:22, Benny Kjær Nielsen wrote:


On 11 Feb 2016, at 23:28, Marc ARC wrote:

I’m looking for a more generic solution, with less need to write a 
rule for every similar condition


Something like:

	if sender/rule_condition of email is in SmartMailbox ( which might 
“contain” number of mailboxes )


You mean that the messages in the smart mailbox could be located in 
any number of IMAP mailboxes?



move email to source_mailbox where sender/rule_condition was found


As in:

	Move to Mailbox [IMAP mailbox of first matched message in 
SmartMailbox]


This could help us to “sort/archive” automatically marketing 
emails, mails of a certain sender, etc . . .


I think I understand the problem and I also think it would be a nice 
addition to the “is in” comparison method.


Unfortunately, implementation-wise it's non-trivial. The information 
about matching messages in the SmartMailbox is “lost” long before 
reaching the point of rule actions and it's also not quite obvious how 
the GUI for such a feature should work.


I'll think about this, but right now I don't see any simple way to do 
it.


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


Re: [MlMt] Rules on Inbox - Generic

2016-02-12 Thread Benny Kjær Nielsen

On 11 Feb 2016, at 23:28, Marc ARC wrote:

I’m looking for a more generic solution, with less need to write a 
rule for every similar condition


Something like:

	if sender/rule_condition of email is in SmartMailbox ( which might 
“contain” number of mailboxes )


You mean that the messages in the smart mailbox could be located in any 
number of IMAP mailboxes?



move email to source_mailbox where sender/rule_condition was found


As in:

Move to Mailbox [IMAP mailbox of first matched message in SmartMailbox]

This could help us to “sort/archive” automatically marketing 
emails, mails of a certain sender, etc . . .


I think I understand the problem and I also think it would be a nice 
addition to the “is in” comparison method.


Unfortunately, implementation-wise it's non-trivial. The information 
about matching messages in the SmartMailbox is “lost” long before 
reaching the point of rule actions and it's also not quite obvious how 
the GUI for such a feature should work.


I'll think about this, but right now I don't see any simple way to do 
it.


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


[MlMt] Rules on Inbox - Generic

2016-02-11 Thread Marc ARC

Hello,

We rely on rules to do some “pre-filtering” of our incoming mail ( 
we like to have certain mails routed to specific mail boxes )


ex: a rule on our inbox could look like:

if sender of email is in mailbox_X
move email to mailbox_X/Y


I’m looking for a more generic solution, with less need to write a 
rule for every similar condition


Something like:

	if sender/rule_condition of email is in SmartMailbox ( which might 
“contain” number of mailboxes )

move email to source_mailbox where sender/rule_condition was found

This could help us to “sort/archive” automatically marketing emails, 
mails of a certain sender, etc . . .


All idea’s are welcome


Marc___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules for Counting Messages

2014-10-24 Thread Zvi Biener

OK. Thanks!

On 24 Oct 2014, at 10:23, Benny Kjær Nielsen wrote:


On 24 Oct 2014, at 15:48, Zvi Biener wrote:

Sample case: I review my Junk mailbox occasionally, just to make sure 
nothing got trapped in there, but I'd like to review it only when, 
say, 10 messages have piled up. My ideal rule would watch for the 
number of unread messages, and when it goes over ten, it would toggle 
the "Displayed Count" property of the mailbox from "No Count" to 
"Unread." Alternately, it can just notify me by script or otherwise. 
But I can't figure out how to count messages...


I cannot think of a way to do that using smart mailboxes. It would 
require some kind of mailbox-level condition which would be a 
completely new concept in MailMate (all current conditions are message 
based). The query system in MailMate knows nothing about mailboxes.


It's an interesting idea though. I think most things could be done if 
actions could be triggered based on a single condition on some aspect 
of a single mailbox, e.g.,


Count of [mailbox] > 10
Size of [mailbox] > 100MB
Attachments Size of [mailbox] > 100MB

This could be part of the current rules GUI and used with or without 
message conditions. For your problem then you would also need a new 
action type (“Set Mailbox Count to [Unread]”).


Well, just thinking out loud here :-)

Right now, you can run an external script which increases a counter 
(saved to disk or to a defaults variable). This hack could solve the 
first part of the problem, but I don't see any way to solve the second 
part of the problem without me implementing a new action method for 
rules.


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

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


Re: [MlMt] Rules for Counting Messages

2014-10-24 Thread Benny Kjær Nielsen

On 24 Oct 2014, at 15:48, Zvi Biener wrote:

Sample case: I review my Junk mailbox occasionally, just to make sure 
nothing got trapped in there, but I'd like to review it only when, 
say, 10 messages have piled up. My ideal rule would watch for the 
number of unread messages, and when it goes over ten, it would toggle 
the "Displayed Count" property of the mailbox from "No Count" to 
"Unread." Alternately, it can just notify me by script or otherwise. 
But I can't figure out how to count messages...


I cannot think of a way to do that using smart mailboxes. It would 
require some kind of mailbox-level condition which would be a completely 
new concept in MailMate (all current conditions are message based). The 
query system in MailMate knows nothing about mailboxes.


It's an interesting idea though. I think most things could be done if 
actions could be triggered based on a single condition on some aspect of 
a single mailbox, e.g.,


Count of [mailbox] > 10
Size of [mailbox] > 100MB
Attachments Size of [mailbox] > 100MB

This could be part of the current rules GUI and used with or without 
message conditions. For your problem then you would also need a new 
action type (“Set Mailbox Count to [Unread]”).


Well, just thinking out loud here :-)

Right now, you can run an external script which increases a counter 
(saved to disk or to a defaults variable). This hack could solve the 
first part of the problem, but I don't see any way to solve the second 
part of the problem without me implementing a new action method for 
rules.


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


[MlMt] Rules for Counting Messages

2014-10-24 Thread Zvi Biener

Hi MailMaters,

I wonder if anyone has implemented, or can give me some tips, about how 
to implement mailbox rules that respond to the number of unread messages 
in a mailbox.


Sample case: I review my Junk mailbox occasionally, just to make sure 
nothing got trapped in there, but I'd like to review it only when, say, 
10 messages have piled up. My ideal rule would watch for the number of 
unread messages, and when it goes over ten, it would toggle the 
"Displayed Count" property of the mailbox from "No Count" to "Unread." 
Alternately, it can just notify me by script or otherwise. But I can't 
figure out how to count messages...


Any ideas?
Thanks,
Zvi
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Rules didn't come along with update

2014-09-19 Thread Bob Koss
Sorry Benny, it must have been just a fluke that an annoying Facebook 
message got through to my Inbox. Everything appears to be working and 
the reason I didn't see the rules is because I was looking in the wrong 
place.




On 18 Sep 2014, at 7:48, Benny Kjær Nielsen wrote:


On 18 Sep 2014, at 11:30, Bob Koss wrote:

I updated MailMate yesterday and I noticed this morning that my 
previous rules were not applied to incoming mail. I went to look at 
my rules and there weren't any.


That doesn't sound good. So far, I have no other reports about this, 
but I'm of course very interested in fixing any bugs related to this.



Is there a way to recover without entering them all again?


If you have a backup then you can copy this file to get your mailboxes 
back:


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

You *must* quit MailMate before copying this file.

If you manage to do this and the rules disappear again then let me 
know.


Are there plans to make rules available across computers I use. 
Sometimes I'll enter rules on my laptop and sometimes on my desktop 
and it would be nice if I didn't have to do this twice. Possibly sync 
using Dropbox?


I only have some notes on thoughts about how this could work. 
Something like Dropbox could be used, but I think it might be better 
to simply use IMAP for this purpose (the user could be asked to select 
a special IMAP mailbox for MailMate settings). It's not as trivial as 
it sounds though :-)


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

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


Re: [MlMt] Rules didn't come along with update

2014-09-18 Thread Benny Kjær Nielsen

On 18 Sep 2014, at 11:30, Bob Koss wrote:

I updated MailMate yesterday and I noticed this morning that my 
previous rules were not applied to incoming mail. I went to look at my 
rules and there weren't any.


That doesn't sound good. So far, I have no other reports about this, but 
I'm of course very interested in fixing any bugs related to this.



Is there a way to recover without entering them all again?


If you have a backup then you can copy this file to get your mailboxes 
back:


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

You *must* quit MailMate before copying this file.

If you manage to do this and the rules disappear again then let me know.

Are there plans to make rules available across computers I use. 
Sometimes I'll enter rules on my laptop and sometimes on my desktop 
and it would be nice if I didn't have to do this twice. Possibly sync 
using Dropbox?


I only have some notes on thoughts about how this could work. Something 
like Dropbox could be used, but I think it might be better to simply use 
IMAP for this purpose (the user could be asked to select a special IMAP 
mailbox for MailMate settings). It's not as trivial as it sounds though 
:-)


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


[MlMt] Rules didn't come along with update

2014-09-18 Thread Bob Koss
I updated MailMate yesterday and I noticed this morning that my previous 
rules were not applied to incoming mail. I went to look at my rules and 
there weren't any.


Is there a way to recover without entering them all again?

Are there plans to make rules available across computers I use. 
Sometimes I'll enter rules on my laptop and sometimes on my desktop and 
it would be nice if I didn't have to do this twice. Possibly sync using 
Dropbox?


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


Re: [MlMt] Rules

2014-06-23 Thread Benny Kjær Nielsen

On 23 Jun 2014, at 12:43, Bram Heerink wrote:

I enabled 2.0 features to delete messages from twitter.com that are 
older then 30 days. Am I doing something wrong? Do I have to press a 
magic button to execute the rule?


https://www.evernote.com/shard/s52/sh/ac325577-7099-475e-b3f3-26e10d69a331/50294409f7c470e09aefe4efcf3259af


Rules are not “dynamic” in the sense that for this rule to work then 
the message should arrive in the mailbox already being more than 30 days 
old. This might be optional at some point, but for now you can create a 
smart mailbox based on the INBOX which matches these 30 day old 
messages. Add a single rule to this smart mailbox which only has the 
action of moving to Deleted Messages. This works, because as far as 
MailMate is concerned a messages “arrives” in the smart mailbox when 
it's 30 days old. It is, of course, a bit weird that this mailbox is 
always going to be empty.


Alternatively, you can manually use “Mailbox ▸ Apply Rules” on a 
selection of messages.


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


[MlMt] Rules

2014-06-23 Thread Bram Heerink

Hi there,

I enabled 2.0 features to delete messages from twitter.com that are 
older then 30 days. Am I doing something wrong? Do I have to press a 
magic button to execute the rule?


https://www.evernote.com/shard/s52/sh/ac325577-7099-475e-b3f3-26e10d69a331/50294409f7c470e09aefe4efcf3259af

Regards,

Bram Heerink

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


Re: [MlMt] Rules to archive mail? (How to trigger rule-processing?)

2014-02-23 Thread Benny Kjær Nielsen

On 21 Feb 2014, at 18:34, Ingo Lantschner wrote:

I created a Smart Mailbox with the condition of not within the last 90 
days and Mailboxes Any *Ingo Lantschner* (different from the Archive 
Mailbox!). This Smart Mailbox was filled immediately after creation 
with the expected messages. Then I added a rule to that Smart Mailbox 
with a similar condition and an action of moving to an other mailbox.


Nothing happens. Mailbox —> Apply Rules moved the messages from 
*Ingo Lantschner* to *Archive*. But they are still visible in the 
Smart Mailbox.


Any idea whey they are still visible?


Are you sure the mailbox is not also based on the mailbox you are moving 
messages to?



Is there a way to move the messages lets say once a day,


No, I don't think so.


or if I open MailMate?


Hmm, I hadn't really given this much thought. Messages matching a smart 
mailbox based on a date condition are not going to be triggered if the 
date is reached while MailMate is closed. That might not be easily 
solved without changing rules to be applied (if conditions match) to all 
messages on startup. I'll give it some thought, but I think the solution 
is also a solution to another problem (having to create a separate smart 
mailbox for certain types of conditions/rules).



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


  1   2   >