Re: stupid question about removing maildir attachments

2017-12-31 Thread Bill Cole
On 31 Dec 2017, at 9:19 (-0500), Alex JOST wrote: Am 29.12.2017 um 21:15 schrieb Eero Volotinen: Hi list, A bit offtopic, but I need cli-tool to remove attachments from specific maildir messages, so how to do that? The Thunderbird add-on 'AttachmentExtractor' should be able to do that,

Re: stupid question about removing maildir attachments

2017-12-31 Thread Marat Khalili
> Yes, I will ask them to use google drive in future, but I really need to > transfer old attachments also. :) Your choice. When I faced same problem I just warned a handful affected users that some messages in their mailbox were oversized and thus not migrated, but they can receive them

Re: stupid question about removing maildir attachments

2017-12-31 Thread Eero Volotinen
Yes, I will ask them to use google drive in future, but I really need to transfer old attachments also. :) Eero 31.12.2017 20.52 "Maarten" kirjoitti: > Well attachments shouldn't be bigger than 50M anyways, 25M is already big. > If you want to send files bigger than

Re: stupid question about removing maildir attachments

2017-12-31 Thread Maarten
Well attachments shouldn't be bigger than 50M anyways, 25M is already big. If you want to send files bigger than 50M you should look another way to have users share files, like a file transer service. On 12/31/2017 07:41 PM, Eero Volotinen wrote: > Well, case is that I want to migrate from

Re: stupid question about removing maildir attachments

2017-12-31 Thread Eero Volotinen
Well, case is that I want to migrate from postfix to google g-suite and they don't accept mails bigger than 50M. So, I need to strip and save old attachments and upload them to google drive. (stupid limit, but it exists without change to modify it) Eero Eero 31.12.2017 20.21 "@lbutlr"

Re: stupid question about removing maildir attachments

2017-12-31 Thread @lbutlr
On 31 Dec 2017, at 09:43, Bill Cole wrote: > On 31 Dec 2017, at 10:24 (-0500), Voytek wrote: >> On Mon, January 1, 2018 1:19 am, Alex JOST wrote: >>> Am 29.12.2017 um 21:15 schrieb Eero Volotinen: A bit offtopic, but I need cli-tool to remove

Re: stupid question about removing maildir attachments

2017-12-31 Thread Eero Volotinen
Well. I took this source (https://github.com/gitpan/ Mail-Box/blob/master/examples/strip-attachments.pl) and modified it to work with maildirs. It even keeps original untouched, so backups are also available :) Eero 2017-12-31 18:43 GMT+02:00 Bill Cole <

Re: stupid question about removing maildir attachments

2017-12-31 Thread Bill Cole
On 31 Dec 2017, at 10:24 (-0500), Voytek wrote: On Mon, January 1, 2018 1:19 am, Alex JOST wrote: Am 29.12.2017 um 21:15 schrieb Eero Volotinen: A bit offtopic, but I need cli-tool to remove attachments from specific maildir messages, so how to do that? The Thunderbird add-on

Re: stupid question about removing maildir attachments

2017-12-31 Thread Marat Khalili
Python has MIME parsing and authoring tools in standard library, but performance can be a bit slow (several gigabytes per hour in my experience). -- With Best Regards, Marat Khalili

Re: stupid question about removing maildir attachments

2017-12-31 Thread Voytek
On Mon, January 1, 2018 1:19 am, Alex JOST wrote: > Am 29.12.2017 um 21:15 schrieb Eero Volotinen: >> A bit offtopic, but I need cli-tool to remove attachments from specific >> maildir messages, so how to do that? > > The Thunderbird add-on 'AttachmentExtractor' should be able to do that, > but

Re: stupid question about removing maildir attachments

2017-12-31 Thread Alex JOST
Am 29.12.2017 um 21:15 schrieb Eero Volotinen: Hi list, A bit offtopic, but I need cli-tool to remove attachments from specific maildir messages, so how to do that? The Thunderbird add-on 'AttachmentExtractor' should be able to do that, but I don't know if it still works with recent versions

Re: stupid question about removing maildir attachments

2017-12-30 Thread Bill Cole
On 29 Dec 2017, at 15:15 (-0500), Eero Volotinen wrote: Hi list, A bit offtopic, but I need cli-tool to remove attachments from specific maildir messages, so how to do that? You're on the wrong list. I don't know what the right one for this query would be, but it's going to depend on what

stupid question about removing maildir attachments

2017-12-29 Thread Eero Volotinen
Hi list, A bit offtopic, but I need cli-tool to remove attachments from specific maildir messages, so how to do that? Eero