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

7
share/postfix.sh Executable file
View file

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