You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ Once you have started your OpenDKIM container successfully, it is now time to cr
63
63
1. For each of your domains `DOMAIN` perform the following steps:
64
64
1. Create a temporary directory: `mkdir /etc/opendkim/keys/$DOMAIN`
65
65
2. Create the actual key: `opendkim-genkey -b 2048 -d $DOMAIN -D /etc/opendkim/keys/$DOMAIN -s default -v`. You will find public and private key in the temporary directory.
66
-
3. Insert public and private key into your database by signing in: `mysql -u opendkim -p opendkim` and enter your database password.
66
+
3. Insert public and private key into your database by signing in: `mysql -u opendkim -p opendkim`(*) and enter your database password.
67
67
Then enter these SQL statement and hit enter for each of them:
68
68
69
69
```
@@ -74,6 +74,8 @@ Once you have started your OpenDKIM container successfully, it is now time to cr
74
74
INSERT INTO `internal_hosts` (`hostname`) VALUES ('*@$DOMAIN');
75
75
```
76
76
77
+
(*) You might need to add the parameter ``-h mailserver-database`` when using the docker-compose environment.
78
+
77
79
4. Insert the *Public Key* as described by step 2 output into your DNS TXT record for the domain. It can look like this:
0 commit comments