Re: [MlMt] Re-appearing messages

2017-02-24 Thread Benny Kjær Nielsen

On 24 Feb 2017, at 17:52, David Ledger wrote:

When I delete a message from K-9 Mail on my Android phone, it 
disappears from the phone, buy MM shows it in the INBOX with a red dot 
where the blue unread dot normally is. No idea what this means, but 
could it be a similar situation and cast light on the re-appearing 
problem?


No, this is a different issue. Various email clients have different 
strategies for deleting and/or moving emails. A red dot means that the 
message is marked as `\Deleted` (a reserved IMAP keyword). It'll stay 
like this until K-9 decides to expunge it (IMAP language for permanently 
deleting `\Deleted` messages). Some times this happens as soon as you 
select a different mailbox (with K-9). Some times it's a different 
strategy. And I have feeling that some times some email clients forget 
to do this.


MailMate is careful about only expunging message it deleted itself and 
messages are only very briefly marked as `\Deleted` when this is done.


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


Re: [MlMt] Re-appearing messages

2017-02-24 Thread Benny Kjær Nielsen

On 24 Feb 2017, at 18:47, Jim McCarty wrote:

Hmm, maybe I need to add a condition that makes the rule not apply to 
messages in Trash. I don't see a way to do that in the rule though and 
since this rule is sitting on the main Source mailbox (with the moon 
icon?), I'm reluctant to put any condition there. Any ideas?


Ah, you should not add the rule to that mailbox (maybe I should simply 
disallow this). You should add it to the INBOX of the account (or the 
universal Inbox if it's doing the same for multiple accounts). Let me 
know if moving the rule does not help.


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


[MlMt] IMAP not working

2017-02-24 Thread Aaron Falk
I access IETF mailing lists via IMAP and it stopped working for me 
around the time of the last software update.  I’ve reset and verified 
my password and tried anonymous access as well with no joy.  Access 
instructions are 
[here](https://trac.tools.ietf.org/group/tools/trac/wiki/Imap).  Is 
anyone else seeing similar problems? I’m attaching the debug output 
for both authenticated and anonymous access.  Any hints for debugging?


—aaron

Using authenticated login:


18:01:46 Running action
18:01:46 Sending request (41)
18:01:46 Handling request
18:01:46 Ready to run action (retry count: 0)
18:01:46 Clearing connection to imap.ietf.org
18:01:46 Trying to connect to imap.ietf.org on port 143 (CFNetwork) 
with STARTTLS (required)

18:01:46 Resolved hostname (imap.ietf.org).
18:01:46 Successful connection.
18:01:46 S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ENABLE STARTTLS 
COMPRESS=DEFLATE SASL-IR AUTH=PLAIN] Isode M-Box IMAP4rev1 (16.4v5) 
server ready

18:01:46 C: A0 STARTTLS
18:01:46 S: A0 OK Start TLS negotiation now
18:01:46 Initiating secure connection...
18:01:46 Prepare secure connection...
18:01:46  Returned (4)...
18:01:46 Protocol version: kTLSProtocol12
18:01:46 C: A1 CAPABILITY
18:01:46 S: * CAPABILITY IMAP4rev1 UIDPLUS LITERAL+ UNSELECT NAMESPACE 
SORT BINARY MULTIAPPEND THREAD=ORDEREDSUBJECT THREAD=REFERENCES 
ESEARCH LIST-EXTENDED IDLE URLAUTH CATENATE CONDSTORE QRESYNC ENABLE 
ACL RIGHTS=kxet QUOTA COMPRESS=DEFLATE SASL-IR WITHIN CONTEXT=SEARCH 
SEARCHRES SPECIAL-USE MOVE AUTH=PLAIN

18:01:46 S: A1 OK CAPABILITY Completed
18:01:46 Reusing latest used password
18:01:46 C: A2 AUTHENTICATE PLAIN ••
18:01:47 S: A2 NO AUTHENTICATION has failed
18:01:47 Error: Server response: “A2 NO AUTHENTICATION has 
failed”. Command attempted: “A2 AUTHENTICATE PLAIN 
••”.

18:01:47 Retrieving password (keychain or user request)
18:01:50 C: A3 AUTHENTICATE PLAIN ••
18:01:50 S: A3 NO AUTHENTICATION has failed
18:01:50 Error: Server response: “A3 NO AUTHENTICATION has 
failed”. Command attempted: “A3 AUTHENTICATE PLAIN 
••”.

18:01:50 Retrieving password (keychain or user request)
18:01:51 Error: Failed to retrieve password for account.
18:01:51 Error code: 4
18:01:51 Failed action (1000). Reset observed read/write timeouts: 8/8

18:01:51 Handling reply



Using anonymous access:


18:01:51 Handling reply
18:02:29 Running action
18:02:29 Sending request (42)
18:02:29 Handling request
18:02:29 Trying to disconnect nicely (8)...
18:02:29 C: A4 LOGOUT
18:02:30 S: * BYE LOGOUT received
18:02:30 S: A4 OK LOGOUT Completed
18:02:30 Clearing connection to imap.ietf.org
18:02:30 Ready to run action (retry count: 0)
18:02:30 Clearing connection to imap.ietf.org
18:02:30 Trying to connect to imap.ietf.org on port 143 (CFNetwork) 
with STARTTLS (required)

18:02:30 Resolved hostname (imap.ietf.org).
18:02:30 Successful connection.
18:02:30 S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ENABLE STARTTLS 
COMPRESS=DEFLATE SASL-IR AUTH=PLAIN] Isode M-Box IMAP4rev1 (16.4v5) 
server ready

