I am trying to enable DKIM signing in Virtualmin per these instructions.
When I save the changes, it begins adding DKIM records to the various virtual domains, until it hits a specific domain which has lots of alias domains. It stops with this error:
Failed to save DKIM settings : Missing file to open at virtual_server::/usr/libexec/webmin/virtual-server/feature-dns.pl line 2782
The applicable code in this .pl file is:
else {
# On local BIND
$file = &get_domain_dns_file($ad);
>> line 2782: &open_tempfile(EMPTY, ">$file", 0, 1);
&close_tempfile(EMPTY);
&create_alias_records($file, $ad,
$ad->{'dns_ip'} || $ad->{'ip'});
$recs = [ get_domain_dns_records($ad) ];
}
Then I tried adding this domain to the box "Never sign domains". It still hung at the same domain, this time trying to "remove DKIM records".
Virtualmin version 4.04 GPL Webmin version: 1.660 Linux version: Centos 6.5 64-bit Running Postfix, Dovecot, Bind, Apache HTTP 2.x etc. Multiple virtual domains in Virtualmin
Thanks for any help.