1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

whitelist email from a domain

Discussion in 'E-mail Discussions' started by ttremain, Sep 22, 2013.

  1. ttremain

    ttremain Member

    Joined:
    Feb 16, 2003
    Messages:
    202
    Likes Received:
    0
    Trophy Points:
    16
    I have a customer, who uses a host that seems to have many SMTP servers, and every week or two,
    he starts getting bounce messages when sending to me, that the current SMTP server is on some RBL
    and the email cannot be delivered to me.

    I can see in WHM, how to whitelist an IP, or range of IPs, but can I just whitelist all email addressed
    from *@domainx.com to prevent RBL checking?
     
  2. kernow

    kernow Member

    Joined:
    Jul 23, 2004
    Messages:
    790
    Likes Received:
    0
    Trophy Points:
    16
    If you have Mailscanner installed you can do this in Mailscanner>>>>MailScanner Front-End>>>>Server Spam Whitelist
     
  3. Aaron.Edwards

    Aaron.Edwards Member

    Joined:
    Sep 21, 2013
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Can you confirm whether RBL has blocked, or some other third party spam blockers ?

    Can you post the exim error log here in order to check ? Normally there might be some spamming issues in the server (Out going spam) which makes the server's ip to be blacklisted.

    On identifying the spam origin, request your customer to check with the exim configuration and server security. If you require more help on this, let me know.
     
  4. ttremain

    ttremain Member

    Joined:
    Feb 16, 2003
    Messages:
    202
    Likes Received:
    0
    Trophy Points:
    16

    Bounce message:

    XXX.XX.XX.XX does not like recipient.
    Remote host said: 550-"JunkMail rejected - oproxy14-pub.mail.unifiedlayer.com
    550-[67.222.51.224]:49314 is in an RBL, see Currently Sending Spam See:
    550 http://www.sorbs.net/lookup.shtml?67.222.51.224"

    Looks to me, to be just what I said, the customer's email server is/was temporarily blacklisted.
    Please remember, this is an email bounce from a customer email coming TO me, on one of my
    cpanel servers. My server is rejecting it, just like it's configured to do.

    Last week it was a different host address, but from the same email address.

    The IP's are not even in a single class-c, which is why I would like to whitelist
    the email address, or email domain, and cannot just whitelist the IP.

    - - - Updated - - -

    I have installed mailscanner from ConfigServer, and I don't see any such configuration available in WHM, just the rules files to manually modify.
     
  5. ttremain

    ttremain Member

    Joined:
    Feb 16, 2003
    Messages:
    202
    Likes Received:
    0
    Trophy Points:
    16
    Sometimes it's his web host's SMTP server that is getting blocked, and sometimes it's his DSL IP (that keeps changing) that is getting blocked.

    Sounds like his ISP needs to learn how to block port 25, but until then.... I want to whitelist all email that comes "FROM" his domain, or email address.
     
  6. cPanelMichael

    cPanelMichael Well-Known Member
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    17,523
    Likes Received:
    26
    Trophy Points:
    48
    Hello :)

    There are no native options that will allow email from specific domain names because Exim blocks/allows by hostname or IP address. However, you may be able to implement some custom ACL rules that allow certain domain names to bypass the RBL Filters. Here is an example of a thread where this is discussed:

    Support for bypassing RBL checks

    It's an older thread so it may require some additional modifications. Note that custom modifications to the Exim configuration file should occur in:

    "WHM Home » Service Configuration » Exim Configuration Manager » Advanced Editor"

    Thank you.
     
  7. GiviN.G

    GiviN.G New Member

    Joined:
    Sep 30, 2014
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Is it possible to set for email in a cPanel account to receive from a set of domains/IPs?

    Is it possible server wide or account wise?

    Thank you,
     
  8. cPanelMichael

    cPanelMichael Well-Known Member
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    17,523
    Likes Received:
    26
    Trophy Points:
    48
    Could you provide a specific example of what you are requesting?

    Thank you.
     
  9. GiviN.G

    GiviN.G New Member

    Joined:
    Sep 30, 2014
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hello Michael,

    Thank you for the reply.

    For example, my email is givin@example.com and I want to receive from domains in few servers, so I want to set those IPs or domain names in whitelist and reject all other.

    Is there some functionality in cPanel?

    Thank you,
     
  10. cPanelMichael

    cPanelMichael Well-Known Member
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    17,523
    Likes Received:
    26
    Trophy Points:
    48
    Are the existing whitelist and blacklist options sufficient? You can find them under the "Access Lists" tab in:

    "WHM Home » Service Configuration » Exim Configuration Manager"

    Thank you.
     

Share This Page