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 do you discard emails sent to other email address's please ?

Discussion in 'E-mail Discussions' started by _Chris_, Mar 11, 2008.

  1. _Chris_

    _Chris_ Active Member

    Joined:
    Oct 22, 2007
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    I have 15 email address's under one domain, but currently receive about 100-300 spam emails an hour where the spammers are doing dictionary attacks. Can anyone please let me know if there's any way within cPanel 11 somewhere, so that it would only allow through emails sent to the 15 email address's, but discard all other emails please ? I have googled and can't seem to find the solution to this particular scenario.

    Any help much appreciated.

    Chris.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    In cPanel > Mail section > Default Address, where does yours say its going to "Send all unrouted e-mail for:"
     
  3. _Chris_

    _Chris_ Active Member

    Joined:
    Oct 22, 2007
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Many thanks Infopro, I did think about having the default email set to fail, and then setting up an email account for all 15 email address's, which I guess would work, but I imagine, that I would then have to setup 15 email accounts in my email client ? ? and then every time it checked for emails, it would then have to check all 15 ? ? ;-(

    I'm a little unclear on the workings of it, so could do with a little guidance.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Why not create 1 email account and create forwarders for the other 14 so they all forward into a single account? Alternatively, you could just forward all 15 to another account, or whatever best suits your situation. That would eliminate the need for checking 15 mail accounts.

    Setting your default address to anything other than fail is a bad idea and will result in a flood of spam.
     
  5. _Chris_

    _Chris_ Active Member

    Joined:
    Oct 22, 2007
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Thanks David - it's appreciated. Are you saying that you can do both of those at the same time, on the same account ? ie, 14 email address's forwarding to one email account, which gets checked in the email client, AND also set to fail for other emails sent to anything other than the 15 email address's ? If so, how would you set all other emails to anything other than the 15 to fail with message please ?

    Chris.
     
  6. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Keep in mind, the default address is only used for email addresses that have not been explicitly set up with either an account or a forwarder. All (essentially non-existent) addresses wind up at the default address. So, yes - you can do both at the same time.

    To set the rest to fail with a message, simply go to your cPanel interface and in the Mail section click on Default Address. On that screen select Discard with error to sender (at SMTP time) and you can leave Failure Message (seen by sender): with its default value or put in a message of your own. That is up to you. Be sure to click Change when you are done to save the settings.
     
  7. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    you know this entire thread just remeinds me of the fact that almost no one really understands how forwarders work. I can't tell you how many clients of mine have email accounts on the server that they have never checked. They go in create an account and set up a forwarder to either a different inside or outside email address, They use the forwarder and never check or delete the emails in the account with the same name. They **think** that mail for that account will ONLY go to the forwarder and they also assume they NEED the local account. I get complaints all the time when client say people who email them get over quota warnings all the time and yet the hosting client gets the mail at the forwarder. The box locally fills up ... sends quota warnings out to all incoming senders and then delivers to the forwarder. The whole confusion in all of this has been for years. What we need is some system that notifies in the cPanel there there are forwarders AND accounts with the same name and to explain what will happen if the box is not checked ..OR explain better that setting up a forwarder does not mean an account needs to be made or something to explain this to people. I find GB's of mail boxes that have NEVER been checked for years all the time. In one day I confirmed the above cases with about 20 clients and deleted 2GB of email storage off one box with only 200 domains on it.

    people think a "forwarder" means the mail is forwarded like with the postal snail mail. If you move to another address ..you contact the post office and tell them your new address. The post office doesn't make copies of all you mail and store it for you. So it's confusing. Maybe we should it an alias or a forwarding alias or a alias forwarder?
     
    #7 rpmws, Mar 11, 2008
    Last edited: Mar 11, 2008
  8. cPanelBilly

    cPanelBilly Guest

    While I understand what you are saying you are talking about changing an industry term here... I dont think that will work
     
  9. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA

    term doesn't matter unless it will help better descripe what people are getting when they make one.
     
  10. _Chris_

    _Chris_ Active Member

    Joined:
    Oct 22, 2007
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Many thanks David - that has answered it completely.

    Much appreciated.

    Chris.
     
  11. _Chris_

    _Chris_ Active Member

    Joined:
    Oct 22, 2007
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Ok, just trying this, but just after setting up the forwarder, I got the message saying something like :

    All email sent to xxx@xxxx.com will now be copied to xxxxx@xxxx.com

    I would prefer the emails to be moved as opposed to copied really - and if it is being copied, where's the originals going to be kept ? ?

    Such are the mysteries of life :)
     
  12. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If xxx@ is only a forwarder (not an email account) then the email (for all practical purposes) is moved.

    We use the "copy" verbiage mostly for when people attempt to have an email account called xxx@ then create a forwarder for xxx@.
     
  13. _Chris_

    _Chris_ Active Member

    Joined:
    Oct 22, 2007
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Many thanks David, you're a star - a very helpful star :)
     
Loading...

Share This Page