Skip to content

Commit

Permalink
Fix to set socket to listen on interface (DKIM)
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Apr 22, 2020
1 parent 51daf83 commit e0ab5e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dkim-lib.pl
Expand Up @@ -471,6 +471,13 @@ sub enable_dkim
}
&save_open_dkim_config($dkim_config,
"Domain", $domfile);

# Set socket to listen on interface
if (!$conf->{'Socket'} ||
$conf->{'Socket'} =~ /^local:/) {
&save_open_dkim_config($dkim_config,
"Socket", "inet:8891\@localhost");
}
}
else {
# Work out mapping file
Expand Down

0 comments on commit e0ab5e9

Please sign in to comment.