Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Block Specific Email to Specific User

Discussion in 'E-mail Discussion' started by fuzzie, Aug 3, 2007.

  1. fuzzie

    fuzzie Well-Known Member

    Oct 12, 2002
    Likes Received:
    Trophy Points:
    OK, weird question time.
    I need to block a specific email from a specific user so that the email address can't be delivered to that user. Now for the complicated part. I need to make sure that email gets a bounced message.
    I can do it domain-wide, but only a fail which seems to go to NULL. I need to restrict it to just a single user, and it has to bounce.

    Any idea how I do that?
    Thanks so much!
  2. lloyd_tennison

    lloyd_tennison Well-Known Member

    Mar 12, 2004
    Likes Received:
    Trophy Points:
    I had this to block a sender (ages ago)- but can probably modify to a receiver:

    deny message = Quit Bothering Us. Get a life.
    log_message = John Doe - Go Away and Quit Bugging Us
    senders = [email protected]
    condition = ${if match {$sender_fullhost}{\[email protected]$\N}{no}{yes}}
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice