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 Specific Email to Specific User

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

  1. fuzzie

    fuzzie Well-Known Member

    Joined:
    Oct 12, 2002
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    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

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    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 = s123@yahoo.com
    condition = ${if match {$sender_fullhost}{\Ns123@yahoo.com$\N}{no}{yes}}
     
Loading...

Share This Page