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.

how to drop emails sent to non-existing account

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

  1. newbies

    newbies Active Member

    Joined:
    Jul 9, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    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:
    38
    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:
    1
    Thank you very much for the info.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    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.
     
  5. SarcNBit

    SarcNBit Well-Known Member

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

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    At least 6 months ago :eek:
     
  7. SarcNBit

    SarcNBit Well-Known Member

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

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    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 :)
     
  9. SarcNBit

    SarcNBit Well-Known Member

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

Share This Page