Transfer setting to a new machine?

I just got a new MacBook and I would like to transfer my spam setting (the corpus?) to the new computer.

Is there a way to do that?

Yes, please see this page.