Cannot Connect to Server After installing Spamassasin

In these several days, my mail group received almost 30% spam email. i tried to find out how to handle it. i found the tread that suggest me to install and enable spamassasin. but after i install it, i cannot login to mail with notif “Cann’t connect to server”. Anyone can help me?