Compare commits

...

11 Commits

Author SHA1 Message Date
9f6080e0a7 Bugfix: debug-logging of Tenant-ID returns None 2022-02-04 20:03:39 +01:00
cd8572cfe0 Bugfix: do not compare domain data case-sensitive! 2022-02-04 18:36:25 +01:00
Dominik Chilla
5d60e86eac
Merge pull request #36 from chillout2k/devel
https://github.com/chillout2k/ExOTA-Milter/issues/35
2021-07-09 11:51:37 +02:00
Dominik Chilla
5ab956ea48
Merge pull request #34 from chillout2k/devel
more reflective policy debugging
2021-07-07 09:15:23 +02:00
Dominik Chilla
aaba82cd69
Merge pull request #33 from chillout2k/devel
Do more cleanup due to connection reusing + additional miltertests + more debugging
2021-07-07 01:43:05 +02:00
Dominik Chilla
31a3a43705
Merge pull request #32 from chillout2k/devel
Bugfix (#31) + core logging-module + extended debug logging
2021-06-27 11:19:14 +02:00
Dominik Chilla
dad1bf9171
Merge pull request #30 from chillout2k/devel
reflect policy in debug mode after fetch
2021-06-24 14:58:45 +02:00
Dominik Chilla
73fdddc144
Merge pull request #28 from chillout2k/devel
LDAP policy backend - https://github.com/chillout2k/ExOTA-Milter/issues/19
2021-02-21 22:30:53 +01:00
Dominik Chilla
25be69c9d9
Merge pull request #27 from chillout2k/devel
DKIM alignment policy override
2021-01-31 17:09:50 +01:00
Dominik Chilla
9f07b97158
Merge pull request #26 from chillout2k/devel
DKIM alignment docs
2021-01-31 15:44:51 +01:00
Dominik Chilla
f0d9e319cb
Merge pull request #25 from chillout2k/devel
DKIM alignment
2021-01-08 17:30:15 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -204,7 +204,7 @@ class ExOTAMilter(Milter.Base):
# Parse non-standardized X-MS-Exchange-CrossTenant-Id header
elif(name.lower() == "X-MS-Exchange-CrossTenant-Id".lower()):
log_debug(self.mconn_id + "/" + str(self.getsymval('i')) +
"/HDR: Tenant-ID: {0}".format(self.hdr_tenant_id)
"/HDR: Tenant-ID: {0}".format(hval.lower())
)
if self.hdr_tenant_id_count > 0:
if not self.hdr_tenant_id == hval.lower():
@ -229,7 +229,7 @@ class ExOTAMilter(Milter.Base):
if ar_result.method == 'dkim':
if ar_result.result == 'pass':
self.passed_dkim_results.append({
"sdid": ar_result.header_d
"sdid": ar_result.header_d.lower()
})
log_debug(self.mconn_id + "/" + str(self.getsymval('i')) +
"/HDR: DKIM passed SDID {0}".format(ar_result.header_d)

View File

@ -57,7 +57,7 @@ end
if mt.header(conn, "Authentication-RESULTS", "my-auth-serv-id;\n dkim=pass header.d=yad.onmicrosoft.comx header.s=selector1-yad-onmicrosoft-com header.b=mmmjFpv8") ~= nil then
error "mt.header(Subject) failed"
end
if mt.header(conn, "Authentication-RESULTS", "my-auth-serv-id;\n dkim=pass header.d=chillout2k.de header.s=selector1-yad-onmicrosoft-com header.b=mmmjFpv8") ~= nil then
if mt.header(conn, "Authentication-RESULTS", "my-auth-serv-id;\n dkim=pass header.d=Chillout2k.de header.s=selector1-yad-onmicrosoft-com header.b=mmmjFpv8") ~= nil then
error "mt.header(Subject) failed"
end
if mt.header(conn, "Authentication-Results", "my-auth-serv-id;\n dkim=fail header.d=yad.onmicrosoft.com header.s=selector2-asdf header.b=mmmjFpv8") ~= nil then