Patches for check_queuepostfix [sf#1172222] [#556]