{"id":25049387,"url":"https://github.com/nigelhorne/blocking-milter","last_synced_at":"2025-07-08T01:38:36.442Z","repository":{"id":274492167,"uuid":"923076322","full_name":"nigelhorne/blocking-milter","owner":"nigelhorne","description":"Stop Spam","archived":false,"fork":false,"pushed_at":"2025-02-17T13:41:30.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T20:43:15.949Z","etag":null,"topics":["milter","perl","spam-detection","spam-filtering","spam-prevention","spam-protection"],"latest_commit_sha":null,"homepage":"","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/nigelhorne.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-27T15:52:33.000Z","updated_at":"2025-02-17T13:41:33.000Z","dependencies_parsed_at":"2025-02-12T12:38:49.353Z","dependency_job_id":"6f2cc338-9084-4e29-bbd0-c70200f632e7","html_url":"https://github.com/nigelhorne/blocking-milter","commit_stats":null,"previous_names":["nigelhorne/blocking-milter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nigelhorne%2Fblocking-milter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nigelhorne%2Fblocking-milter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nigelhorne%2Fblocking-milter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nigelhorne%2Fblocking-milter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nigelhorne","download_url":"https://codeload.github.com/nigelhorne/blocking-milter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246413362,"owners_count":20773052,"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":["milter","perl","spam-detection","spam-filtering","spam-prevention","spam-protection"],"created_at":"2025-02-06T08:18:07.681Z","updated_at":"2025-03-31T03:32:37.426Z","avatar_url":"https://github.com/nigelhorne.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blocking-milter\n\n## Overview\n\nSendmail filter designed to detect and reject spam emails based on specific blacklisted phrases in the email subject and body.\nIt integrates with Sendmail or Postfix using `Sendmail::PMilter` and logs rejected messages via syslog.\nThe filter allows connections from private IPs while scanning incoming emails for spam-related keywords,\nrejecting those that match,\nand returning a 554 5.7.1 error.\n\n## Installation\n\nIn `/etc/mail/sendmail.mc`:\n\n    INPUT_MAIL_FILTER(`blocking-milter', `S=local:/run/blocking-milter.sock, T=S:30s;R:3m')dnl\n\nIn `/etc/rc.local`:\n\n\trm -f /run/blocking-milter\n\t/usr/local/etc/blocking-milter local:/run/blocking-milter\u0026\n\nOr put this is in `/etc/systemd/system/blocking-milter.service`:\n\n    [Unit]\n    Description=Block SEO, and similar, spams\n    After=network.target\n \n    [Service]\n    ExecStart=/usr/local/etc/blocking-milter local:/run/blocking-milter\n    KillMode=process\n    Restart=on-failure\n\n    [Install]\n    WantedBy=multi-user.target\n\nRebuild sendmail:\n\n    m4 /etc/mail/sendmail.mc \u003e /etc/mail/sendmail.cf\n    service sendmail restart\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnigelhorne%2Fblocking-milter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnigelhorne%2Fblocking-milter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnigelhorne%2Fblocking-milter/lists"}