-
Notifications
You must be signed in to change notification settings - Fork 70
Amavis breaks when stored on host #104
Comments
Do you get lines like this after editing amavis config?
|
Just starting the container with the config stored on the host caused this. I then just predetermined the password by setting The main issue according to the amavis log was incorrect mysql login details. |
I'm trying to solve this now. I will also recreate my container (keeping all my volumes) as soon as I figure out what is my current database password. |
The Amavis password is in one of the config files and the mysql password you set via env is propogated to all files as far as i can tell. Also I only moved amavis out to add my second domain to the dkim entry |
I ended up copying all the following variables: MYSQL_ROOT_PASSWORD, VMAIL_DB_PASSWORD, VMAIL_DB_ADMIN_PASSWORD, AMAVISD_DB_PASSWORD, ROUNDCUBE_DB_PASSWORD, IREDAPD_DB_PASSWORD, IREDADMIN_DB_PASSWORD, FAIL2BAN_DB_PASSWORD, SA_BAYES_DB_PASSWORD. It seems to be working. But adding a more convenient way is important. |
Like I said for me the 2 passwords completely fixed |
So I wanted to add my second domain to the DKIM config of amavis for which I stored
/etc/amavis
on the host.This breaks the random SQL password on startup and causes amavis to reboot when mails come in or are to be send out.
It would be cool to have a better way to add more DKIM domains or document the environment variable
AMAVISD_DB_PASSWORD
The text was updated successfully, but these errors were encountered: