Spamassassin, Razor[2] Dcc firewall ports question

Hi All,
What ports tcp/udp/in/out do I need to be open in the firewall for all 3 of them?
Kind regards,
Nico