[fix] (for 3.5) delete DMARC and SPF and DKIM in cascade when del_mx_domain
This commit is contained in:
parent
b50f028e0e
commit
ad6bb372ea
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue