Please look at the following openfire smack forum posting:
I can’t tell if there is a relation between the im-gateway and the smack bug here. It seems like you guys are parsing on the first “@” sign whereas you should be parsing on the LAST “@” sign. If you need more logs, lemme know.
This bug might stop us from rolling our the newest smack api onto our production servers.