{"id":21254944,"url":"https://github.com/davidgoodwin/amavisd-wblist","last_synced_at":"2025-07-11T02:31:46.489Z","repository":{"id":136977033,"uuid":"103983408","full_name":"DavidGoodwin/amavisd-wblist","owner":"DavidGoodwin","description":"manages the amavisd whitelist/blacklist etc","archived":false,"fork":false,"pushed_at":"2022-09-17T09:51:09.000Z","size":174,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-10T23:37:10.035Z","etag":null,"topics":["amavisd","beta","php","web-interface"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DavidGoodwin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2017-09-18T19:37:17.000Z","updated_at":"2024-05-29T23:05:19.866Z","dependencies_parsed_at":"2023-03-23T08:19:53.501Z","dependency_job_id":null,"html_url":"https://github.com/DavidGoodwin/amavisd-wblist","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidGoodwin%2Famavisd-wblist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidGoodwin%2Famavisd-wblist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidGoodwin%2Famavisd-wblist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidGoodwin%2Famavisd-wblist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidGoodwin","download_url":"https://codeload.github.com/DavidGoodwin/amavisd-wblist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225669527,"owners_count":17505386,"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":["amavisd","beta","php","web-interface"],"created_at":"2024-11-21T03:59:13.710Z","updated_at":"2024-11-21T03:59:14.154Z","avatar_url":"https://github.com/DavidGoodwin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Amavis Policy/Whiteblacklist/Quarantine viewer ....\n\nThis was originally based on WBList Version 0.01B  (see: http://www.hardrock.org/wblist/ )\n\nIt's been mostly rewritten and updated. \n\n\n## What is it ?\n\nThis is a web based interface to some amavisd-new things.\n\n * Policy database - how mails to defined recipients are treated (spam threshold, AV checks etc)\n * Quarantined emails - if a policy defines it, mail will be quarantined ... you can view and release them here\n * Whitelist/Blacklist - some senders you do (or don't!) like....\n\nSo if you're running amavisd, this can help you -\n\n * Create policy rules (who should receive spam/viruses etc, what scoring thresholds there are etc)\n * Create whitelist or blacklist entries (i.e. allow anyone from: @google.com to email bob@example.com, or block foo@bar.com from emailing bob@example.com).\n * View and release quarantined emails ....\n\n\n## Requirements \n\n 1. Amavisd-new (e.g. v 2.10.1 ish) with appropriate config to use @lookup\\_sql\\_dsn\n 2. PHP 7 or 8+ (should work with PHP 5.6+)\n 3. PostgreSQL or MySQL backend (I've not tested MySQL, but it ought to work).\n\n## Installation instructions\n\n 1. Copy/Clone this stuff to your webserver, ideally set '/path/to/this/public/' as your DocumentRoot.\n 2. Edit config.php or specify a $config in config.local.php\n 3. Get composer ( https://getcomposer.org/ ) and run 'php composer.phar install' or similar.\n 4. Make sure there's some restriction on who can access the code (e.g. Apache auth check)\n\n# Operation\n\nBasically it works like this:\n\n 1. You define a policy first.  This defines how the mail will be recieved. \n   Anything left blank or NULL will use the defaults in /etc/amavisd.conf.\n 2. Once you have an acceptable policy, add a recipient that uses this policy. \n   Each recipient will have a policy defined.\n 3. Next add a sender (this is a person at a remote site).\n 4. Add a wblist entry, basically relate your receiver to a sender and how\n   that mail is handled.  A score will add to the resultant score like the\n   soft whitelist table in /etc/amavisd.conf.  W will whitelist, B will\n   blacklist and depending how you have your blacklist configured look at your\n   maillogs for a \"discard\" line.  I like discard lines in my mail logs.\n\n\n# TODO\n\n 1. Implement scoring support as well as Whitelist/Blacklist/Neutral in the policy.\n 2. Add script to view quarantined emails.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidgoodwin%2Famavisd-wblist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidgoodwin%2Famavisd-wblist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidgoodwin%2Famavisd-wblist/lists"}