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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

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#*@}"