Results 1 to 3 of 3

Thread: Exim is blocking an ip address

  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    479

    Default Exim is blocking an ip address

    I set up a script on one server, lets call it "A" to be able to 'ping' (open and close a connection on) a second server "B" on several critical ports (i.e. 25, 80...) to check for active services.

    So server A is opening connections to server B frequently on several ports and it's working like a charm... until suddenly port 25 (exim) stops reponding to server A. It still works from every other computer.

    I have searched (grep) /etc and /var/log and there are no indications that the ip address was blocked from there.

    So my question is: where is exim or another system component blocking server A?

    -------
    serverA[root]# telnet serverB.com 25
    Trying bb.bb.bbb.bb...
    telnet: Unable to connect to remote host: Connection refused

    C:\myHomePC>telnet serverB.com 25
    220-serverB.com ESMTP Exim 4.34 #1 Mon, 05 Jul 2004 20:56:23 -0400
    220-We do not authorize the use of this system to transport unsolicited,
    220 and/or bulk e-mail.

    -------

  2. #2
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    It's the pop before smtp setup. Your home computer is authorized because you have logged into pop before telneting to the smtp port.

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    casey, I don't think it will be POP before SMTP. You should still always be able to connect to port 25 (anyone should), it just you won't be able to relay any email through the server without prior authentication.

    elleryjh, do you have APF installed, or some other iptables firewall on either server? You could check both servers for blocked ip addresses with:

    iptables -L -n | grep other-servers-ip-address

    Do that on both servers. If that doesn't match have you perhaps enabled the WHM > Security Tweaks > SMTP Tweak on serverA.com which might be preventing outgoing connections on port 25 to anyone other than root and mailman, etc.?
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads

  1. CPL blocking my IP address
    By eville in forum cPanel & WHM Discussions
    Replies: 12
    Last Post: 04-14-2006, 01:48 PM
  2. Blocking IP address
    By fashezee in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 07-06-2005, 04:08 PM
  3. Blocking an email address or ip
    By petfut in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 03-30-2005, 03:39 AM
  4. Blocking an address from sending
    By sparek-3 in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 01-26-2003, 10:03 PM
  5. Blocking and IP address
    By cbingham in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 03-20-2002, 01:32 AM