Upon starting the opendkim container, the message rsyslog: unrecognized service is printed to the log.
No logs are output other than those from the entrypoint script itself.
Per https://wiki.debian.org/Rsyslog, Debian Bookworm has deprecated the rsyslog service in favour of journald and no longer installs it by default, meaning presumably it is now missing in the Docker image.
opendkim-1 | Tables seem to exist.
opendkim-1 | rsyslog: unrecognized service
opendkim-1 | Creating /etc/opendkim.conf from template /usr/local/mailserver/templates/opendkim.conf
opendkim-1 | Creating /etc/default/opendkim from template /usr/local/mailserver/templates/default/opendkim
opendkim-1 | Starting OpenDKIM: opendkim.
A compose file for minimal reproduction follows:
name: dockerms
services:
mysql:
image: mysql:8.0
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: "roottestpwd"
MYSQL_DATABASE: "mail"
MYSQL_USER: "postfix"
MYSQL_PASSWORD: "mysqltestpwd"
networks:
- test
opendkim:
image: technicalguru/mailserver-opendkim
depends_on:
- mysql
restart: always
volumes:
- opendkim:/usr/local/mailserver/templates/
environment:
DKIM_DOMAIN: "example.com"
DKIM_PORT: "41001"
DKIM_DB_HOST: "mysql"
DKIM_DB_NAME: "opendkimdb"
DKIM_DB_USER: "opendkim"
DKIM_DB_PASS: "dkimtestpwd"
DKIM_SETUP_PASS: "roottestpwd"
networks:
- test
networks:
test:
volumes:
db_data:
opendkim:
Upon starting the opendkim container, the message
rsyslog: unrecognized serviceis printed to the log.No logs are output other than those from the entrypoint script itself.
Per https://wiki.debian.org/Rsyslog, Debian Bookworm has deprecated the rsyslog service in favour of journald and no longer installs it by default, meaning presumably it is now missing in the Docker image.
A compose file for minimal reproduction follows: