[Dovecot] thunderbird detach attachment

2013-04-10 Thread mourik jan heupink

Hi all,

Thunderbird has an option to detach attachments from (for example) sent 
items. I've tried it, and it does not work, and also in the dovecot logs 
I don't see anything interesting meanwhile.


Before looking deeper into this: Does anyone here know if this option is 
known to work, or not?


We're running dovecot 2.1.7 on debian wheezy.

Removing unwanted attachments is a nice way to keep mail archives smaller...

Thanks,
MJ


Re: [Dovecot] thunderbird detach attachment

2013-04-10 Thread Robert Schetterer
Am 10.04.2013 10:50, schrieb mourik jan heupink:
 Hi all,
 
 Thunderbird has an option to detach attachments from (for example) sent
 items. 

really  ?, i think its an additional plugin

I've tried it, and it does not work, and also in the dovecot logs
 I don't see anything interesting meanwhile.
 
 Before looking deeper into this: Does anyone here know if this option is
 known to work, or not?
 
 We're running dovecot 2.1.7 on debian wheezy.
 
 Removing unwanted attachments is a nice way to keep mail archives

yes good idea

 smaller...
 
 Thanks,
 MJ

My Understanding of that is
as long as you have your mail folder option offline synchronzied , which
is default at Thunderbird , all actions happens first to Thunderbird
local tmp store , then synced to the server

use secure way ,move all mails in imap sent folder to real local folder
on your machine , then cut attachments , move it back to imap sent folder

at last i guess your problem is not server related anyway, but
Thunderbird might crash mail at trying cut direct on imap folder, i ve
seen this some time before


Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich


Re: [Dovecot] thunderbird detach attachment

2013-04-10 Thread Andreas Kasenides

This looks to work on my 17.0.5 Thunderbird on CentOS 6.4
(I guess Dovecot is not involved but running on 2.2.beta1).
It does detach the file, places it in the chosen folder, removes the 
option to detach or delete from the message menu
but (nice indeed) remembers where you put the attachment and can still 
show it if you click on it or save it again if you want to!!


But how do we know its been detached if it still shows in Thunderbird?
Looking into the actual message file I see the following at the end:

--020104000205010901050407
Content-Type: application/vnd.oasis.opendocument.text;
 name==?UTF-8?B?MjAxMzA0MDQtzpPOoy5vZHQ=?=
Content-Disposition: attachment; filename=20130404-??.odt
X-Mozilla-External-Attachment-URL: 
file:///LocalData/tmp/20130404-%CE%93%CE%A3.odt

X-Mozilla-Altered: AttachmentDetached; date=Wed Apr 10 12:51:00 2013

You deleted an attachment from this message. The original MIME headers 
for the attachment were:

Content-Type: application/vnd.oasis.opendocument.text;
 name==?UTF-8?B?MjAxMzA0MDQtzpPOoy5vZHQ=?=
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename*=UTF-8''%32%30%31%33%30%34%30%34%2D%CE%93%CE%A3%2E%6F%64%74


--020104000205010901050407--

Nice!!

Andreas



On 10/04/13 11:50, mourik jan heupink wrote:

Hi all,

Thunderbird has an option to detach attachments from (for example) 
sent items. I've tried it, and it does not work, and also in the 
dovecot logs I don't see anything interesting meanwhile.


Before looking deeper into this: Does anyone here know if this option 
is known to work, or not?


We're running dovecot 2.1.7 on debian wheezy.

Removing unwanted attachments is a nice way to keep mail archives 
smaller...


Thanks,
MJ





--
Andreas Kasenides
Senior IT Officer
Dept. of Computer Science,
University of Cyprus
Tel: 22892714, Fax: 22892701



Re: [Dovecot] thunderbird detach attachment

2013-04-10 Thread Robert Schetterer
Am 10.04.2013 11:52, schrieb Robert Schetterer:
 Am 10.04.2013 10:50, schrieb mourik jan heupink:
 Hi all,

 Thunderbird has an option to detach attachments from (for example) sent
 items. 
 
 really  ?, i think its an additional plugin

sorry ,confused by german translation in tb, in deed there is option detach

 
 I've tried it, and it does not work, and also in the dovecot logs
 I don't see anything interesting meanwhile.

 Before looking deeper into this: Does anyone here know if this option is
 known to work, or not?

 We're running dovecot 2.1.7 on debian wheezy.

 Removing unwanted attachments is a nice way to keep mail archives
 
 yes good idea
 
 smaller...

 Thanks,
 MJ
 
 My Understanding of that is
 as long as you have your mail folder option offline synchronzied , which
 is default at Thunderbird , all actions happens first to Thunderbird
 local tmp store , then synced to the server
 
 use secure way ,move all mails in imap sent folder to real local folder
 on your machine , then cut attachments , move it back to imap sent folder
 
 at last i guess your problem is not server related anyway, but
 Thunderbird might crash mail at trying cut direct on imap folder, i ve
 seen this some time before
 
 
 Best Regards
 MfG Robert Schetterer
 



Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich


Re: [Dovecot] thunderbird detach attachment

2013-04-10 Thread mourik jan heupink

Hi all,

Ow... too shortsighted..! You are right, it DOES work. The attachment is 
still there, but with empty contents.


Thanks and sorry to bother you!

MJ

On 4/10/2013 12:10 PM, Andreas Kasenides wrote:

This looks to work on my 17.0.5 Thunderbird on CentOS 6.4
(I guess Dovecot is not involved but running on 2.2.beta1).
It does detach the file, places it in the chosen folder, removes the
option to detach or delete from the message menu
but (nice indeed) remembers where you put the attachment and can still
show it if you click on it or save it again if you want to!!

But how do we know its been detached if it still shows in Thunderbird?
Looking into the actual message file I see the following at the end:

--020104000205010901050407
Content-Type: application/vnd.oasis.opendocument.text;
  name==?UTF-8?B?MjAxMzA0MDQtzpPOoy5vZHQ=?=
Content-Disposition: attachment; filename=20130404-??.odt
X-Mozilla-External-Attachment-URL:
file:///LocalData/tmp/20130404-%CE%93%CE%A3.odt
X-Mozilla-Altered: AttachmentDetached; date=Wed Apr 10 12:51:00 2013

You deleted an attachment from this message. The original MIME headers
for the attachment were:
Content-Type: application/vnd.oasis.opendocument.text;
  name==?UTF-8?B?MjAxMzA0MDQtzpPOoy5vZHQ=?=
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
  filename*=UTF-8''%32%30%31%33%30%34%30%34%2D%CE%93%CE%A3%2E%6F%64%74


--020104000205010901050407--

Nice!!

Andreas



On 10/04/13 11:50, mourik jan heupink wrote:

Hi all,

Thunderbird has an option to detach attachments from (for example)
sent items. I've tried it, and it does not work, and also in the
dovecot logs I don't see anything interesting meanwhile.

Before looking deeper into this: Does anyone here know if this option
is known to work, or not?

We're running dovecot 2.1.7 on debian wheezy.

Removing unwanted attachments is a nice way to keep mail archives
smaller...

Thanks,
MJ