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.

Special Mail Routing/accepting rules?

Discussion in 'E-mail Discussions' started by bobbybobbertson, Nov 12, 2006.

  1. bobbybobbertson

    bobbybobbertson Well-Known Member

    Joined:
    May 30, 2003
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    I know you can assign a "default" email address that allows you to accept <anything>@yourdomain.com

    Obviously this isn't the best idea, as the server will accept all spam and returned failed emails to <anything>@yourdomain.com

    I do however, love the fact that I can make up an address and be able to receive email at that address, without having to log into cpanel and create the email address. For instance, if I purchase something from BestBuy, the email address I give them is BestBuyCom@mysite.com.

    This is actually great, because I can tell when I start getting spam to the account, where the email was stolen from. Plus, I can filter it a separate folder, if it starts getting a TON of spam. (So far both BestBuyCom@mysite.com and AmeritradeCom@mysite.com have started getting spam... interesting.. eh?)

    Now my problem is that I'm starting to get about 900 returned mails a day to junk email addresses like ksdjfk@mysite.com. These are returned mails from computers out that that probably have a virus that is sending out emails as random addresses at mydomain. When they send to an email address that doesn't exist, the email gets returned to my server.

    So I'd like to keep my ability to make up addresses on the fly without having to create new email accounts.

    So I'm curious if there is a way to set up the following rule set for accepting email:

    Allow: myemail@mysite.com (email address created in cpanel)
    Allow: myotheremail@mysite.com (another email address created in cpanel)
    Allow: *com@mysite.com (allow me to dynamically make up email addresses and receive them to a default account, so long as they end in com@mysite.com)
    Reject: everything else (rejects stuff like kfjkd@mysite.com)
     
Loading...

Share This Page