Re: [MlMt] remove attachment

2017-02-08 Thread Benny Kjær Nielsen

On 6 Feb 2017, at 14:44, Robert Brenstein wrote:

When I invoke the option “remove attachment” through the 
contextual menu in an incoming message, does it get actually deleted 
from the Application Support folder? If I understand it correctly, MM 
fetches all attachments to the work folder there. If I save an 
attachment, a copy is put in the official attachments folder, but the 
original stays in the work folder. I am regularly getting large 
attachment which are not really meant for me and I’d like to trash 
them, so they do not waste my disk space.


Hmm, I think it might not get deleted from `~/Library/Application 
Support/MailMate/Attachments/` which is an internal cache for MailMate, 
but this is a bug (I'll look into this). In general, “Remove 
Attachment” deletes the attachment both from its local copy of the 
email and in the email on the server (this is done by uploading a copy 
of the email without the attachment and then deleting the old email).


Sorry to anyone on the list or in the ticket system waiting for replies. 
I've been falling behind the past few weeks (again).


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


[MlMt] remove attachment

2017-02-06 Thread Robert Brenstein
When I invoke the option “remove attachment” through the contextual 
menu in an incoming message, does it get actually deleted from the 
Application Support folder? If I understand it correctly, MM fetches all 
attachments to the work folder there. If I save an attachment, a copy is 
put in the official attachments folder, but the original stays in the 
work folder. I am regularly getting large attachment which are not 
really meant for me and I’d like to trash them, so they do not waste 
my disk space.


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


Re: [MlMt] remove attachment

2016-12-17 Thread Benny Kjær Nielsen

On 16 Dec 2016, at 16:31, Benny Kjær Nielsen wrote:


On 16 Dec 2016, at 16:29, Alain Israel wrote:

I guess Gmail does not consider it a duplicate as the attachment is 
missing


Yes, it indicates that MailMate somehow fails to delete the original 
which is why I think the problem is likely to be MailMate -- and maybe 
not limited to Gmail.


I looked into this and I cannot find the problem. MailMate uploads the 
new version of the message and then deletes the old one. Gmail appears 
to accept this and does not appear to think of it as a duplicate. I 
thought that setting the Gmail IMAP settings as follows would solve it, 
but this appears to have no effect:


![](cid:3B8FF711-62FC-414D-A43B-E20260087C5D@freron.com "Screen Shot 
2016-12-17 at 11.34.06.png")


For some reason, the old message (with the attachment) is stored in 
“[Gmail]/All Mail”. The reason it appears in Gmail to still be in 
the original mailbox is because Gmail is “smart” when it finds 
messages with belong to the same conversation even if those messages are 
not in the same mailbox. This is also why it does not appear to exist in 
MailMate. If you subscribe to the “[Gmail]/All Mail” folder then 
it'll actually turn up here (eventually).


I'm not really sure what, if anything, I can do about this, but you can 
certainly add it to my long list of gripes with Gmail.


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


Re: [MlMt] remove attachment

2016-12-16 Thread Alain Israel


(I should also note, for clarity in the discussion, that IMAP does not 
support removing an attachment from an existing email. The only way to 
do it is to create a new email without the attachment and then delete 
the old email.)


Important to know
A
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] remove attachment

2016-12-16 Thread Benny Kjær Nielsen

On 16 Dec 2016, at 16:29, Alain Israel wrote:

I guess Gmail does not consider it a duplicate as the attachment is 
missing


Yes, it indicates that MailMate somehow fails to delete the original 
which is why I think the problem is likely to be MailMate -- and maybe 
not limited to Gmail.


(I should also note, for clarity in the discussion, that IMAP does not 
support removing an attachment from an existing email. The only way to 
do it is to create a new email without the attachment and then delete 
the old email.)


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


Re: [MlMt] remove attachment

2016-12-16 Thread Alain Israel
I guess Gmail does not consider it a duplicate as the attachment is 
missing


Alain

On 16 Dec 2016, at 16:27, Benny Kjær Nielsen wrote:


On 16 Dec 2016, at 16:23, Verdon Vaillancourt wrote:


verified… that does seem to be happening.

Steps to take;
- sent test msg to gmail account with simple attachment
- it arrives and is seen in Mailmate, verified in gmail’s web 
client, in the Inbox

- within Mailmate, used new ‘remove attachment’ feature
- attachment is successfully removed and there is one copy of the 
message in Mailmate
- returning to gmail in a browser and there is now two copies of the 
message, one with attachment and one without, both seemingly in the 
Inbox


It's kind of ironic that the result is a duplicate given that Gmail 
does not like duplicates, but this may be a sign that this is a 
general problem with “Remove Attachment” in MailMate and not a 
Gmail issue only. I'll note to try to reproduce the issue.


--
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] remove attachment

