Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jul 2002
    Posts
    18

    Default Deny SMTP?

    I am not that fimilar with Exim but is there a way to set up every domain created to be blocked from using SMTP? We just got hammered by a spammer yesterday and we are not going to let it happen again. I would like to have this so that it works for all of our resellers resold accounts as well. The only people that would have access would be the ones who submit the appropriate identifications and we could then manually add them to the allowed list.

    It appears that Cpanel automatically lets them use SMTP from account creation, unless I am missing something. It would be nice to have a place to choose if you want them to have smtp or not.
    Later,

    Jammer

  2. #2
    ozzi4648
    Guest

    Default

    [quote:bc265b164b][i:bc265b164b]Originally posted by Jammer2020[/i:bc265b164b]

    I am not that fimilar with Exim but is there a way to set up every domain created to be blocked from using SMTP? We just got hammered by a spammer yesterday and we are not going to let it happen again. I would like to have this so that it works for all of our resellers resold accounts as well. The only people that would have access would be the ones who submit the appropriate identifications and we could then manually add them to the allowed list.

    It appears that Cpanel automatically lets them use SMTP from account creation, unless I am missing something. It would be nice to have a place to choose if you want them to have smtp or not.

    [/quote:bc265b164b]

    Well if his a spammer changes are they are already on Spamcops and other RBL lists so you should try this.

    As root log into your server and edit /etc/exim.conf
    Find the section:

    # rbl_domains = rbl.maps.vix.com
    # rbl_domains = rbl.maps.vix.com

    under it add this:

    rbl_domains = bl.spamcop.net/reject : \
    relays.ordb.org/reject : \
    spews.relays.osirusoft.com/reject : \
    spamhaus.relays.osirusoft.com/reject : \
    blackholes.mail-abuse.org/reject : \
    dialups.mail-abuse.org/reject : \
    relays.mail-abuse.org/reject

    So it should end up looking like this:

    # rbl_domains = rbl.maps.vix.com
    # rbl_domains = rbl.maps.vix.com
    rbl_domains = bl.spamcop.net/reject : \
    relays.ordb.org/reject : \
    spews.relays.osirusoft.com/reject : \
    spamhaus.relays.osirusoft.com/reject : \
    blackholes.mail-abuse.org/reject : \
    dialups.mail-abuse.org/reject : \
    relays.mail-abuse.org/reject

    cntrl-x and save, say Y

    Restart exim /etc/rc.d/init.d/exim restart

    Watch your /var/log/exim_mainlog. If they are problem spammers they will be denied to connection to your server.

    -AuZ

  3. #3
    Member
    Join Date
    Jul 2002
    Posts
    18

    Default

    Thanks for the response. I will give that a shot.
    Later,

    Jammer

Similar Threads & Tags
Similar threads

  1. Replies: 5
    Last Post: 02-14-2011, 04:12 AM
  2. CSf Firewall: Edit csf.deny, the IP address deny file (Currently:1000 permanent IP b
    By crazyaboutlinux in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-09-2010, 06:23 AM
  3. Replies: 5
    Last Post: 09-23-2008, 04:30 PM
  4. How to deny someone account's SMTP function?
    By mycuteoo in forum E-mail Discussions
    Replies: 0
    Last Post: 06-05-2008, 04:01 AM
  5. Deny access to smtp to specific IP range
    By NetX in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-26-2003, 08:06 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube