Hello,
I tries to configure docker-compose.yml to add spamassassin & clamav, also axigen.cfg but it don’t work.
Clamav and Spammassassin stays “Could not connect”
Please can you help me with my settings
docker-compose.yml
networks:
axi-network:
driver: bridge
services:
axigen:
image: axigen/axigen
container_name: axigen-service
hostname: axigen
depends_on:
- clamav
- spamassassin
ports: - “8080:80”
- “8443:443”
- “993:993”
- “995:995”
- “25:25”
- “465:465”
- “7000:7000”
- “19000:9000”
- “19443:9443”
volumes: - “/docker/DATA/AppData/axigen:/axigen/var”
networks: - axi-network
— ANTIVIRUS CLAMAV —
clamav:
image: clamav/clamav:latest
container_name: clamav-service
restart: always
ports:
- “3310:3310”
networks: - axi-network
volumes: - “/docker/DATA/AppData/axigen/queue:/axigen/var/queue”
— ANTISPAM SPAMASSASSIN —
spamassassin:
image: instantlinux/spamassassin:latest
container_name: spamassassin-service
restart: always
ports:
- “783:783”
networks: - axi-network
environment: - CRON=1
Axigen.cfg
{
name = "AV:ClamAV"
address = "inet://172.23.0.4:3310"
protocolFile = "afsl/clam-av.afsl"
idleTimeout = 300
actionOnMatch = pass
maxConnections = 10
maxMessageSize = 10240
}
{
name = "AV:SpamAssassin"
address = "inet://172.23.0.3:3310"
protocolFile = "afsl/spamassassin.afsl"
idleTimeout = 300
actionOnMatch = pass
maxConnections = 10
maxMessageSize = 10240
}
{
name = "AV:Tnef"
address = "inet://127.0.0.1:8888"
protocolFile = "afsl/axi-tnef.afsl"
idleTimeout = 300
actionOnMatch = pass
maxConnections = 10
maxMessageSize = 10240
}
Only AV:Tnef is available.
I tries several combinations with container_name or docker ip but nothing works.
Thanks in advance.