Putting contacts added by a transport into a specific group

Hi Everyone,

I’'m writing a small client app that connects to our own jabber server, running a MSN transport. I want to know, is there a way to move all the contacts added by the transport when you register, to a specific group. Would the RosterListener be the way to go? Is there any easier way? Also, slightly off topic, is there a way to do this on the server, without Smack?