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

    Joined:
    Feb 17, 2002
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    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?

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

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    168
    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.

    Code:
     accept  hosts = +auth_relay_hosts
              endpass
              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...
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