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!

how to drop emails sent to non-existing account

Discussion in 'E-mail Discussion' started by newbies, Aug 27, 2004.

  1. newbies

    newbies Active Member

    Joined:
    Jul 9, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    How can I set cpanel to drop any emails sent to non-existing account? Now my default account gets so many spam.

    I know DirectAdmin allows to do that, but don't know how to do it in cpanel.

    thank you for your help.
     
  2. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    168
    Setting your default account to forward to either :fail: or :blackhole: (both with the colons) will stop message delivery for all addresses not setup on your account.

    :fail: will create a "bounce" message to the sender

    :blackhole: will simply discard the message
     
  3. newbies

    newbies Active Member

    Joined:
    Jul 9, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    151
    Thank you very much for the info.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    The cPanel exim configuration doesn't work that way now, with the verify = recipient rule that is in the standard ACL list ;)

    :fail: will give a RCPT rejection at the SMTP level and not accept the mail (no bounce)
    :blackhole: will accpt the whole email and then discard during filter processing

    So, :fail: is the way to go now since you don't even accept the email for delivery.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    168
    When did that happen?
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    At least 6 months ago :eek:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    168
    Then why is this happening? :confused: :(
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    I didn't read it indepth ;) but because :fail: is rejecting the mail it never gets to the autoresponder, whereas with :blackhole: the mail is accepted and the auto-responder routine in exim is being picked up before the mail is thrown away. Something like that anyway, though I may have misread it :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    168
    It does get to the autoresponder. The sender gets two messages, the auto response and a bounce. :eek:
     
Loading...

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