[Dovecot] thunderbird detach attachment

Andreas Kasenides andreas.kasenides at cs.ucy.ac.cy
Wed Apr 10 13:10:23 EEST 2013


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



More information about the dovecot mailing list