On Thu, Dec 19, 2013 at 04:49:46PM +0530, tejas sarade wrote: > warning: subject: =?utf-8?B?QVBMIE...... ... > Is there any way the the logged warning subject in Postfix logs can be > displayed the way mail client does.
I suggest you run the log through a script that decodes the encoded UTF. A perl one-liner should do it: $ cat test.log something warning: subject: testing four a's:=?UTF-8?B?IGHDg8Khw4PCoMODwqQ=?= end something else $ cat test.log | perl -MEncode=decode -ne 'print (decode("MIME-Header", "$_"))' something warning: subject: testing four a's: aáàä end something else $