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 sending mail for one domain?

Discussion in 'E-mail Discussion' started by handsonhosting, Jan 12, 2005.

  1. handsonhosting

    handsonhosting Well-Known Member

    Feb 17, 2002
    Likes Received:
    Trophy Points:
    Omaha, NE
    cPanel Access Level:
    Root Administrator
    Is it possible to set up a block on a single domain on the server so that the user can not send mail from that account?

    We have a user with a spam problem currently and while the account is suspended no mail goes out - but we'd like to have the user access the server to fix the script problems without incurring hundreds of messages going out as spam.

    Anyone got a simple solutionon something like that?

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. lloyd_tennison

    lloyd_tennison Well-Known Member

    Mar 12, 2004
    Likes Received:
    Trophy Points:
    I think the fastest way would be to change the DNS zone - if you did want any incoming mail to reach them either.

    Otherwise modifying this line in exim.conf would probably do the trick. Just make them not allowed.

     accept  hosts = +auth_relay_hosts
              message = $sender_fullhost is currently not permitted to \
                            relay through this server. Perhaps you \
                            have not logged into the pop/imap server in the \
                            last 30 minutes or do not have SMTP Authentication turned on in your email client.
              authenticated = *
    Add a deny hosts.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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