A handshake is always appropriate (but not obligatory) when greeting or leaving, regardless of the relationship. Remove your gloves before shaking hands. Don't shake hands over a threshold (Russian folk belief holds that this action will lead to an argument).