How to uninstall Spamassassin

[root@server ~]# sudo /etc/postfix/master.cf
sudo: /etc/postfix/master.cf: command not found
[root@server ~]#