In playdota about Blade Mail, blow sentence is writen:
Returns any damage you take (after reductions) to the unit that dealt the damage (you still take the damage as well)
But physical or magical didn`t be mention.
Yes- all damage types, potentially even HP removal, are redirected to their source. This definitely includes both physical and magical damage.