Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Amin Vakil
infrastructure
Commits
cf9c92fd
Verified
Commit
cf9c92fd
authored
Jul 16, 2021
by
Kristian Klausen
🎉
Browse files
dovecot: Disable POP3
No one uses it and less to worry about. Fix #205
parent
75830fd6
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/dovecot/tasks/main.yml
View file @
cf9c92fd
...
@@ -47,7 +47,6 @@
...
@@ -47,7 +47,6 @@
-
name
:
open firewall holes
-
name
:
open firewall holes
ansible.posix.firewalld
:
service={{ item }} permanent=true state=enabled immediate=yes
ansible.posix.firewalld
:
service={{ item }} permanent=true state=enabled immediate=yes
with_items
:
with_items
:
-
pop3s
-
imaps
-
imaps
-
managesieve
-
managesieve
when
:
configure_firewall
when
:
configure_firewall
...
...
roles/dovecot/templates/dovecot.conf.j2
View file @
cf9c92fd
...
@@ -51,7 +51,7 @@ plugin {
...
@@ -51,7 +51,7 @@ plugin {
zlib_save_level = 6
zlib_save_level = 6
zlib_save = gz
zlib_save = gz
}
}
protocols = imap
pop3
sieve lmtp
protocols = imap sieve lmtp
service auth {
service auth {
unix_listener auth-client {
unix_listener auth-client {
group = postfix
group = postfix
...
@@ -69,12 +69,6 @@ service imap-login {
...
@@ -69,12 +69,6 @@ service imap-login {
process_min_avail = 5
process_min_avail = 5
}
}
service pop3-login {
# don't listen for plain pop3
inet_listener pop3 {
port = 0
}
}
service lmtp {
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
group = postfix
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment