Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dockerfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Picasoft
Technique
Dockerfiles
Commits
ddc43178
Unverified
Commit
ddc43178
authored
6 years ago
by
Roma
Committed by
Rémy Huet
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Suppression du warning concernant le service saslauthd non utilisé
parent
e6354dd4
No related branches found
Branches containing commit
No related tags found
1 merge request
!20
pica-mailnt
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pica-mail-mta/entrypoint.sh
+11
-1
11 additions, 1 deletion
pica-mail-mta/entrypoint.sh
with
11 additions
and
1 deletion
pica-mail-mta/entrypoint.sh
+
11
−
1
View file @
ddc43178
...
...
@@ -78,6 +78,9 @@ cat <<EOF >> /etc/default/saslauthd-postfix
MECHANISMS="ldap"
MECH_OPTIONS=""
EOF
#on enlève le démon saslauthd par défaut de debian (nous utilisons saslauthd-postfix)
#ça ne change rien à part qu'il n'y a pas de warning dans les logs concernant un service non utilisé
rm
/etc/default/saslauthd
#configuration de ce serveur LDAP
cat
<<
EOF
>> /etc/saslauthd.conf
ldap_servers:
${
LDAP_PROTOCOL
}
://
${
LDAP_SERVER_HOSTNAME
}
:
${
LDAP_PORT
}
...
...
@@ -91,7 +94,7 @@ service saslauthd restart
service postfix restart
#configuration DKIM
cat
<<
EOF
>> /etc/postfix/main.cf
cat
<<
EOF
>> /etc/postfix/main.cf
milter_default_action = accept
milter_protocol = 6
smtpd_milters = local:/opendkim/opendkim.sock
...
...
@@ -104,6 +107,13 @@ chown opendkim:postfix /var/spool/postfix/opendkim
adduser postfix opendkim
#SSL : récupération des certificats (qui seront utilisés pour la connexion smtp)
sudo
postconf
-e
'smtpd_tls_cert_file = /etc/letsencrypt/live/<your.domain>/fullchain.pem'
sudo
postconf
-e
'smtpd_tls_key_file = /etc/letsencrypt/live/<your.domain>/privkey.pem'
#configuration du socket TCP/IP, on est obligé d'utiliser ipv4 pour la local delivery car les docker network ne supportent pas iPv6 par défaut
postconf
-e
"inet_protocols = ipv4"
#enregistrement de cette instruction
...
...
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