Such receiver shall take possession of all notes, due bills, books of account, accounts and all other evidences of debt, that have been taken by the sheriff or other officer as the property of the defendant in attachment, and shall proceed to settle and collect the same. For that purpose, he may commence and maintain actions in his own name as such receiver but in such actions no right of defense shall be impaired or affected.