{"id":35015647,"url":"https://github.com/mdda/procmail.js","last_synced_at":"2025-12-27T05:19:29.726Z","repository":{"id":20040425,"uuid":"23308633","full_name":"mdda/procmail.js","owner":"mdda","description":"NodeJS email auto-responder, with notes","archived":false,"fork":false,"pushed_at":"2014-09-04T19:11:29.000Z","size":180,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-03-11T07:58:12.380Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-25T09:27:57.000Z","updated_at":"2021-12-18T09:02:33.000Z","dependencies_parsed_at":"2022-08-21T16:21:07.956Z","dependency_job_id":null,"html_url":"https://github.com/mdda/procmail.js","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/mdda/procmail.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdda%2Fprocmail.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdda%2Fprocmail.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdda%2Fprocmail.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdda%2Fprocmail.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdda","download_url":"https://codeload.github.com/mdda/procmail.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdda%2Fprocmail.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28072870,"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","status":"online","status_checked_at":"2025-12-27T02:00:05.897Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-12-27T05:19:28.381Z","updated_at":"2025-12-27T05:19:29.720Z","avatar_url":"https://github.com/mdda.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"procmail.js\n===========\n\nNodeJS email auto-responder, with notes\n\nEnabling ```procmail``` email parsing is always a bit of a frustrating exercise, since none of the standard tool chains are built for it.\n\nThe attached actually work for mail sent to ```node_process@example.com```, using an 'off-the-shelf' $5/month Fedora linux VPS, \nrunning ```postfix``` in its default configuration (using ```virtual-servers``` as the routing mechanism for multiple sites).\n\nIn addition, there's a version that includes a outgoing mail component, also proven to work on the same 'off-the-shelf' configuration.\n\n\nInstall\n----------\n\n```\nnpm install mailparser \ncp dot_procmailrc ~/.procmailrc \u0026\u0026 chmod 600 ~/.procmailrc \nmkdir ~/Mail\n```\n\nTest\n----------\n\nThe easiest way to capture a 'live' email is to do 'show original' within the drop-down box on the right-hand-side of gmail.  \nSimply save that raw text file as ```mail-example.txt``` and pipe it into ```procmail.js``` as follows : \n\n```\ncat mail-example.txt | node procmail.js \n```\n\nThe same incantation works for ```procmail_with_response.js`` - but it would make sense to check out the internals first \n(particularly since your email provider may want the sending address to match the origin SMTP server).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdda%2Fprocmail.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdda%2Fprocmail.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdda%2Fprocmail.js/lists"}