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.

Block User From Sending Email

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

  1. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: 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?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

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

    Thank you.
     
Loading...

Share This Page