Patches for check_postfix [sf#1245831] [#548]