18:02:30 C: A0 STARTTLS
18:02:30 S: A0 OK Start TLS negotiation now
18:02:30 Initiating secure connection...
18:02:30 Prepare secure connection...
18:02:30  Returned (4)...
18:02:30 Protocol version: kTLSProtocol12
18:02:30 C: A1 CAPABILITY
18:02:30 S: * CAPABILITY IMAP4rev1 UIDPLUS LITERAL+ UNSELECT NAMESPACE 
SORT BINARY MULTIAPPEND THREAD=ORDEREDSUBJECT THREAD=REFERENCES 
ESEARCH LIST-EXTENDED IDLE URLAUTH CATENATE CONDSTORE QRESYNC ENABLE 
ACL RIGHTS=kxet QUOTA COMPRESS=DEFLATE SASL-IR WITHIN CONTEXT=SEARCH 
SEARCHRES SPECIAL-USE MOVE AUTH=PLAIN

18:02:30 S: A1 OK CAPABILITY Completed
18:02:30 Reusing latest used password
18:02:30 C: A2 AUTHENTICATE PLAIN ••
18:02:30 S: A2 NO AUTHENTICATION has failed
18:02:30 Error: Server response: “A2 NO AUTHENTICATION has 
failed”. Command attempted: “A2 AUTHENTICATE PLAIN 
••”.

18:02:30 Retrieving password (keychain or user request)
18:02:30 C: A3 AUTHENTICATE PLAIN ••
18:02:30 S: A3 NO AUTHENTICATION has failed
18:02:30 Error: Server response: “A3 NO AUTHENTICATION has 
failed”. Command attempted: “A3 AUTHENTICATE PLAIN 
••”.

18:02:30 Reusing latest used password
18:02:30 C: A4 AUTHENTICATE PLAIN ••
18:02:30 S: A4 NO AUTHENTICATION has failed
18:02:30 Error: Server response: “A4 NO AUTHENTICATION has 
failed”. Command attempted: “A4 AUTHENTICATE PLAIN 
••”.

18:02:30 Retrieving password (keychain or user request)
18:02:30 C: A5 AUTHENTICATE PLAIN ••
18:02:31 S: A5 NO AUTHENTICATION has failed
18:02:31 Error: Server response: “A5 NO AUTHENTICATION has 
failed”. Command attempted: “A5 AUTHENTICATE PLAIN 
••”.

18:02:31 Reusing latest used password
18:02:31 C: A6 AUTHENTICATE PLAIN ••
18:02:31 S: A6 NO AUTHENTICATION has failed
18:02:31 Error: Additional errors suppressed.
18:02:31 Retrieving password (keychain or user request)
18:02:31 C: A7 AUTHENTICATE PLAIN ••
18:02:31 S: A7 NO AUTHENTICATION has 

Re: [MlMt] Re-appearing messages

2017-02-24 Thread Jim McCarty

