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 stop receiving mails from a particular domain

Discussion in 'E-mail Discussion' started by crazyaboutlinux, Nov 27, 2015.

  1. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    941
    Likes Received:
    0
    Trophy Points:
    66
    Hello,

    How do I stop receiving email from Spammers on my server?

    one of my customer getting daily 500+ spam mails from following ids
    Code:
    you@domain.com
    *@domain.com
    you@example.club
    *@example.club
    you@rouac.top
    *@rouac.top
    you@mydomain.xyz
    *@mydomain.xyz
    
    What i wan to to do is, I want block above domains or an entire .TLD to receive any more spam mails from them?
     
    #1 crazyaboutlinux, Nov 27, 2015
    Last edited by a moderator: Nov 27, 2015
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,834
    Likes Received:
    85
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello :),

    Can you please try with the following steps, Create /etc/eximblacklist file and add your domain list.

    WHM >> Exim configuration editor >> Advanced Editor.

    Add the below lines in the first section.

    Code:
    domainlist exim_blacklist = lsearch;/etc/eximblacklist
    Now add inside the section under "ROUTERS CONFIGURATION "

    Code:
    reject_domains:
    
    driver = redirect
    # RBL Blacklist incoming hosts
    domains = +exim_blacklist
    allow_fail
    data = :fail: Connection rejected: SPAM source $domain is manually blacklisted
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    941
    Likes Received:
    0
    Trophy Points:
    66
    Hi

    Thanks for giving me solutions

    I am unable to add lint "
    domainlist exim_blacklist = lsearch;/etc/eximblacklist"
    at
    WHM >> Exim configuration editor >> Advanced Editor.

    Can you please show me snap?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Does this user have the "Default Address" setup properly in his cPanel?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    506
    Likes Received:
    4
    Trophy Points:
    168
    I found this Need to filter ALL email specifically the cpanel_exim_system_filter_custom file with rules very helpful. It may help you also.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,320
    Likes Received:
    1,851
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, as mentioned, the following thread should help answer this question:

    Need to filter ALL email

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    941
    Likes Received:
    0
    Trophy Points:
    66
    Of-course the current setting is

    "Current Setting::fail: No Such User Here" I guess it is the correct setting as suggested by cPanel in knowledgebase
     
  8. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    941
    Likes Received:
    0
    Trophy Points:
    66
    I can't believe this, our clients is getting too many spam emails from list below

    - Removed -
     
    #8 crazyaboutlinux, Dec 3, 2015
    Last edited by a moderator: Dec 3, 2015
  9. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    We don't need to know the email addresses of the spammers.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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