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

Restrict access (Closes #452, #816)

new setup.sh function, new tests, new script
This commit is contained in:
17Halbe
2018-02-07 21:33:07 +01:00
committed by Johan Smits
parent 115ad555be
commit 5394a505b9
6 changed files with 90 additions and 8 deletions

View File

@ -42,9 +42,10 @@ SUBCOMMANDS:
email:
$0 email add <email> <password>
$0 email update <email> <password>
$0 email add <email> [<password>]
$0 email update <email> [<password>]
$0 email del <email>
$0 email restrict <add|del|list> <send|receive> [<email>]
$0 email list
alias:
@ -60,7 +61,7 @@ SUBCOMMANDS:
debug:
$0 debug fetchmail
$0 debug fail2ban <unban> <ip-address>
$0 debug fail2ban [<unban> <ip-address>]
$0 debug show-mail-logs
$0 debug inspect
$0 debug login <commands>
@ -117,7 +118,6 @@ case $1 in
email)
shift
case $1 in
add)
shift
_docker_image addmailuser $@
@ -130,6 +130,10 @@ case $1 in
shift
_docker_image delmailuser $@
;;
restrict)
shift
_docker_image restrict-access $@
;;
list)
_docker_image listmailuser
;;