On 24 Feb 2017, at 3:44, Benny Kjær Nielsen wrote:


On 24 Feb 2017, at 8:16, Jim McCarty wrote:


On 23 Feb 2017, at 6:36, Benny Kjær Nielsen wrote:

I guess it's likely that it is somehow related to the two running 
installs of MailMate. Do you have rules moving these emails on both 
machines? (This could result in a race-condition.)


There are probably some rules that move messages running on both 
machines, I'll check into that. However, none of the rules move a 
message out of Deleted Message back to the inbox.


Thanks for the ideas... I'll report back after I've had a bit of time 
to evaluate changes to my rules.


Also make sure that all of your mailboxes are online within the 
account. Look for anything greyed out under SOURCES in the mailbox 
list. It's a possibility that moving a message is never completed, 
because the destination mailbox is not online.


I've checked my mailboxes under sources and they all look good to go.

I just disabled the rules here on my work machine and my home machine is 
running MailMate with the rules enabled. Just prior to disabling the 
local rules, I had been deleting messages that kept reappearing (all of 
them in smart mailboxes that show messages from the rules I have setup: 
if condition matches, Move to Archive, Set Tag.


After disabling those rules here, I am still experiencing the 
reappearing messages. After deleting them, I can see them in the 
[GMAIL]/Trash mailbox but then I wait a short while and check again 
after receiving some new messages and they are there again.


Hmm, maybe I need to add a condition that makes the rule not apply to 
messages in Trash. I don't see a way to do that in the rule though and 
since this rule is sitting on the main Source mailbox (with the moon 
icon?), I'm reluctant to put any condition there. Any ideas?


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


Re: [MlMt] Re-appearing messages

2017-02-24 Thread David Ledger

On 24 Feb 2017, at 11:44, Benny Kjær Nielsen wrote:


On 24 Feb 2017, at 8:16, Jim McCarty wrote:


On 23 Feb 2017, at 6:36, Benny Kjær Nielsen wrote:

I guess it's likely that it is somehow related to the two running 
installs of MailMate. Do you have rules moving these emails on both 
machines? (This could result in a race-condition.)


There are probably some rules that move messages running on both 
machines, I'll check into that. However, none of the rules move a 
message out of Deleted Message back to the inbox.


Thanks for the ideas... I'll report back after I've had a bit of time 
to evaluate changes to my rules.


Also make sure that all of your mailboxes are online within the 
account. Look for anything greyed out under SOURCES in the mailbox 
list. It's a possibility that moving a message is never completed, 
because the destination mailbox is not online.


--
Benny


When I delete a message from K-9 Mail on my Android phone, it disappears 
from the phone, buy MM shows it in the INBOX with a red dot where the 
blue unread dot normally is. No idea what this means, but could it be a 
similar situation and cast light on the re-appearing problem?


David

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


Re: [MlMt] bundle for org-mode and how to handle user settings ?

2017-02-24 Thread Max Rydahl Andersen
Yes I considered that but the amount of setup is just too much and on top of 
that I can't get Emacs server to reliably connect. 

We could merge the two :)

/max
http://about.me/maxandersen


> On 24 Feb 2017, at 13:09, Benny Kjær Nielsen  wrote:
> 
> On 24 Feb 2017, at 10:57, Max Rydahl Andersen wrote:
> 
> Last night I made an initial version of a bundle for capture mails to an 
> org-mode inbox.
> 
> You can try it out here: https://github.com/maxandersen/org-mode.mmbundle
> 
> I'm not sure how wide-spread the use of org-mode is, but if the bundle has at 
> least a few users then I'll add it to default set of bundles (if you don't 
> mind) :)
> 
> Question though:
> 
> This bundle appends to my specific location of org files: 
> ~/Dropbox/notes/inbox.org
> I'm wondering if there is a way to handle custom variables like this in 
> mailmate bundles ?
> 
> like a convention or way to ask for input or similar ?
> 
> The “Todoist” bundle has something like this. It uses defaults to write/read 
> a setting and it uses AppleScript to ask for its value (a string token for 
> the Todoist server API). You can also use AppleScript to ask for a filepath 
> (I don't think there is an example of a bundle command doing that).
> 
> -- 
> 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] bundle for org-mode and how to handle user settings ?