2016-12-16 Thread Benny Kjær Nielsen

On 16 Dec 2016, at 16:23, Verdon Vaillancourt wrote:


verified… that does seem to be happening.

Steps to take;
- sent test msg to gmail account with simple attachment
- it arrives and is seen in Mailmate, verified in gmail’s web 
client, in the Inbox

- within Mailmate, used new ‘remove attachment’ feature
- attachment is successfully removed and there is one copy of the 
message in Mailmate
- returning to gmail in a browser and there is now two copies of the 
message, one with attachment and one without, both seemingly in the 
Inbox


It's kind of ironic that the result is a duplicate given that Gmail does 
not like duplicates, but this may be a sign that this is a general 
problem with “Remove Attachment” in MailMate and not a Gmail issue 
only. I'll note to try to reproduce the issue.


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


Re: [MlMt] remove attachment

2016-12-16 Thread Benny Kjær Nielsen

On 16 Dec 2016, at 16:14, Verdon Vaillancourt wrote:

It seems to work in a couple initial tests. I am testing against a 
exim/dovecot server and against a gmail account. I’m not sure yet, 
as I find gmail’s web interface very confusing, but I may actually 
have two copies of the test message in my gmail account (when I visit 
in a browser) one with the attachments, and one with the attachments 
removed. I’ll try to verify or disprove that. It looks correct in 
Mailmate though.


Thanks. I haven't tested Gmail, but (as usual) Gmail is a special case. 
When MailMate updates an email on the server then it first uploads the 
new version and then deletes the old version. This is naturally to be 
safe in case something goes wrong in the middle of the process. But 
Gmail enforces that emails must be unique. Duplicates cannot exist. It's 
not clear what exactly a duplicate is or what happens when uploading a 
duplicate since Google (as far as I know) does not document the exact 
behavior.


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


Re: [MlMt] remove attachment

2016-12-16 Thread Verdon Vaillancourt

verified… that does seem to be happening.

Steps to take;
- sent test msg to gmail account with simple attachment
- it arrives and is seen in Mailmate, verified in gmail’s web client, 
in the Inbox

- within Mailmate, used new ‘remove attachment’ feature
- attachment is successfully removed and there is one copy of the 
message in Mailmate
- returning to gmail in a browser and there is now two copies of the 
message, one with attachment and one without, both seemingly in the 
Inbox


Best regards,
verdon


On 16 Dec 2016, at 10:14, Verdon Vaillancourt wrote:


This is a very useful feature. Thank you.

It seems to work in a couple initial tests. I am testing against a 
exim/dovecot server and against a gmail account. I’m not sure yet, 
as I find gmail’s web interface very confusing, but I may actually 
have two copies of the test message in my gmail account (when I visit 
in a browser) one with the attachments, and one with the attachments 
removed. I’ll try to verify or disprove that. It looks correct in 
Mailmate though.


v


On 16 Dec 2016, at 9:26, Benny Kjær Nielsen wrote:


On 16 Dec 2016, at 15:19, Alain Israel wrote:

Is it possible to remove the attachment of an incoming email? I have 
been through Help and could not find the info.


