diff --git a/roles/mailman/files/post-update.sh b/roles/mailman/files/post-update.sh index b16d4dade0..f04228f6cf 100755 --- a/roles/mailman/files/post-update.sh +++ b/roles/mailman/files/post-update.sh @@ -21,6 +21,9 @@ chmod g+w -R $INDEXDIR # Give database rights to the non-admin user $BASEDIR/bin/pg-give-rights.py +# SELinux contexts +restorecon -r "$BASEDIR" + # Reload Apache to flush the python cache systemctl reload httpd # Restart Mailman3 since kittystore was updated diff --git a/roles/mailman/templates/postfix-main.cf.j2 b/roles/mailman/templates/postfix-main.cf.j2 index 9d0c830dd9..3d50a7390e 100644 --- a/roles/mailman/templates/postfix-main.cf.j2 +++ b/roles/mailman/templates/postfix-main.cf.j2 @@ -314,7 +314,7 @@ unknown_local_recipient_reject_code = 550 #relayhost = [mailserver.isp.tld] #relayhost = uucphost #relayhost = [an.ip.add.ress] -relayhost = bastion +relayhost = bastion.phx2.fedoraproject.org # REJECTING UNKNOWN RELAY USERS