Skip to content

Commit b42a485

Browse files
committed
2 parents 65a52db + 2961ca9 commit b42a485

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Once you have started your OpenDKIM container successfully, it is now time to cr
6363
1. For each of your domains `DOMAIN` perform the following steps:
6464
1. Create a temporary directory: `mkdir /etc/opendkim/keys/$DOMAIN`
6565
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.
6767
Then enter these SQL statement and hit enter for each of them:
6868

6969
```
@@ -74,6 +74,8 @@ Once you have started your OpenDKIM container successfully, it is now time to cr
7474
INSERT INTO `internal_hosts` (`hostname`) VALUES ('*@$DOMAIN');
7575
```
7676
77+
(*) You might need to add the parameter ``-h mailserver-database`` when using the docker-compose environment.
78+
7779
4. Insert the *Public Key* as described by step 2 output into your DNS TXT record for the domain. It can look like this:
7880
7981
```

0 commit comments

Comments
 (0)