You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-09 23:07:35 +02:00
Update delmailuser to allow mailboxes without TLD (#2172)
This commit is contained in:
committed by
GitHub
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#*@}"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user