Filter Authentication-Results to keep only local ones

This commit is contained in:
nemunaire 2025-10-24 16:12:19 +07:00
commit 932bc981b5
2 changed files with 29 additions and 1 deletions

View file

@ -270,6 +270,8 @@ func TestParseLegacyDKIM(t *testing.T) {
}
func TestParseLegacyDKIM_Integration(t *testing.T) {
hostname = ""
// Test that parseLegacyDKIM is properly integrated into AnalyzeAuthentication
t.Run("Legacy DKIM is used when no Authentication-Results", func(t *testing.T) {
analyzer := NewAuthenticationAnalyzer()