Hello,
I have a cisco ironport esa wich provide the following kind of log:
Jun 06 14:00:07 mail_logs4: Info: MID 62990685 Subject '=?ISO-8859-1?B?SWYgeW91IGNhbiByZWFkIHRoaXMgeW8=?=\r\n\t=?ISO-8859-2?B?dSB1bmRlcnN0YW5kIHRoZSBleGFtcGxlLg==?=\r\n\t=?ISO-8859-2?B?dSB1bmRlcnN0YW5kIHRoZSBleGFtcGxlLg==?=\r\n\t=?ISO-8859-2?B?dSB1bmRlcnN0YW5kIHRoZSBleGFtcGxlLg==?='
Does anyone have developed a (lua) parser to decode the encoded subject to human readable format?
(online decoder Online MIME Headers Decoder (RFC 2047))
Okay I have a working one!
Here is the code attached below.