Receiving mails for wildcard alias addresses is really easy – but
sending mails from those any-aliases was not possible at all unless
every sender address was added as an explicit alias to the database.
By this change in the database query for allowed sender addresses, the
first finding `not NULL` (see [`SELECT COALESCE`](https://www.w3schools.com/sql/func_sqlserver_coalesce.asp) for how it works)
– either an exact alias `mailbox@domain.tld` or the wildcard alias `@domain.tld`
will be allowed to send mails as the given address ... without the need
of explicit definition within the database.
* change response of add domain to array
* add tags to request body of add domain
* add gal to request body of add domain
* add relay_unknown_only to request body of add domain
* add relay_unknown_only to request body of edit domain
* add rl_frame, rl_value to request body of edit domain
* fix indentation
* add tags to request body of edit domain
* change response of edit domain to array
* Revert "change response of edit domain to array"
This reverts commit 692384e21b6dad5fcfeab8b5be572404981dce5b.
* change response type of edit domain to application/json
* change response type of edit domain
* change items in body of edit domain to array of strings
* change response of edit domain to array
* fix indentation
* revert changing response type of edit domain-admin
* change response type of edit domain to array
* fix response type of edit domains
* change msg in response of edit domains to array
* change items in body of delete domain to array of strings
* change request body of delete domain to array of strings
* fix
* remove properties
* change request body of delete domain to array of strings (fix)
* change reponse type of delete domain to array
the current condition to redirect to / was never matching, so a blank page was displayed on /user when not logged in or when logged in as admin.
this will fix it and always redirect to / if nothing is rendered in the user.php