1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-22 07:17:05 +00:00
mailinabox/setup
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
..
bootstrap.sh v0.12c release to work-around Sourceforge outage 2015-07-19 08:30:03 -04:00
csr_country_codes.tsv when asking for a CSR country code, give the user a list 2014-08-21 17:28:04 +00:00
dkim.sh dkim 2048 bits - migration and zone file generation changes 2015-06-25 13:06:29 +00:00
dns.sh add 'ip-transparent: yes' to nsd.conf 2015-05-04 11:24:40 +00:00
firstuser.sh move the user-interactive questions and other parts of start.sh into new files 2014-08-25 08:09:37 -04:00
functions.sh need my new email_validator library during questions 2015-05-03 11:02:23 -04:00
mail-dovecot.sh simplify build/setup of dovecot-lucene package 2015-06-03 15:48:35 -04:00
mail-postfix.sh outgoing_mail_header_filters use local hostname and ip 2015-07-02 16:04:56 -04:00
mail-users.sh Add support for bidirectional mail alias controls 2015-07-20 12:51:57 +01:00
management.sh always attempt to upgrade pip packages during setup 2015-07-03 14:25:41 +00:00
migrate.py Add support for bidirectional mail alias controls 2015-07-20 12:51:57 +01:00
munin.sh more work on munin 2015-05-25 17:03:52 +00:00
network-checks.sh prevent apt from asking the user any questions 2015-02-13 13:41:52 +00:00
owncloud.sh fix occ upgrade to not bail when occ returns 'ownCloud is already latest version' exit code 3, see #496 2015-07-19 13:06:38 +00:00
preflight.sh preflight memory check: units problems 2015-01-11 14:13:35 +00:00
questions.sh bump to latest version of my email_validator library 2015-06-23 16:43:35 -04:00
spamassassin.sh forgot to create the pyzor home_dir in 3f606feea3 2015-07-19 08:25:04 -04:00
ssl.sh Typo 2015-01-29 17:03:20 +00:00
start.sh Use netcat to check if mailinabox webservice is available 2015-06-18 08:04:46 -04:00
system.sh must install software-properties-common to have add-apt-repository 2015-06-29 21:47:54 -04:00
web.sh Set PHPs default charset to UTF-8, since we use it. Closes #367. 2015-06-30 11:31:43 +02:00
webmail.sh use a temporary mirror for roundcube while Sourceforge is recovering from an outage https://twitter.com/sfnet_ops/status/622171668497076224 2015-07-19 08:25:04 -04:00
zpush.sh upgrade to ownCloud 8.0.2 2015-03-28 11:08:57 -04:00