refactor(amavis): move dkim key config to own file

using a seperate file for the DKIM key configuration enables the user
to easily configure with their settings.

MR !4
This commit is contained in:
2022-02-16 14:17:26 +09:30
parent f6cf41eaed
commit 53e0cdd171
2 changed files with 18 additions and 16 deletions

View File

@ -1,19 +1,3 @@
dkim_key(
'example.org',
'dkim',
'/certs/amavis/dkim/example.org.dkim.pem'
);
@dkim_signature_options_bysender_maps = (
{
"example.org" => {
d => 'example.org',
a => 'rsa-sha256',
ttl => 10*24*3600
}
}
);
$enable_dkim_signing = 1;

View File

@ -0,0 +1,18 @@
dkim_key(
'example.org',
'dkim',
'/certs/amavis/dkim/example.org.dkim.pem'
);
@dkim_signature_options_bysender_maps = (
{
"example.org" => {
s => 'dkim',
d => 'example.org',
a => 'rsa-sha256',
ttl => 10*24*3600
}
}
);