Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
communication
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
infra
ansible-shared
communication
Commits
9b9fddb8
Commit
9b9fddb8
authored
4 years ago
by
Lars Beckers
Browse files
Options
Downloads
Patches
Plain Diff
dovecot: add options to finetune security concerns
parent
6b97c423
No related branches found
No related tags found
1 merge request
!16
Minimal Viable FSMPI Deployment
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
dovecot/defaults/main.yml
+2
-0
2 additions, 0 deletions
dovecot/defaults/main.yml
dovecot/templates/conf.d/10-master.conf.j2
+13
-7
13 additions, 7 deletions
dovecot/templates/conf.d/10-master.conf.j2
with
15 additions
and
7 deletions
dovecot/defaults/main.yml
+
2
−
0
View file @
9b9fddb8
...
...
@@ -37,6 +37,8 @@ dovecot_sieve: 'file:~/sieve;active=~/.dovecot.sieve'
# They may disappear without prior notice and/or may not work as expected.
dovecot_process_limit
:
100
dovecot_client_limit
:
1000
dovecot_disable_imap_starttls
:
false
dovecot_postfix_public_private_partnership
:
true
dovecot_imap_idle_interval
:
'
29
mins'
dovecot_imap_max_userip_connections
:
40
dovecot_lda_mailbox_autocreate
:
false
...
...
This diff is collapsed.
Click to expand it.
dovecot/templates/conf.d/10-master.conf.j2
+
13
−
7
View file @
9b9fddb8
...
...
@@ -15,9 +15,11 @@ default_client_limit = {{ dovecot_client_limit }}
#default_internal_user = dovecot
service imap-login {
{% if not dovecot_disable_imap_starttls %}
inet_listener imap {
port = 143
}
{% endif %}
inet_listener imaps {
port = 993
ssl = yes
...
...
@@ -43,9 +45,9 @@ service imap-login {
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
group = postfix
}
# Create inet listener only if you can't use the above UNIX socket
...
...
@@ -92,13 +94,17 @@ service auth {
# Postfix smtp-auth
unix_listener /var/spool/postfix/private/auth {
{% if dovecot_postfix_public_private_partnership %}
mode = 0666
{% else %}
mode = 0660
{% endif %}
user = postfix
group = postfix
}
# Auth process is run as this user.
#user = $default_internal_user
user = dovecot
group = dovecot
{% if dovecot_client_limit != 1000 %}
client_limit = {{ dovecot_client_limit * 2 }}
{% endif %}
...
...
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