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 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" <krem...@kreme.com
> <mailto:krem...@kreme.com>> kirjoitti:
>
>     On 31 Dec 2017, at 09:43, Bill Cole
>     <postfixlists-070...@billmail.scconsult.com
>     <mailto:postfixlists-070...@billmail.scconsult.com>> 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 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 of
>     Thunderbird as
>     >>> it hasn't been updated in a long time.
>
>     >>> As Bill already noted such operations should be considered
>     wisely. Wrong
>     >>> manipulation of the message can make it unreadable. Backups
>     are mandatory.
>
>     >> I'm happy to be corrected here, but, I'm fairly certain I have
>     done so in
>     >> the past, with no ill effect, and, one can always copy the
>     actual file to
>     >> a new file, anyhow.
>     >>
>     >> it was i think uudecode ? first for uuencoded emails, and,
>     munpack for
>     >> mime encoded, something like 'munpack email_file':
>
>     > Yes, but that does not *remove* the attachments from the
>     existing message file. It extracts decoded copies of the
>     attachments. The original message file is unmodified.
>
>     I think using dovecot and sieve would be possible to do this, but
>     as others have said this seems to be trying to solve the wrong
>     problem.
>
>     If the attachments are not wanted, it seems unlikely the mail
>     itself is wanted, better to reject.
>
>     --
>     Wally: That's my nickname, "Waly" with one el. Dilbert: Who calls you
>     that? Wally: Most people, they just don't realize it.
>

Reply via email to