mail-files/share/dovecot.sh

6 lines
130 B
Bash
Executable file

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