Scripts pour gérer les users automatiquement

This commit is contained in:
ayo 2026-06-16 09:08:44 +02:00
commit a6d7c44c4a
3 changed files with 16 additions and 0 deletions

6
share/dovecot.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
while IFS= read -r email; do
username="${email%@*}"
echo "${email}:{PLAIN}${username}"
done < users.txt