Re: [MlMt] Delete/change email address for auto-complete list? Or a warn list?

2018-06-05 Thread Randall Gellens


On 5 Jun 2018, at 4:23, David Shepherdson wrote:


On 5 Jun 2018, at 09.39, Randall Gellens wrote:

I've tried to get the syntax right, but it doesn't work for me.  As a 
test, I created a rule in the global Drafts mailbox that checks if 
any address contains either of the first two addresses I know are no 
longer good, and if so, plays a sound (since the mailbox rule 
facility doesn't have an action to display a message).  That works.  
I tried to find the file that has this rule in it so I can copy the 
syntax, but I can't find it.  I've used grep and other search tools 
to find all files under ~/Library/Application Support/MailMate that 
ends in .plist and has the first known bad address in it, but the 
only file that shows up is the messageVerifications.plist I'm trying 
to get right.


I would expect it to be in the Mailboxes.plist (that’s where the 
definitions of smart folders appear for me). From a quick glance at 
mine, the field to look at for the condition syntax is labelled 
'filter' in there -- this corresponds to the 'Conditions' tab in the 
smart mailbox editor.




Here's the syntax I'm using:

{
verifications = (
{
title  = "Sending to Bad Address";
details= "Looks like this message has a known-bad 
address as one of the recipients. Are you sure you want to send it?";

conditions = {
compound  = "Any";
condition = "#recipient.address = 'address1@example1'";
condition = "#recipient.address = 'address2@example2'";
 }
}
);
}


Comparing that with my messageVerifications.plist file (which is 
working for me!) and the example in the MailMate manual, I think what 
you have for ‘conditions’ might be too complex… I think it is 
just supposed to be a single string, rather than a nested structure, 
so to represent the two conditions in your case I think you’d have 
to put something like:


conditions = "(#recipient.address = 'address1@example1' or 
#recipient.address = 'address2@example2')";


Thank you.  I found the filter rule I had created for the global Drafts 
smart mailbox in the Mailboxes.plist file (no idea why it didn't show up 
when grepping or using search utilities) and simply copied the string, 
replacing "filter" with "conditions" as you said, and now it works.  
Thanks again, I appreciate it.


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


Re: [MlMt] Delete/change email address for auto-complete list? Or a warn list?

2018-06-05 Thread David Shepherdson

On 5 Jun 2018, at 09.39, Randall Gellens wrote:

I've tried to get the syntax right, but it doesn't work for me.  As a 
test, I created a rule in the global Drafts mailbox that checks if any 
address contains either of the first two addresses I know are no 
longer good, and if so, plays a sound (since the mailbox rule facility 
doesn't have an action to display a message).  That works.  I tried to 
find the file that has this rule in it so I can copy the syntax, but I 
can't find it.  I've used grep and other search tools to find all 
files under ~/Library/Application Support/MailMate that ends in .plist 
and has the first known bad address in it, but the only file that 
shows up is the messageVerifications.plist I'm trying to get right.


I would expect it to be in the Mailboxes.plist (that’s where the 
definitions of smart folders appear for me). From a quick glance at 
mine, the field to look at for the condition syntax is labelled 'filter' 
in there -- this corresponds to the 'Conditions' tab in the smart 
mailbox editor.




Here's the syntax I'm using:

{
verifications = (
{
title  = "Sending to Bad Address";
details= "Looks like this message has a known-bad 
address as one of the recipients. Are you sure you want to send it?";

conditions = {
compound  = "Any";
condition = "#recipient.address = 'address1@example1'";
condition = "#recipient.address = 'address2@example2'";
 }
}
);
}


Comparing that with my messageVerifications.plist file (which is working 
for me!) and the example in the MailMate manual, I think what you have 
for ‘conditions’ might be too complex… I think it is just supposed 
to be a single string, rather than a nested structure, so to represent 
the two conditions in your case I think you’d have to put something 
like:


conditions = "(#recipient.address = 'address1@example1' or 
#recipient.address = 'address2@example2')";


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


Re: [MlMt] Delete/change email address for auto-complete list? Or a warn list?

2018-06-04 Thread Randall Gellens

On 1 Jun 2018, at 19:29, David Shepherdson wrote:


On 31 May 2018, at 12.04, Randall Gellens wrote:

(2) Is there a way to create a warn list of emails that don't work, 
and if MM ever finds one of these addresses in a composition address 
list, it should warn me?


Could you use the ‘message verifications’ feature for this?



This is pretty flexible (as you might expect for MailMate), so I’m 
pretty sure you could set it up to warn you when you try to send a 
message where one of these addresses is a recipient.


I think the suggestion in the past has been to set up a rule or smart 
folder that matches the condition you want, then copy from that (so 
you don’t have to work out the exact syntax to put in the plist file 
yourself).


From a quick look, I’d say something along these lines would 
probably work for your case:


{
verifications = (
{
title = "Sending to Bad Address";
details = "Looks like this message has a known-bad 
address as one of the recipients. Are you sure you want to send it?";

conditions = "#recipient.address = 'b...@example.com'";
}
);
}

David


This looks to be exactly what I need, thank you!

I've tried to get the syntax right, but it doesn't work for me.  As a 
test, I created a rule in the global Drafts mailbox that checks if any 
address contains either of the first two addresses I know are no longer 
good, and if so, plays a sound (since the mailbox rule facility doesn't 
have an action to display a message).  That works.  I tried to find the 
file that has this rule in it so I can copy the syntax, but I can't find 
it.  I've used grep and other search tools to find all files under 
~/Library/Application Support/MailMate that ends in .plist and has the 
first known bad address in it, but the only file that shows up is the 
messageVerifications.plist I'm trying to get right.


Here's the syntax I'm using:

{
verifications = (
{
title  = "Sending to Bad Address";
details= "Looks like this message has a known-bad 
address as one of the recipients. Are you sure you want to send it?";

conditions = {
compound  = "Any";
condition = "#recipient.address = 'address1@example1'";
condition = "#recipient.address = 'address2@example2'";
 }
}
);
}___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Delete/change email address for auto-complete list? Or a warn list?

2018-06-02 Thread Benny Kjær Nielsen

On 1 Jun 2018, at 23:37, Randall Gellens wrote:

Oops, wrote too soon.  It seems a blacklisted address still appears in 
the address completion pop-up.


This might be because of a bug in the code for handling blacklist of a 
specific combination of a name and address. Retry with the latest test 
release and let me know if it still fails to work: Hold down ⌥ when 
clicking “Check Now” in the Software Update preferences pane.


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


Re: [MlMt] Delete/change email address for auto-complete list? Or a warn list?

2018-06-02 Thread Benny Kjær Nielsen

On 1 Jun 2018, at 21:36, Galen Menzel wrote:


On 30 May 2018, at 19:04, Randall Gellens wrote:

(1) Is there a way to delete or modify the emails that get 
auto-populated?


You can do the following:

1. Create a new message.


If displaying an email with the “bad” address then the option to 
blacklist is also in the context sensitive menu of any email address in 
the headers view.


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


Re: [MlMt] Delete/change email address for auto-complete list? Or a warn list?

2018-06-01 Thread Randall Gellens



On 1 Jun 2018, at 14:35, Randall Gellens wrote:


On 1 Jun 2018, at 12:36, Galen Menzel wrote:


On 30 May 2018, at 19:04, Randall Gellens wrote:

Someone I've exchanged a lot of email with was laid off from his 
company, so his long-time email will stop working immediately.  I'm 
concerned that I might accidentally send email at that address, 
either because it'll be in the auto-complete list, or because I'll 
do a reply-all to one of his emails, or to an email from a mutual 
associate who did one of these things.


(1) Is there a way to delete or modify the emails that get 
auto-populated?


You can do the following:

1. Create a new message.

2. Put the address you do **not** want to send any messages to into 
the `To:` field of the email.


3. Click on the down arrow at the right of the email address.

4. Select `Add "em...@address.com" to Blacklist`

Mailmate will no longer auto-populate that address.

Best,

Galen



Thank you, that's helpful.  Of course, if a blacklisted address 
appears as the recipient or sender of a message being replied to, MM 
still includes the address in the new message.  Given that people do 
sometimes leave jobs or drop old email addresses, I think it would be 
helpful for MM to have a warning if a message being composed includes 
a blacklisted address.


Oops, wrote too soon.  It seems a blacklisted address still appears in 
the address completion pop-up.

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


Re: [MlMt] Delete/change email address for auto-complete list? Or a warn list?

2018-06-01 Thread Randall Gellens


On 1 Jun 2018, at 12:36, Galen Menzel wrote:


On 30 May 2018, at 19:04, Randall Gellens wrote:

Someone I've exchanged a lot of email with was laid off from his 
company, so his long-time email will stop working immediately.  I'm 
concerned that I might accidentally send email at that address, 
either because it'll be in the auto-complete list, or because I'll do 
a reply-all to one of his emails, or to an email from a mutual 
associate who did one of these things.


(1) Is there a way to delete or modify the emails that get 
auto-populated?


You can do the following:

1. Create a new message.

2. Put the address you do **not** want to send any messages to into 
the `To:` field of the email.


3. Click on the down arrow at the right of the email address.

4. Select `Add "em...@address.com" to Blacklist`

Mailmate will no longer auto-populate that address.

Best,

Galen



Thank you, that's helpful.  Of course, if a blacklisted address appears 
as the recipient or sender of a message being replied to, MM still 
includes the address in the new message.  Given that people do sometimes 
leave jobs or drop old email addresses, I think it would be helpful for 
MM to have a warning if a message being composed includes a blacklisted 
address.


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


Re: [MlMt] Delete/change email address for auto-complete list? Or a warn list?

2018-06-01 Thread Galen Menzel



On 30 May 2018, at 19:04, Randall Gellens wrote:

Someone I've exchanged a lot of email with was laid off from his 
company, so his long-time email will stop working immediately.  I'm 
concerned that I might accidentally send email at that address, either 
because it'll be in the auto-complete list, or because I'll do a 
reply-all to one of his emails, or to an email from a mutual associate 
who did one of these things.


(1) Is there a way to delete or modify the emails that get 
auto-populated?


You can do the following:

1. Create a new message.

2. Put the address you do **not** want to send any messages to into the 
`To:` field of the email.


3. Click on the down arrow at the right of the email address.

4. Select `Add "em...@address.com" to Blacklist`

Mailmate will no longer auto-populate that address.

Best,

Galen


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


Re: [MlMt] Delete/change email address for auto-complete list? Or a warn list?

2018-05-31 Thread Robert Goldman

On 31 May 2018, at 11:09, Randall Gellens wrote:


--Randall

On 31 May 2018, at 2:57, Jan Erik Moström wrote:


On 31 May 2018, at 4:04, Randall Gellens wrote:

(1) Is there a way to delete or modify the emails that get 
auto-populated?


Tell MailMate to use your address book for looking up email addresses 
(the composer preference pane -> Auto Completion Sources).


To be effective in the case at hand (where a long-time address becomes 
invalid), I would guess that one must also turn off [Recipient 
Headers] in [Sent Messages], which means doing away with a very useful 
data source.  I suppose it would be effective, but at a high cost in 
convenience.

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


I thought addresses could be blacklisted?

Robert P. Goldman
Research Fellow
Smart Information Flow Technologies (d/b/a SIFT, LLC)

319 N. First Ave., Suite 400
Minneapolis, MN 55401

Voice:  (612) 326-3934
Email:rpgold...@sift.net
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Delete/change email address for auto-complete list? Or a warn list?

2018-05-31 Thread Randall Gellens


--Randall

On 31 May 2018, at 2:57, Jan Erik Moström wrote:


On 31 May 2018, at 4:04, Randall Gellens wrote:

(1) Is there a way to delete or modify the emails that get 
auto-populated?


Tell MailMate to use your address book for looking up email addresses 
(the composer preference pane -> Auto Completion Sources).


To be effective in the case at hand (where a long-time address becomes 
invalid), I would guess that one must also turn off [Recipient Headers] 
in [Sent Messages], which means doing away with a very useful data 
source.  I suppose it would be effective, but at a high cost in 
convenience.

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


Re: [MlMt] Delete/change email address for auto-complete list? Or a warn list?

2018-05-31 Thread Jan Erik Moström

On 31 May 2018, at 4:04, Randall Gellens wrote:

(1) Is there a way to delete or modify the emails that get 
auto-populated?


Tell MailMate to use your address book for looking up email addresses 
(the composer preference pane -> Auto Completion Sources).


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


[MlMt] Delete/change email address for auto-complete list? Or a warn list?

2018-05-30 Thread Randall Gellens
Someone I've exchanged a lot of email with was laid off from his 
company, so his long-time email will stop working immediately.  I'm 
concerned that I might accidentally send email at that address, either 
because it'll be in the auto-complete list, or because I'll do a 
reply-all to one of his emails, or to an email from a mutual associate 
who did one of these things.


(1) Is there a way to delete or modify the emails that get 
auto-populated?


(2) Is there a way to create a warn list of emails that don't work, and 
if MM ever finds one of these addresses in a composition address list, 
it should warn me?


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