2017-02-24 Thread Lars Chr. Duus Hausmann

Hi,

If you use org-capture instead, it’s handled by org.

I’ve added a similar plugin a while back, which I still use, which 
works pretty decently (for org and mailmate).


The github repo is here:
https://github.com/lchausmann/mailmate-to-orgmode


Mvh
Lars Chr.

On 24 Feb 2017, at 10:57, Max Rydahl Andersen wrote:


Hi,

Last night I made an initial version of a bundle for capture mails to 
an org-mode inbox.


You can try it out here: 
https://github.com/maxandersen/org-mode.mmbundle


Question though:

This bundle appends to my specific location of org files: 
`~/Dropbox/notes/inbox.org`
I'm wondering if there is a way to handle custom variables like this 
in mailmate bundles ?


like a convention or way to ask for input or similar ?

Otherwise I'm planning to add a ~/.org-mode/mmate.yml which I would 
read to get the settings -

but seem it could be done more generically.

Maybe mailmate could have a file ~/.mmate/user-settings.plist which 
would be read into environment variables

for the commands to share/use ?

/max
http://about.me/maxandersen
___
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] bundle for org-mode and how to handle user settings ?

2017-02-24 Thread Max Rydahl Andersen

On 24 Feb 2017, at 13:09, Benny Kjær Nielsen wrote:


On 24 Feb 2017, at 10:57, Max Rydahl Andersen wrote:

Last night I made an initial version of a bundle for capture mails to 
an org-mode inbox.


You can try it out here: 
https://github.com/maxandersen/org-mode.mmbundle


I'm not sure how wide-spread the use of `org-mode` is, but if the 
bundle has at least a few users then I'll add it to default set of 
bundles (if you don't mind) :)


sure, no problem. I made it to be used by others :)

Let me add the preference for selecting a location first - i'll let you 
know.



Question though:

This bundle appends to my specific location of org files: 
`~/Dropbox/notes/inbox.org`
I'm wondering if there is a way to handle custom variables like this 
in mailmate bundles ?


like a convention or way to ask for input or similar ?


The [“Todoist” 
bundle](https://github.com/mailmate/todoist.mmbundle/tree/master/Support/bin) 
has something like this. It uses `defaults` to write/read a setting 
and it uses AppleScript to ask for its value (a string token for the 
Todoist server API). You can also use AppleScript to ask for a 
filepath (I don't think there is an example of a bundle command doing 
that).


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



/max
http://about.me/maxandersen
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] bundle for org-mode and how to handle user settings ?

2017-02-24 Thread Benny Kjær Nielsen

On 24 Feb 2017, at 10:57, Max Rydahl Andersen wrote:

Last night I made an initial version of a bundle for capture mails to 
an org-mode inbox.


You can try it out here: 
https://github.com/maxandersen/org-mode.mmbundle


I'm not sure how wide-spread the use of `org-mode` is, but if the bundle 
has at least a few users then I'll add it to default set of bundles (if 
you don't mind) :)



Question though:

This bundle appends to my specific location of org files: 
`~/Dropbox/notes/inbox.org`
I'm wondering if there is a way to handle custom variables like this 
in mailmate bundles ?


like a convention or way to ask for input or similar ?


The [“Todoist” 
bundle](https://github.com/mailmate/todoist.mmbundle/tree/master/Support/bin) 
has something like this. It uses `defaults` to write/read a setting and 
it uses AppleScript to ask for its value (a string token for the Todoist 
server API). You can also use AppleScript to ask for a filepath (I don't 
think there is an example of a bundle command doing that).


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


Re: [MlMt] Domain whitelist for remote content, revisited

2017-02-24 Thread Benny Kjær Nielsen

On 24 Feb 2017, at 9:01, Sam Hathaway wrote:


On 23 Feb 2017, at 11:50 PM PST, Jan Erik Moström wrote:


On 24 Feb 2017, at 8:50, Sam Hathaway wrote:

Yes, I was clicking "forever" as well, but didn't have the patience 
to get past that initial period where there were many new domains to 
classify.


OK (when I was using Mail this was how I handled this)


I guess I was spoiled by Thunderbird! :)