The current public release of MailMate does not have such a feature, 
but just today I uploaded a test version of MailMate which can do it. 
You should consider it to be very experimental though. There are no 
known bugs, but it has not really been in use by anyone yet and the 
consequences of bugs could potentially be serious (since we are 
dealing with removing content from emails).


You can read more about the test release and how to enable this 
feature in [this 
ticket](https://freron.lighthouseapp.com/projects/58672-mailmate/tickets/260). 
In short, you get a “Remove Attachment” menu item in the context 
sensitive menu and you can also assign a key to a new 
`removeAttachments:` selector. The latter also works when selecting 
multiple messages. Both variants support undo/redo.


--
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] remove attachment

2016-12-16 Thread Verdon Vaillancourt

This is a very useful feature. Thank you.

It seems to work in a couple initial tests. I am testing against a 
exim/dovecot server and against a gmail account. I’m not sure yet, as 
I find gmail’s web interface very confusing, but I may actually have 
two copies of the test message in my gmail account (when I visit in a 
browser) one with the attachments, and one with the attachments removed. 
I’ll try to verify or disprove that. It looks correct in Mailmate 
though.


v


On 16 Dec 2016, at 9:26, Benny Kjær Nielsen wrote:


On 16 Dec 2016, at 15:19, Alain Israel wrote:

Is it possible to remove the attachment of an incoming email? I have 
been through Help and could not find the info.


The current public release of MailMate does not have such a feature, 
but just today I uploaded a test version of MailMate which can do it. 
You should consider it to be very experimental though. There are no 
known bugs, but it has not really been in use by anyone yet and the 
consequences of bugs could potentially be serious (since we are 
dealing with removing content from emails).


You can read more about the test release and how to enable this 
feature in [this 
ticket](https://freron.lighthouseapp.com/projects/58672-mailmate/tickets/260). 
In short, you get a “Remove Attachment” menu item in the context 
sensitive menu and you can also assign a key to a new 
`removeAttachments:` selector. The latter also works when selecting 
multiple messages. Both variants support undo/redo.


--
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] remove attachment

2016-12-16 Thread Alain Israel

Thanks for your quick response. Maybe I’ll wait a bit before using it.

Alain

On 16 Dec 2016, at 15:26, Benny Kjær Nielsen wrote:


On 16 Dec 2016, at 15:19, Alain Israel wrote:

Is it possible to remove the attachment of an incoming email? I have 
been through Help and could not find the info.


The current public release of MailMate does not have such a feature, 
but just today I uploaded a test version of MailMate which can do it. 
You should consider it to be very experimental though. There are no 
known bugs, but it has not really been in use by anyone yet and the 
consequences of bugs could potentially be serious (since we are 
dealing with removing content from emails).


You can read more about the test release and how to enable this 
feature in [this 
ticket](https://freron.lighthouseapp.com/projects/58672-mailmate/tickets/260). 
In short, you get a “Remove Attachment” menu item in the context 
sensitive menu and you can also assign a key to a new 
`removeAttachments:` selector. The latter also works when selecting 
multiple messages. Both variants support undo/redo.


--
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] remove attachment

2016-12-16 Thread Benny Kjær Nielsen

On 16 Dec 2016, at 15:19, Alain Israel wrote:

Is it possible to remove the attachment of an incoming email? I have 
been through Help and could not find the info.


The current public release of MailMate does not have such a feature, but 
just today I uploaded a test version of MailMate which can do it. You 
should consider it to be very experimental though. There are no known 
bugs, but it has not really been in use by anyone yet and the 
consequences of bugs could potentially be serious (since we are dealing 
with removing content from emails).


You can read more about the test release and how to enable this feature 
in [this 
ticket](https://freron.lighthouseapp.com/projects/58672-mailmate/tickets/260). 
In short, you get a “Remove Attachment” menu item in the context 
sensitive menu and you can also assign a key to a new 
`removeAttachments:` selector. The latter also works when selecting 
multiple messages. Both variants support undo/redo.


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


[MlMt] remove attachment

2016-12-16 Thread Alain Israel
Is it possible to remove the attachment of an incoming email? I have 
been through Help and could not find the info.


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