[fix] (for 3.5) delete DMARC and SPF and DKIM in cascade when del_mx_domain

This commit is contained in:
Benjamin Sonntag 2018-10-23 19:23:14 +02:00
parent b50f028e0e
commit ad6bb372ea
1 changed files with 1 additions and 0 deletions

View File

@ -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;