Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Sympa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NoCloud
docker
Sympa
Commits
a236a767
Commit
a236a767
authored
2 years ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Customizable trusted hosts for opendkim
parent
ca070731
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose.yml
+1
-0
1 addition, 0 deletions
docker-compose.yml
docker/postfix/etc/service/opendkim/run
+4
-2
4 additions, 2 deletions
docker/postfix/etc/service/opendkim/run
with
5 additions
and
2 deletions
docker-compose.yml
+
1
−
0
View file @
a236a767
...
@@ -49,6 +49,7 @@ services:
...
@@ -49,6 +49,7 @@ services:
MY_NETWORKS
:
MY_NETWORKS
:
ROOT_ALIAS
:
ROOT_ALIAS
:
MY_DESTINATION
:
MY_DESTINATION
:
TRUSTED_HOSTS
:
pgsql
:
pgsql
:
...
...
This diff is collapsed.
Click to expand it.
docker/postfix/etc/service/opendkim/run
+
4
−
2
View file @
a236a767
...
@@ -17,12 +17,14 @@ EOF
...
@@ -17,12 +17,14 @@ EOF
mkdir
-p
/etc/opendkim
mkdir
-p
/etc/opendkim
# Add docker trusted hosts
# Add docker trusted hosts
echo
"sympa"
>>
/etc/opendkim/TrustedHosts
echo
"localhost"
>>
/etc/opendkim/TrustedHosts
echo
"localhost"
>>
/etc/opendkim/TrustedHosts
echo
"127.0.0.1"
>>
/etc/opendkim/TrustedHosts
echo
"127.0.0.1"
>>
/etc/opendkim/TrustedHosts
# Give some time to sympa to be up and running
# Give some time to sympa to be up and running
sleep
10
sleep
10
dig +short sympa
>>
/etc/opendkim/TrustedHosts
for
domain
in
$TRUSTED_HOSTS
;
do
echo
$domain
>>
/etc/opendkim/TrustedHosts
dig +short
$domain
>>
/etc/opendkim/TrustedHosts
done
for
domain
in
$MAILNAME
$POSTFIX_VIRTUAL_DOMAINS
;
do
for
domain
in
$MAILNAME
$POSTFIX_VIRTUAL_DOMAINS
;
do
keydir
=
"/etc/dkimkeys/
$domain
"
keydir
=
"/etc/dkimkeys/
$domain
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment