mailinabox/management/templates
David Piggott 3fdfad27cd Add support for bidirectional mail alias controls
This is an extension of #427. Building on that change it adds support in the
aliases table for flagging aliases as:
 1. Applicable to inbound and outbound mail.
 2. Applicable to inbound mail only.
 3. Applicable to outbound mail only.
 4. Disabled.

The aliases UI is also updated to allow administrators to set the direction of
each alias.

Using this extra information, the sqlite queries executed by Postfix are
updated so only the relevant alias types are checked.

The goal and result of this change is that outbound-only catch-all aliases can
now be defined (in fact catch-all aliases of any type can be defined).

This allow us to continue supporting relaying as described at
https://mailinabox.email/advanced-configuration.html#relay
without requiring that administrators either create regular aliases for each
outbound *relay* address, or that they create a catch-all alias and then face a
flood of spam.

I have tested the code as it is in this commit and fixed every issue I found,
so in that regard the change is complete. However I see room for improvement
in terms of updating terminology to make the UI etc. easier to understand.
I'll make those changes as subsequent commits so that this tested checkpoint is
not lost, but also so they can be rejected independently of the actual change
if not wanted.
2015-07-20 12:51:57 +01:00
..
aliases.html Add support for bidirectional mail alias controls 2015-07-20 12:51:57 +01:00
custom-dns.html clean up multiple secondary nameservers and zone xfr ip addresses 2015-07-10 15:42:33 +00:00
external-dns.html Improve wrapping of external DNS value column to prevent layout overflow 2014-10-21 11:33:42 +00:00
index.html show the Mail-in-a-Box version in the control panel and a button to ping the MiaB website for the latest version 2015-06-25 13:43:11 +00:00
login.html if there are no users at all the warning on the control panel login screen was incorrect 2015-04-28 07:17:21 -04:00
mail-guide.html make the +tag address tips clearer 2015-06-06 13:02:23 +00:00
ssl.html after installing an SSL certificate from the control panel the page wasn't being refreshed, broken in ec73c171c7 2015-05-28 18:45:53 +00:00
sync-guide.html some admin pages had a container within a container 2014-10-21 11:17:15 +00:00
system-backup.html Fixing minor misspelling of the word: encrypted 2015-05-25 10:15:57 +09:30
system-status.html make a self-signed certificate on a non-primary domain a warning rather than an error, fixes #95 2014-10-07 20:41:07 +00:00
users.html the control panel auth hmac message should also include the user's password so that resetting a password in the database forces that user to log in to the control panel again; also use a sha256 hmac 2015-06-06 12:38:19 +00:00
version.html forgot new version.html template file 2015-06-25 17:43:50 +00:00
web.html my html5 stub was wrong; 8c3aed2846 2015-04-19 13:21:38 +00:00