{"id":17846466,"url":"https://github.com/technicalguru/docker-mailserver-amavis","last_synced_at":"2026-01-15T22:15:08.858Z","repository":{"id":41839727,"uuid":"251232513","full_name":"technicalguru/docker-mailserver-amavis","owner":"technicalguru","description":"Docker image for Amavis in mailserver","archived":false,"fork":false,"pushed_at":"2025-10-25T15:03:01.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T17:11:34.019Z","etag":null,"topics":["amavis","amavisd","clamav","email","email-platform","milter","postfix","postfix-docker","spamassassin"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/technicalguru.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-03-30T07:29:18.000Z","updated_at":"2025-05-20T11:32:20.000Z","dependencies_parsed_at":"2023-10-15T07:21:57.508Z","dependency_job_id":"4b514683-dc16-4e10-b888-30e940337b9a","html_url":"https://github.com/technicalguru/docker-mailserver-amavis","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/technicalguru/docker-mailserver-amavis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalguru%2Fdocker-mailserver-amavis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalguru%2Fdocker-mailserver-amavis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalguru%2Fdocker-mailserver-amavis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalguru%2Fdocker-mailserver-amavis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technicalguru","download_url":"https://codeload.github.com/technicalguru/docker-mailserver-amavis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalguru%2Fdocker-mailserver-amavis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28472624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T22:13:38.078Z","status":"ssl_error","status_checked_at":"2026-01-15T22:12:11.737Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["amavis","amavisd","clamav","email","email-platform","milter","postfix","postfix-docker","spamassassin"],"created_at":"2024-10-27T21:40:00.728Z","updated_at":"2026-01-15T22:15:08.851Z","avatar_url":"https://github.com/technicalguru.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-mailserver-amavis\nThis is a Docker image for an Amavisd-new mail scanner. The project is part of the \n[docker-mailserver](https://github.com/technicalguru/docker-mailserver) project but can run separately \nwithout the other components. The image listens at one port (10024) for mails to be\nscanned (using SMTP protocol) and forwards messages and results after the scan back to\na SMTP server (usually the originating server on port 10025).\n\nRelated images:\n* [docker-mailserver](https://github.com/technicalguru/docker-mailserver) - The main project, containing composition instructions\n* [docker-mailserver-postfix](https://github.com/technicalguru/docker-mailserver-postfix) - Postfix/Dovecot image (mailserver component)\n* [docker-mailserver-opendkim](https://github.com/technicalguru/docker-mailserver-opendkim) - OpenDKIM image (DKIM signing milter component)\n* [docker-mailserver-postfixadmin](https://github.com/technicalguru/docker-mailserver-postfixadmin) - Image for PostfixAdmin (Web UI to manage mailboxes and domain in Postfix)\n* [docker-mailserver-roundcube](https://github.com/technicalguru/docker-mailserver-roundcube) - Roundcube Webmailer\n\n# Tags\nThe following versions are available from DockerHub. The image tag matches the Amavisd-new version.\n\n* [2.13.0.4, 2.13.0, 2.13, 2, latest](https://hub.docker.com/repository/docker/technicalguru/mailserver-amavis/tree/v2.13.0.4) - [Dockerfile](https://github.com/technicalguru/docker-mailserver-amavis/blob/2.13.0.3/Dockerfile)\n\n# Supported Platforms\n* linux/amd64\n* linux/arm64\n\n# Features\n* [Amavis Checker](https://www.amavis.org/) v2.13.0\n* Virus detection using [ClamAV](https://www.clamav.net/) v1.0.5\n* Spam detection using [SpamAssassin](https://spamassassin.apache.org/) v4.0.0\n* Seamless integration in any SMTP mail chain\n\n# License\n_docker-mailserver-amavis_  is licensed under [GNU LGPL 3.0](LICENSE.md). As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).\n\nAs for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.\n\n# Prerequisites\nNone\n\n# Usage\n\n## Environment Variables\n_docker-mailserver-amavis_  requires various environment variables to be set. The container startup will fail when the setup is incomplete.\n\n| **Variable** | **Description** | **Default Value** |\n|------------|---------------|-----------------|\n| `AV_MYDOMAIN` | The first and primary mail domain of your mailserver. Amavis uses this to add headers in a mail. | `localdomain` |\n| `AV_POSTFIX_SERVICE_NAME` | The hostname or IP address of the SMTP server where Amavis will deliver scanned mails and results to. | `127.0.0.1` |\n| `AV_POSTFIX_SERVICE_PORT` | The port of the SMTP server for delivering scanned mails and results. | `10025` |\n| `AV_VIRUSADMIN_EMAIL` | The global administrator to be informed about virus detection and quarantines. | `postmaster@AV_MYDOMAIN` |\n| `AV_NOTIFY_SENDER` | sender envelope address, from which notification reports are sent from | `postmaster@AV_MYDOMAIN` |\n| `AV_NOTIFY_ADMIN` | sender envelope address, from which notification reports are sent from | `postmaster@AV_MYDOMAIN` |\n\n## Volumes\nYou shall provide a data volume in order to secure your quarantine data from data loss. Map the volume to `/var/virusmails` folder inside the container.\n\n## Ports\n_docker-mailserver-amavis_  exposes port 10024. This is an unprotected SMTP listener port to request AntiVirus and AntiSpam scans. **Attention!** You need to make sure that this port is not accessible by any other host than your SMTP mail service. Otherwise it can be used for SPAM attacks.\n \n## Running the Container\nThe [main mailserver project](https://github.com/technicalguru/docker-mailserver) has examples of container configurations:\n* [with docker-compose](https://github.com/technicalguru/docker-mailserver/tree/master/examples/docker-compose)\n* [with Kubernetes YAML files](https://github.com/technicalguru/docker-mailserver/tree/master/examples/kubernetes)\n* [with HELM charts](https://github.com/technicalguru/docker-mailserver/tree/master/examples/helm-charts)\n\n# Refreshing AV signatures and Spam detection rules\nEvery once in a while you will need to run `sa-compile` and `freshclam`in order to refresh you virus and spam detection rules. The current images does not do this yet (see [#4](https://github.com/technicalguru/docker-mailserver-amavis/issues/4))\n\n# Additional customization\nYou can further customize Amavis, ClamAV and SpamAssassin configuration files. Please follow these instructions:\n\n1. Check the `/usr/local/amavis/templates` folder for already existing customizations. \n1. If you configuration file is not present yet, take a copy of the file from `/etc/amavis`, `/etc/clamav` or `/etc/spamassassin` folders.\n1. Customize your configuration file.\n1. Provide your customized file(s) back into the appropriate template folder at `/usr/local/amavis/templates` by using volume mappings.\n1. (Re)Start the container. If you configuration was not copied correctly then log into the container (bash is available) and delete the changed files from the corresponding `/etc` folders. Then restart the container.\n\n# Issues\nThis Docker image is mature and provides scanning for my mailserver in production. No issues known right now.\n\n# Contribution\nReport a bug, request an enhancement or pull request at the [GitHub Issue Tracker](https://github.com/technicalguru/docker-mailserver-amavis/issues). Make sure you have checked out the [Contribution Guideline](CONTRIBUTING.md)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnicalguru%2Fdocker-mailserver-amavis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnicalguru%2Fdocker-mailserver-amavis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnicalguru%2Fdocker-mailserver-amavis/lists"}