Skip to content
Snippets Groups Projects
Unverified Commit 818d428d authored by Thomas Picouet's avatar Thomas Picouet Committed by Rémy Huet
Browse files

ajout de logs à l'authentification (pour mieux comprendre ce qu'il se passe)...

ajout de logs à l'authentification (pour mieux comprendre ce qu'il se passe) et d'un petit script pour aller plus vite quand je bidouille les fichiers de config
parent d64388b2
No related branches found
No related tags found
1 merge request!20pica-mailnt
......@@ -21,7 +21,7 @@ log_path = /var/log/dovecot.log
##
# Log unsuccessful authentication attempts and the reasons why they failed.
#auth_verbose = no
auth_verbose = yes
# In case of password mismatches, log the attempted password. Valid values are
# no, plain and sha1. sha1 can be useful for detecting brute force password
......@@ -31,7 +31,7 @@ log_path = /var/log/dovecot.log
# Even more verbose logging for debugging purposes. Shows for example SQL
# queries.
#auth_debug = no
auth_debug = yes
# In case of password mismatches, log the passwords and used scheme so the
# problem can be debugged. Enabling this also enables auth_debug.
......
......@@ -89,7 +89,7 @@ ldap_version = 3
# LDAP base. %variables can be used here.
# For example: dc=mail, dc=example, dc=org
base = dc=picasoft, dc=net
base = dc=picasoft,dc=net
# Dereference: never, searching, finding, always
#deref = never
......@@ -113,7 +113,7 @@ user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid
# %u - username
# %n - user part in user@domain, same as %u if there's no domain
# %d - domain part in user@domain, empty if user there's no domain
user_filter = (&(objectClass=posixAccount)(uid=%u))
#user_filter = (&(objectClass=posixAccount)(uid=%u))
# Password checking attributes:
# user: Virtual user name (user@domain), if you wish to change the
......
#!/bin/bash
docker kill pica-mail-mda-ldap
docker rm pica-mail-mda-ldap
docker build -t pica-mail-mda:2 .
docker run -d --name pica-mail-mda-ldap --network local-mail-delivery --hostname pica-mail-mda --mount source=mail-maildir,target=/home/ --mount source=mail-log,target=/var/log pica-mail-mda:2
docker exec -it pica-mail-mda-ldap /bin/bash
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment