{"id":19634107,"url":"https://github.com/raforg/textmail","last_synced_at":"2025-04-28T07:31:11.645Z","repository":{"id":149946607,"uuid":"311323620","full_name":"raforg/textmail","owner":"raforg","description":"mail filter to replace MS Word/HTML attachments with plain text","archived":false,"fork":false,"pushed_at":"2023-05-08T12:25:01.000Z","size":134,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T07:33:11.602Z","etag":null,"topics":["cli","imapfilter","mail","mail-filter","mail-filters","mbox","mbox-format","perl","procmail"],"latest_commit_sha":null,"homepage":"http://raf.org/textmail","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raforg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-09T11:56:48.000Z","updated_at":"2024-03-09T11:18:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba8e0001-081f-474e-a1dc-d777ae4526fe","html_url":"https://github.com/raforg/textmail","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raforg%2Ftextmail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raforg%2Ftextmail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raforg%2Ftextmail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raforg%2Ftextmail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raforg","download_url":"https://codeload.github.com/raforg/textmail/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251271118,"owners_count":21562494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","imapfilter","mail","mail-filter","mail-filters","mbox","mbox-format","perl","procmail"],"created_at":"2024-11-11T12:19:35.226Z","updated_at":"2025-04-28T07:31:11.640Z","avatar_url":"https://github.com/raforg.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\n*textmail* - Mail filter to replace MS Word/HTML attachments with plain text\n\n# Description\n\n*textmail* filters a mail message or mbox file, replacing MS Word, MS Excel,\nHTML, RTF and PDF attachments with the plain text contained therein. By\ndefault, the following attachments are also deleted: image, audio, video,\nand MS Windows executables. MS `winmail.dat` attachments are replaced by any\nattachments contained therein which are then replaced by text or deleted in\nthe same fashion. Any of these actions can be suppressed with command line\noptions. Mail headers can also be selectively deleted.\n\nThis is useful for increasing the accessibility of mail messages (by\nreducing their dependence on proprietary file formats), for dramatically\nreducing their size (and the time it takes to download them and the time it\ntakes to read them), and for dramatically reducing the risk of mail-borne\nviruses). Its intended use is to reduce the size of a personal email archive\nbut it could also be useful as a pre-processor for mailing lists. This is\nmore friendly than a strict \"No Attachments\" or \"No HTML\" mailing list\npolicy.\n\n*textmail* is freely available under the terms of the [GNU General Public\nLicense](https://www.gnu.org/licenses/), either version 2 of the License, or\n(at your option) any later version.\n\n# Features\n\n  * **Translation to plain text**\n\n    The following documents are translated into plain text: MS Word,\n    MS Excel, RTF, HTML and PDF.\n\n  * **Deletion of large attachments**\n\n    Image, audio and video attachments are deleted by default.\n\n  * **Elimination of mail-borne viruses**\n\n    MS Windows executable attachments are deleted by default.\n\n  * **Translation of `winmail.dat` attachments**\n\n    MS TNEF (i.e. `winmail.dat`) attachments are unpacked\n    by default and replaced by any attachments contained therein which\n    are then replaced by text or deleted as required.\n\n  * **Deletion of binary attachments**\n\n    Additionally, all `application/octet-stream` or all\n    `application/*` attachments can be deleted.\n\n  * **Deletion of unwanted mail headers**\n\n    Headers can be deleted selectively by providing prefixes (e.g. `X-`).\n\n  * **Robust**\n\n    If it is impossible to translate an attachment, you have the\n    choice of leaving the original attachment intact, or of\n    discarding it in favour of the empty text translation.\n\n# Requirements\n\n*textmail* is written in Perl and executes several external\nprograms. It should run on any system with the following software:\n\n  - perl (v5.14 or later)\n  - docx2txt\n  - antiword\n  - catdoc\n  - xlsx2csv\n  - xls2csv\n  - pdftotext\n  - lynx\n  - mktemp\n\n*textmail* does not require any non-standard Perl modules.\n\n# Documentation\n\nThere is a manual entry:\n\n  - [textmail(1)](https://raf.org/textmail/manual/textmail.1.html) - the *textmail(1)* manpage\n\n--------------------------------------------------------------------------------\n\n    URL: https://raf.org/textmail\n    GIT: https://github.com/raforg/textmail\n    GIT: https://codeberg.org/raforg/textmail\n    Date: 20230508\n    Author: raf \u003craf@raf.org\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraforg%2Ftextmail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraforg%2Ftextmail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraforg%2Ftextmail/lists"}