Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmtd/detachment
A script for detaching mail attachments and replacing them with a pointer to their permanent location
https://github.com/jmtd/detachment
Last synced: 23 days ago
JSON representation
A script for detaching mail attachments and replacing them with a pointer to their permanent location
- Host: GitHub
- URL: https://github.com/jmtd/detachment
- Owner: jmtd
- License: gpl-2.0
- Created: 2011-12-21T17:26:26.000Z (almost 13 years ago)
- Default Branch: main
- Last Pushed: 2021-01-26T12:01:47.000Z (almost 4 years ago)
- Last Synced: 2023-04-15T22:07:01.637Z (over 1 year ago)
- Language: Python
- Homepage: https://jmtd.net/log/mail_archiving/2/
- Size: 7.81 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
detachment
Removes attachments from RFC822-format mail files, replacing them with a
description of where to find them.Very early stages, lots of missing pieces.
Usage:
customize file (as below)
./detachmentModifies files in-place.
Customisations:
detachment saves copies of attachments to a local folder. That local
folder is defined by the variable 'bucket' towards the top of the
file.The assumption is that you will make that available at a URL somewhere. That
URL is defined near the top of the file as a function parameterized over the
SHA1 sum (expressed in hex) of the file.