{"id":15517600,"url":"https://github.com/bodgit/spamassassin-relaycountry-geoip","last_synced_at":"2025-03-16T22:49:04.053Z","repository":{"id":141243781,"uuid":"2863097","full_name":"bodgit/spamassassin-relaycountry-geoip","owner":"bodgit","description":"Updated SpamAssassin RelayCountry plugin with IPv6 smarts","archived":false,"fork":false,"pushed_at":"2011-11-27T22:24:03.000Z","size":92,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T04:34:06.193Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://bodgitandscarper.co.uk/","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bodgit.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-11-27T21:37:01.000Z","updated_at":"2016-10-17T11:44:04.000Z","dependencies_parsed_at":"2023-03-13T10:34:36.134Z","dependency_job_id":null,"html_url":"https://github.com/bodgit/spamassassin-relaycountry-geoip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fspamassassin-relaycountry-geoip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fspamassassin-relaycountry-geoip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fspamassassin-relaycountry-geoip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fspamassassin-relaycountry-geoip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bodgit","download_url":"https://codeload.github.com/bodgit/spamassassin-relaycountry-geoip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243945478,"owners_count":20372894,"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":[],"created_at":"2024-10-02T10:13:52.416Z","updated_at":"2025-03-16T22:49:04.014Z","avatar_url":"https://github.com/bodgit.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"An updated SpamAssassin plugin to replace the current RelayCountry plugin.\n\nThe main problem with the current RelayCountry plugin is it doesn't support\nIPv6, this is entirely down to the underlying IP::Country module used to do\nthe IP -\u003e Country lookups.\n\nThe Geo::IP module that uses the Maxmind GeoIP C library and data files has\nboth IPv4 and IPv6 data available so it is an ideal choice. The data files\ncan just be downloaded from the website which fixes another annoying problem\nwith IP::Country; you need to build updated data files yourself and they can\ntake a fair chunk of memory.\n\nEnable the plugin with the usual:\n\nloadplugin Mail::SpamAssassin::Plugin::RelayCountry2\n\nDon't enable it at the same time as the original RelayCountry plugin as\nboth plugins will try and create the same metadata/headers.\n\nI've replicated the behaviour of IP::Country in that it returns '**' for\nprivate IPv4 addresses and I've also added similar rules for the standard\nset of private IPv6 addresses as per the relevant RFC.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodgit%2Fspamassassin-relaycountry-geoip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbodgit%2Fspamassassin-relaycountry-geoip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodgit%2Fspamassassin-relaycountry-geoip/lists"}