Saying Ya Rasool Allah as part of the salutation is permissible, but addressing him directly as if one is talking to him is prohibited.
Saying Ya Rasool Allah as part of the salutation is permissible, but addressing him directly as if one is talking to him is prohibited.