From dacc0d0b2c2b8d2fa290b4f48adb9e84e2e03071 Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Sun, 22 Mar 2020 22:17:15 -0400 Subject: [PATCH] Fix quarantine delivery button --- files/patches | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/patches b/files/patches index 9a9b4e0..baf2993 100755 --- a/files/patches +++ b/files/patches @@ -39,6 +39,11 @@ shopt -q expand_aliases||{ unalias -a;shopt -s expand_aliases;};builtin alias += }} }} +~ edit /opt/admin/src/AppBundle/CommandInternal/DeliverQuarantineCommand.php; {{ + # Quarantine "deliver" / deliver:quarantine should send to host, not localhost + - sub "\['msmtp', '-f'.*" "['msmtp', '--host', gethostname(), '-f', \$meta['from']];" +}} + ~ edit /etc/nginx/sites-enabled.templates/{no-,}https; {{ # Remove the listen lines that lack an address - del 'listen __HTTP_PORT__;'