Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member handsonhosting's Avatar
    Join Date
    Feb 2002
    Location
    Omaha, NE
    Posts
    150
    cPanel/Enkompass Access Level

    Root Administrator

    Default Block sending mail for one domain?

    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,

  2. #2
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    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.
    Lloyd F Tennison

Similar Threads & Tags
Similar threads

  1. How Do I Block One Domain From Sending Email From My Server?
    By ambition13 in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 05-23-2012, 06:19 AM
  2. how to block a single account from sending mail
    By kazineel in forum E-mail Discussions
    Replies: 2
    Last Post: 08-08-2009, 02:23 AM
  3. how to block a single account from sending mail
    By bapline in forum E-mail Discussions
    Replies: 0
    Last Post: 10-31-2007, 08:05 PM
  4. Block an IP from sending mail
    By myros in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 06-20-2004, 02:35 PM
  5. SMTP - How to block specific domain for sending mail?
    By netlook in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-08-2004, 02:15 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube