1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-12-01 05:43:04 +00:00

Add common DKIM headers (#1218)

Add commonly used headers to DKIM signatures
هذا الالتزام موجود في:
Dmitriy Alekseev
2020-09-30 18:04:36 +03:00
ملتزم من قبل GitHub
الأصل 8d44c90188
التزام 71b059f9d2

عرض الملف

@@ -32,7 +32,7 @@ module Postal
def normalized_headers
Array.new.tap do |new_headers|
headers.select { |h| h.match(/^(to|from|date|subject|message-id):/i) }.each do |h|
headers.select { |h| h.match(/^(from|sender|reply-to|subject|date|message-id|to|cc|mime-version|content-type|content-transfer-encoding|resent-to|resent-cc|resent-from|resent-sender|resent-message-id|in-reply-to|references|list-id|list-help|list-owner|list-unsubscribe|list-subscribe|list-post):/i) }.each do |h|
new_headers << normalize_header(h)
end
end