Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compose.libre.sh
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
ecobytes
compose.libre.sh
Commits
1c50fd51
Commit
1c50fd51
authored
9 years ago
by
Pierre Ozoux
Browse files
Options
Downloads
Patches
Plain Diff
Last corrections for dkim support
parent
18724cb7
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dockerfiles/email/postfix/Dockerfile
+7
-7
7 additions, 7 deletions
dockerfiles/email/postfix/Dockerfile
unit-files/postfix.service
+1
-1
1 addition, 1 deletion
unit-files/postfix.service
utils/add_email_support.sh
+9
-1
9 additions, 1 deletion
utils/add_email_support.sh
with
17 additions
and
9 deletions
dockerfiles/email/postfix/Dockerfile
+
7
−
7
View file @
1c50fd51
...
...
@@ -67,13 +67,13 @@ RUN \
"smtpd_milters=inet:127.0.0.1:8891 inet:127.0.0.1:8893"\
non_smtpd_milters=\$smtpd_milters \
milter_default_action=accept && \
echo "MinimumKeyBits 1024" >> /etc/opendkim && \
echo "ExternalIgnoreList refile:/etc/opendkim/TrustedHosts" >> /etc/opendkim && \
echo "InternalHosts refile:/etc/opendkim/TrustedHosts" >> /etc/opendkim && \
echo "KeyTable refile:/etc/opendkim/KeyTable" >> /etc/opendkim && \
echo "SigningTable refile:/etc/opendkim/SigningTable" >> /etc/opendkim && \
echo "Socket inet:8891@localhost" >> /etc/opendkim && \
echo "RequireSafeKeys false" >> /etc/opendkim
echo "MinimumKeyBits 1024" >> /etc/opendkim
.conf
&& \
echo "ExternalIgnoreList refile:/etc/opendkim/TrustedHosts" >> /etc/opendkim
.conf
&& \
echo "InternalHosts refile:/etc/opendkim/TrustedHosts" >> /etc/opendkim
.conf
&& \
echo "KeyTable refile:/etc/opendkim/KeyTable" >> /etc/opendkim
.conf
&& \
echo "SigningTable refile:/etc/opendkim/SigningTable" >> /etc/opendkim
.conf
&& \
echo "Socket inet:8891@localhost" >> /etc/opendkim
.conf
&& \
echo "RequireSafeKeys false" >> /etc/opendkim
.conf
#RUN /opt/editconf.py /etc/postfix/main.cf \
#smtp_tls_security_level=dane \
...
...
This diff is collapsed.
Click to expand it.
unit-files/postfix.service
+
1
−
1
View file @
1c50fd51
...
...
@@ -28,7 +28,7 @@ ExecStart=/usr/bin/docker run \
--volumes-from=dovecot
\
-p 25:25
\
-p 587:587
\
-link=mysql-mail:db
\
-
-link=mysql-mail:db
\
indiepaas/postfix
ExecReload
=
/usr/bin/docker restart %p
ExecStop
=
/usr/bin/docker stop %p
...
...
This diff is collapsed.
Click to expand it.
utils/add_email_support.sh
+
9
−
1
View file @
1c50fd51
...
...
@@ -19,8 +19,16 @@ mkdir -p /data/domains/mail/opendkim/keys/$DOMAIN
/usr/bin/docker run
\
--rm
\
--name
opendkim-genkey
\
-v
/data/domains/mail/opendkim:/etc/opendkim
\
indiepaas/postfix
\
/usr/bin/opendkim-genkey
-D
/etc/opendkim/keys/
$DOMAIN
/
-d
$DOMAIN
-s
mail
&&
chown
-R
opendkim: /etc/opendkim/keys
/usr/bin/opendkim-genkey
-D
/etc/opendkim/keys/
$DOMAIN
/
-d
$DOMAIN
-s
mail
/usr/bin/docker run
\
--rm
\
--name
opendkim-genkey
\
-v
/data/domains/mail/opendkim:/etc/opendkim
\
indiepaas/postfix
\
/bin/chown
-R
opendkim /etc/opendkim/keys
mv
/data/domains/mail/opendkim/keys/
$DOMAIN
/mail.private /data/domains/mail/opendkim/keys/
$DOMAIN
/mail
...
...
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