1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-08 23:06:49 +02:00

Update delmailuser to allow mailboxes without TLD (#2172)

This commit is contained in:
Daniël van den Berg
2021-09-09 08:57:08 +02:00
committed by GitHub
parent 0da66ccb34
commit 00c8a7b07f

View File

@ -91,9 +91,6 @@ for EMAIL in "${@}"
do
ERROR=false
# very simple plausibility check
[[ ${EMAIL} != *@*.* ]] && errex "No valid email address: ${EMAIL}"
USER="${EMAIL%@*}"
DOMAIN="${EMAIL#*@}"