From ad6bb372eab3870170adc89b571ea376738c6176 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Tue, 23 Oct 2018 19:23:14 +0200 Subject: [PATCH] [fix] (for 3.5) delete DMARC and SPF and DKIM in cascade when del_mx_domain --- bureau/class/m_mail.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bureau/class/m_mail.php b/bureau/class/m_mail.php index 52c90f25..ed1c08bc 100644 --- a/bureau/class/m_mail.php +++ b/bureau/class/m_mail.php @@ -1197,6 +1197,7 @@ ORDER BY * Delete a domain from OpenDKIM configuration */ function dkim_del($domain) { + global $db; $target_dir = "/etc/opendkim/keys/$domain"; if (file_exists($target_dir)) { $this->shouldreloaddkim=true;