Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
bb1fee7a
Commit
bb1fee7a
authored
Jul 22, 2017
by
Florian Pritz
Browse files
postfix: Add relay_transport_map for patchwork relaying
Signed-off-by:
Florian Pritz
<
bluewind@xinu.at
>
parent
d32ce421
Changes
3
Hide whitespace changes
Inline
Side-by-side
roles/postfix/tasks/main.yml
View file @
bb1fee7a
...
...
@@ -12,6 +12,7 @@
-
master.cf
-
transport
-
aliases
-
relay_transport_map
-
name
:
install additional files
copy
:
src={{item}} dest=/etc/postfix/{{item}} owner=root group=root mode=0644
...
...
@@ -38,6 +39,7 @@
-
access_recipient
-
transport
-
relocated
-
relay_transport_map
-
name
:
create dhparam
2048
command
:
openssl dhparam -out /etc/postfix/dh2048.pem 2048 creates=/etc/postfix/dh2048.pem
...
...
roles/postfix/templates/main.cf.j2
View file @
bb1fee7a
...
...
@@ -168,15 +168,13 @@ virtual_alias_maps =
${indexed}/users
${indexed}/mailman_compat
virtual_alias_domains = ${indexed}/domains
{% endif %}
{% if postfix_server %}
# reject mails to system users (nobody looks in those mailboxes)
local_recipient_maps =
${indexed}/users
$alias_maps
${indexed}/mailman_compat
#
${indexed}/
temporary_mailman
_map
s
${indexed}/
relay_transport
_map
relocated_maps = ${indexed}/relocated
{% endif %}
...
...
@@ -187,6 +185,7 @@ relay_domains =
transport_maps =
${indexed}/transport
${indexed}/relay_transport_map
#${indexed}/temporary_mailman_maps
{% if postfix_patchwork_enabled %}
...
...
roles/postfix/templates/relay_transport_map.j2
0 → 100644
View file @
bb1fee7a
{% if not postfix_patchwork_enabled %}
patchwork@archlinux.org smtp:[patchwork.archlinux.org]
{% endif %}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment