summaryrefslogtreecommitdiffstats
path: root/roles/MX/templates
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-06-05 18:25:09 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:54:27 +0200
commitf12db60f358dbf5506e373477c04488a2c269332 (patch)
tree5e7ee6493b3495a7361a85e6812e226528380491 /roles/MX/templates
parent2c925ea17fcb6f71826e5c0f30f99c5daba10e14 (diff)
Add a reserved domain 'discard.fripost.org' to discard messages.
‘noreply@’ aliases can be added by routing them to ‘@discard.fripost.org’.
Diffstat (limited to 'roles/MX/templates')
-rw-r--r--roles/MX/templates/etc/postfix/virtual/transport.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/MX/templates/etc/postfix/virtual/transport.j2 b/roles/MX/templates/etc/postfix/virtual/transport.j2
index 69a8c83..49f3696 100644
--- a/roles/MX/templates/etc/postfix/virtual/transport.j2
+++ b/roles/MX/templates/etc/postfix/virtual/transport.j2
@@ -15,6 +15,7 @@
# unknown in virtual alias table".
reserved.fripost.org reserved-alias:
+discard.fripost.org discard:
{% if 'LDA' in group_names %}
mda.fripost.org smtpl:[127.0.0.1]:{{ postfix_instance.IMAP.port }}