Skip to content

Commit

Permalink
Restore X-Header for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Murray S. Kucherawy committed May 4, 2015
1 parent 6c5b2e6 commit 9480591
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion opendkim/opendkim.c
Original file line number Diff line number Diff line change
Expand Up @@ -6490,9 +6490,24 @@ dkimf_config_load(struct config *data, struct dkimf_config *conf,

if (!conf->conf_addswhdr)
{
(void) config_get(data, "SoftwareHeader",
(void) config_get(data, "X-Header",
&conf->conf_addswhdr,
sizeof conf->conf_addswhdr);

if (conf->conf_addswhdr)
{
if (conf->conf_dolog)
{
syslog(LOG_WARNING,
"\"X-Header\" deprecated; use \"SoftwareHeader\" instead");
}
}
else
{
(void) config_get(data, "SoftwareHeader",
&conf->conf_addswhdr,
sizeof conf->conf_addswhdr);
}
}

(void) config_get(data, "DomainKeysCompat",
Expand Down

0 comments on commit 9480591

Please sign in to comment.