Verified Commit d20dd7e1 authored by Florian Pritz's avatar Florian Pritz
Browse files

dovecot: Install our own PAM config



This enables lastlog so that we also see which accounts are used for
email only even if they are not used for SSH.
Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent 401b0b57
session required pam_lastlog.so
auth required pam_unix.so
account required pam_unix.so
......@@ -11,6 +11,9 @@
notify:
- reload dovecot
- name: install PAM config
copy: src=pam.d.dovecot dest=/etc/pam.d/dovecot mode=0644 owner=root group=root
- name: install dovecot cert renewal hook
template: src=letsencrypt.hook.d.j2 dest=/etc/letsencrypt/hook.d/dovecot owner=root group=root mode=0755
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment