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!

Block User From Sending Email

Discussion in 'E-mail Discussion' started by speckados, Dec 14, 2015.

  1. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    325
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Pastrana :: Guadalajara :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    I see this post, but not work.. there're older and a think best option put a new post.

    How Do I Block One Domain From Sending Email From My Server?

    Advance editor
    Section Config

    domainlist blocked_domains : lsearch;/etc/blockedsenderdomains


    Section: ROUSTART
    reject_domains:

    driver = redirect
    # RBL Blacklist incoming hosts
    domains = blocked_domains
    allow_fail
    data = :fail: Connection rejected: SPAM source $domain is manually blacklisted.

    File /etc/blockedsenderdomains contain domain I like block for send domain.

    Restart exim, etc...

    But of any put exploit or php file when mail function.

    I think it's because sender (php fastcgi) it's users system and not domain.

    How I can to block a user sender?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,451
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Could you elaborate on this? For instance, what's happening after you enable this customization?

    Thank you.
     
    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