trusteddomainproject/OpenDMARC

header too large

Opened this issue · 0 comments

it appears that microsoft is creating insanely huge header on emails and this causing opendmarc to tempfail.
is there a work around if to make it not parse some headers with wildcard x-ms-exchange-antispam-* ?

/opt/opendmarc/sbin/opendmarc -t /tmp/test.eml -c /opt/opendmarc/opendmarc.conf
opendmarc: /tmp/test.eml: line 96: header 'x-ms-exchange-antispam-messagedata-0:
=?utf-8?B?SlJuZTlNNU1LTkNZYTJpbSt5T05sOUQzRG9RblpMcmIzcEYyWjg4Rjd5NDI2?=
=?utf-8?B?Rm5oSCtuZkZwckR1WEk1a2VOYVQ3VnUxSVR5SWhZNUFwS25wa1FCWWh1QVJU?=
=?utf-8?B?TWhYTllxalJsNS9lMHpZdW40TEMrWlNVK1l6blh4eGxPWWVka2taT0J5aDFE?=
=?utf-8?B?ODhEMzlLeGlpRFlrelp0N1ZxbUMvSmlQdCswbW9UYklXdit4RmJpRzhSU08x?=
=?utf-8?B?dXBHTkVlZndLYVdlNlN5VnowSC9kZDZZVjZUOC9yMFJRNjdKbGh3RUVmM3cw?=
=?utf-8?B?NjMwL21qeEdUUWZFZnhxTUFweUNleDU4MkFxRFc5ekJsTEpuVW5VYTdEU28v?=
=?utf-8?B?L1VlaHFGNE1INTN3QWZMR25aUWM2citCbXNuQWpBSVI1Y2h4UjllMEpkckdD?=
=?utf-8?B?bkMzMzVYbHhPVndTOGZndlNxb2N1eExWWlVUL3hnUWtWWHRYU2k3anIwYlRC?=
=?utf-8?B?WktnMVBSYmh0TDl0akFOZzIrcGtBWkdveVVrZE85aEZ5M0hGWWJTZkVCMlF5?=
=?utf-8?B?ME55alJlb1VMYWVnTGtlaHl6NFFTWmF2Uk1iQ3BrVXE0U09reHprUU5CU0FY?=
=?utf-8?B?ZVhXRnJzWjhqVXczRE5tTzBmV3YvdGw0ZVlvcGVrRWEzV3ZEQXRabmVaUGpP?=
=?utf-8?B?NGtxSnlMcjVRT2ZFQjBHeWtwZld3N0VzTXVWdk92a29JRjFzYjFrRU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