Right, so I have a webpage/forums which are quite popular, and because of that, I get loads of spam. All of which gets sent to email addresses that haven't even been assigned/created in cpanel. And now due to high amount of email traffic, spamassasin is slowing down the whole server by trying to deal with all the emails. Now to my question, is there any way to set my server up so that it just denies/refuses to accept all emails that have been sent to un-assigned addresses, or maybe I could configure it somehow so that it only delivers emails to the addresses that I pick? It's VPS server, so I have access to cpanel/whm/shell.
Within the cPanel manage mail section there is an option to send all unrouted mail to: bounced or blackhole. The choice is yours. Blackhole just deletes it and bounced returns it to the send with a n"no such address" header. For the second part create a mail account for the ones you want to get and set up a permanent forward to you mailbox. Again this is done in the mail section.