In any case, I agree that it would be very useful to more easily be able 
to review what has been blocked (and then it would be natural to also 
allow unblocking specific domains). I'll certainly keep it in mind.


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


Re: [MlMt] Re-appearing messages

2017-02-24 Thread Benny Kjær Nielsen

On 24 Feb 2017, at 8:16, Jim McCarty wrote:


On 23 Feb 2017, at 6:36, Benny Kjær Nielsen wrote:

I guess it's likely that it is somehow related to the two running 
installs of MailMate. Do you have rules moving these emails on both 
machines? (This could result in a race-condition.)


There are probably some rules that move messages running on both 
machines, I'll check into that. However, none of the rules move a 
message out of Deleted Message back to the inbox.


Thanks for the ideas... I'll report back after I've had a bit of time 
to evaluate changes to my rules.


Also make sure that all of your mailboxes are online within the account. 
Look for anything greyed out under SOURCES in the mailbox list. It's a 
possibility that moving a message is never completed, because the 
destination mailbox is not online.


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


[MlMt] bundle for org-mode and how to handle user settings ?

2017-02-24 Thread Max Rydahl Andersen

Hi,

Last night I made an initial version of a bundle for capture mails to an 
org-mode inbox.


You can try it out here: 
https://github.com/maxandersen/org-mode.mmbundle


Question though:

This bundle appends to my specific location of org files: 
`~/Dropbox/notes/inbox.org`
I'm wondering if there is a way to handle custom variables like this in 
mailmate bundles ?


like a convention or way to ask for input or similar ?

Otherwise I'm planning to add a ~/.org-mode/mmate.yml which I would read 
to get the settings -

but seem it could be done more generically.

Maybe mailmate could have a file ~/.mmate/user-settings.plist which 
would be read into environment variables

for the commands to share/use ?

/max
http://about.me/maxandersen
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] What is happening

2017-02-24 Thread Billy Youdelman

On 24 Feb 2017, at 0:50 MST, Robert M. Münch wrote:

Hi, I think that's Appel's sandboxing where apps are run from random 
paths. LS should handle this, I'm using it too and don't see this 
effect for any apps. But I'm not using MM 2 beta.


https://developer.apple.com/library/prerelease/content/technotes/tn2206/_index.html

Scroll down to...



Shipping your Signed Code

The preferred way to ship a signed app is via the Mac App Store. The Mac 
App Store provides a secure channel for app delivery and installation 
that requires minimal action on the part of the user.


For distribution outside of the Mac App Store, the preferred options are 
to use a signed disk image (DMG) or signed installer package. Signing 
these allows validation of the contents and their source. ZIP archives 
may also be used, but this is discouraged.


If using a disk image to ship an app, users should drag the app from the 
image to its desired installation location (usually /Applications) 
before launching it. This also applies to apps installed via ZIP or 
other archive formats or apps downloaded to the Downloads directory: ask 
the user to drag the app to /Applications and launch it from there.


This practice avoids an attack where a validly signed app launched from 
a disk image, ZIP archive, or ISO (CD/DVD) image can load malicious code 
or content from untrusted locations on the same image or archive. 
Starting with macOS Sierra, running a newly-downloaded app from a disk 
image, archive, or the Downloads directory will cause Gatekeeper to 
isolate that app at a unspecified read-only location in the filesystem. 
This will prevent the app from accessing code or content using relative 
paths.




I must add I personally prefer the simplicity of zip archives, and hope 
this does not lead to their demise.


Dragging the expanded application program to the /Applications directory 
also kills the translocation sandboxing...  NB this means you must 
uncompress it anywhere but in the dir from which you intend to run it.  
My impression is when MailMate updates itself this is done in 
Library/Caches/... and thus should not be a problem.


ビリー ヨーデルマん
+1 310 839 7673
http://MIX.ORG/
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Domain whitelist for remote content, revisited

2017-02-24 Thread Sam Hathaway

On 23 Feb 2017, at 11:50 PM PST, Jan Erik Moström wrote:


On 24 Feb 2017, at 8:50, Sam Hathaway wrote:

Yes, I was clicking "forever" as well, but didn't have the patience 
to get past that initial period where there were many new domains to 
classify.


OK (when I was using Mail this was how I handled this)


I guess I was spoiled by Thunderbird! :)
-sam
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate