Stopping emails to un-assigned email boxes?

Discussion in 'Site & Server Administration' started by crazybjörn, Jan 24, 2007.

  1. #1
    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.
     
    crazybjörn, Jan 24, 2007 IP
  2. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #2
    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.
     
    Colbyt, Jan 24, 2007 IP
    crazybjörn likes this.
  3. crazybjörn

    crazybjörn Peon

    Messages:
    270
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you, found it under "Default Address" :)
     
    crazybjörn, Jan 24, 2007 IP