The sentence is theoretically grammatical. It would probably be more grammatical as: I am just a name, for those with whom I leave my remembrances. However, how would you use this sentence?
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.