The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

block / deflect a specific incoming email address?

Discussion in 'E-mail Discussions' started by spaceman, Dec 5, 2005.

  1. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    481
    Likes Received:
    0
    Trophy Points:
    16
    One of our hosting clients is getting hammered by incoming email messages from one of this customers (external mail server). The customer has a problem at their end (almost certainly a virus), and our client has asked if there's anything he can do (via cPanel), or us on his behalf (via WHM or command line) to block / deflect / reject email messages from a specific email address to his pop account(s). Currently, each time my clients hits send/receive he's got 10s or 100s of incoming messages to download from this one email address.

    Is there somrthing he/we can do? I've not been asked this before and can't see anything that allows me or him to do this.

    Thanks.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Forward it with cPanel. Under mail > Forwarders

    that@email.com >>> :fail:

    Or

    Under mail > Filters > add filter

    $message_body contains "that@email.com" Discard

    Or

    block the host. Add the IP to;

    /etc/apf/deny_hosts.rules

    Certainly one of those should work for you.
     
  3. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    481
    Likes Received:
    0
    Trophy Points:
    16
    Doh! Email filters - forgot about that one!

    Thanks!
     
Loading...

Share This Page