Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonrupf/docker-amavis
A mail filtering container image, based on alpine, running the amavisd-new daemon.
https://github.com/simonrupf/docker-amavis
Last synced: about 2 months ago
JSON representation
A mail filtering container image, based on alpine, running the amavisd-new daemon.
- Host: GitHub
- URL: https://github.com/simonrupf/docker-amavis
- Owner: simonrupf
- Created: 2019-08-04T18:28:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-17T07:13:59.000Z (about 1 year ago)
- Last Synced: 2023-12-18T07:29:34.610Z (about 1 year ago)
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/simonrupf/amavis
- Size: 24.4 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# amavis
A mail filtering container image, based on alpine, running the amavis daemon for
use via TCP port in mail servers. It interfaces with spamassassin libraries,
clamav daemon (in a seperate container) and the razor tool.Note that unzip, unxz, gunzip and bunzip2 are provided via busybox. Spamassassin
will prefer 7zr for zip files. Some older compressions like freeze, arj, lz4 and
ace are not included as they are unlikely to be used for spam and viruses today
and just increase the attack surface, as these tools aren't maintained anymore.A MySQL connector is included, in case your mail server uses a MySQL/MariaDB
database backend for local domain lookups.## Environment variables
- `POSTFIX_IP`: postfix server to forward clean mail to, needs to listen on port
`10025/tcp`
- `TZ`: timezone used for logging, defaults to UTC## Persistent volumes
- `/etc/amavisd-local.conf`: for additional configurations - owner 0, group 101, mode 0640
- `/var/amavis/db`: databases - owner 100, group 101, mode 0750
- `/var/amavis/home`: amavis working directory - owner 100, group 101, mode 0750
- `/var/amavis/quarantine`: quarantined mail - owner 100, group 101, mode 0750
- `/var/amavis/var`: spamassassin working directory - owner 100, group 101, mode 0750## Network ports
- `10024/tcp`
This service expects to forward clean mail to a postfix server at `POSTFIX_IP`
on port `10025/tcp` and needs a clamav daemon with resolvable hostname `clamd`
listening on port `3310/tcp`.## Usage
```shell
make run
```## Stop
```shell
make clean
```## Build
```shell
make build
```## Build & run
```shell
make
```## Debug image contents
```shell
make debug
```