mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Update delmailuser to allow mailboxes without TLD (#2172)
This commit is contained in:
parent
0da66ccb34
commit
00c8a7b07f
|
@ -91,9 +91,6 @@ for EMAIL in "${@}"
|
||||||
do
|
do
|
||||||
ERROR=false
|
ERROR=false
|
||||||
|
|
||||||
# very simple plausibility check
|
|
||||||
[[ ${EMAIL} != *@*.* ]] && errex "No valid email address: ${EMAIL}"
|
|
||||||
|
|
||||||
USER="${EMAIL%@*}"
|
USER="${EMAIL%@*}"
|
||||||
DOMAIN="${EMAIL#*@}"
|
DOMAIN="${EMAIL#*@}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue