mirror of
https://github.com/chillout2k/ExOTA-Milter.git
synced 2025-12-13 18:30:17 +00:00
Bugfix: debug-logging of Tenant-ID returns None
This commit is contained in:
parent
cd8572cfe0
commit
9f6080e0a7
@ -204,7 +204,7 @@ class ExOTAMilter(Milter.Base):
|
|||||||
# Parse non-standardized X-MS-Exchange-CrossTenant-Id header
|
# Parse non-standardized X-MS-Exchange-CrossTenant-Id header
|
||||||
elif(name.lower() == "X-MS-Exchange-CrossTenant-Id".lower()):
|
elif(name.lower() == "X-MS-Exchange-CrossTenant-Id".lower()):
|
||||||
log_debug(self.mconn_id + "/" + str(self.getsymval('i')) +
|
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 self.hdr_tenant_id_count > 0:
|
||||||
if not self.hdr_tenant_id == hval.lower():
|
if not self.hdr_tenant_id == hval.lower():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user