浏览代码

[Rspamd] Fix DKIM, fixes #3262

andryyy 5 年之前
父节点
当前提交
791e0831ad
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      data/conf/rspamd/local.d/dkim_signing.conf

+ 2 - 2
data/conf/rspamd/local.d/dkim_signing.conf

@@ -1,13 +1,13 @@
 # If false, messages with empty envelope from are not signed
 allow_envfrom_empty = false;
 # If true, envelope/header domain mismatch is ignored
-allow_hdrfrom_mismatch = true;
+allow_hdrfrom_mismatch = false;
 # If true, multiple from headers are allowed (but only first is used)
 allow_hdrfrom_multiple = true;
 # If true, username does not need to contain matching domain
 allow_username_mismatch = true;
 # If false, messages from authenticated users are not selected for signing
-auth_only = false;
+auth_only = true;
 # Default path to key, can include '$domain' and '$selector' variables
 path = "/data/dkim/keys/$domain.dkim";
 # Default selector to use