Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
c5532ea0
Commit
c5532ea0
authored
May 15, 2018
by
Florian Pritz
Browse files
Update archwiki to add bounce handler
Signed-off-by:
Florian Pritz
<
bluewind@xinu.at
>
parent
af44e3ac
Changes
5
Hide whitespace changes
Inline
Side-by-side
roles/archwiki/defaults/main.yml
View file @
c5532ea0
...
...
@@ -3,7 +3,7 @@ archwiki_dir: '/srv/http/archwiki'
archwiki_domain
:
'
wiki.archlinux.org'
archwiki_user
:
'
archwiki'
archwiki_repository
:
'
https://git.archlinux.org/vhosts/wiki.archlinux.org.git'
archwiki_version
:
0f28357b1b8fb439a34eb65d7c4d8b697aeff4d9
archwiki_version
:
57692389bde1df1bcf39d09ba68be8a59164218b
archwiki_socket
:
'
/run/php-fpm/archwiki.socket'
...
...
roles/archwiki/templates/LocalSettings.php.j2
View file @
c5532ea0
...
...
@@ -43,6 +43,8 @@ $wgSMTP = array(
#'password' => "my_password" // Password to use for SMTP authentication (if being used)
);
$wgBounceHandlerInternalIPs
=
[{{
hostvars
[
'orion.archlinux.org'
][
'ipv4_address'
]}},
{{
hostvars
[
'orion.archlinux.org'
][
'ipv6_address'
]}}];
# End of automatically generated settings.
# Add more configuration in the file included below.
...
...
roles/postfix/tasks/main.yml
View file @
c5532ea0
...
...
@@ -13,6 +13,7 @@
-
transport
-
aliases
-
relay_transport_map
-
users.pcre
-
name
:
install additional files
copy
:
src={{item}} dest=/etc/postfix/{{item}} owner=root group=root mode=0644
...
...
roles/postfix/templates/aliases.j2
View file @
c5532ea0
...
...
@@ -28,3 +28,5 @@ abuse: postmaster
decode: root
devnull: /dev/null
wiki_bounce: "|curl -d action=bouncehandler --data-urlencode email@- https://wiki.archlinux.org/api.php"
roles/postfix/templates/main.cf.j2
View file @
c5532ea0
...
...
@@ -173,6 +173,7 @@ alias_database = ${indexed}/aliases
virtual_alias_maps =
${indexed}/users
${indexed}/mailman_compat
pcre:${config_directory}/users.pcre
virtual_alias_domains = ${indexed}/domains
# reject mails to system users (nobody looks in those mailboxes)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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