The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

exim not working in freebsd server

Discussion in 'Data Protection' started by sanilcg, Nov 8, 2005.

  1. sanilcg

    sanilcg Registered

    Joined:
    Nov 8, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    In our server, Exim is not working. We are getting the following error while conecting to port 25 from inside and outside the server.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    telnet xx.xx.xx.xx. 25
    Trying xx.xx.xx.xx...
    Connected to server.xxx.com (xx.xx.xx.xx).
    Escape character is '^]'.
    220-server.xxx.com ESMTP Exim 4.54 #0 Tue, 08 Nov 2005 13:52:31 -0600
    220-We do not authorize the use of this system to transport unsolicited,
    220 and/or bulk e-mail.
    421 server.xxxx.com lost input connection
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    telnet 127.0.0.1 25
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    220-server.xxx.com ESMTP Exim 4.54 #0 Tue, 08 Nov 2005 13:50:13 -0600
    220-We do not authorize the use of this system to transport unsolicited,
    220 and/or bulk e-mail.
    421 server.xxx.com lost input connection
    Connection closed by foreign host.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    We tried upcp, eximup and installed exim from ports, spam assassin. We could send mails through webmail, but not using outlook. :mad:
     
  2. ckh

    ckh Well-Known Member

    Joined:
    Dec 6, 2003
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Phoenix, AZ
    cPanel Access Level:
    DataCenter Provider
    I had the same problem after I upgraded whm/cpanel the last time. The server had trouble with local deliveries and would reject them whether generated on the server or from another server. Pop worked fine with no errors and if you had a script that sent out a newsletter or something, it would send out all emails but the local deliveries.

    I fooled around with it for a while, trying the easy stuff and ended up putting in a ticket with the data center. They spent well over 24 hours on it and here's what they said finally fixed it:

    1) Perl was outdated, the server was running 8.6.2 and they upgraded it to 5.8.7
    2) They then forced an exim update

    And the last thing they was that I had an actual sendmail binary in /usr/sbin/. They moved that to /usr/sbin/sendmail-bak, and made a symlink for /usr/sbin/sendmail pointing to /usr/sbin/mailwrapper

    I think the first couple things might be what you are looking for to fix it.

    Chris
     
  3. stkit

    stkit Member

    Joined:
    Oct 14, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I'm having the same problem. At first i was getting 550 relay errors, but fixed that by deleting the /etc/exim.conf file and then recreating it by going into WHM and hitting "save" in Main >> Service Configuration >> Exim Configuration Editor

    Now i'm having the same 421 error that you're having.

    I've updated perl to 5.8.7 and have done a forced reinstall of exim. Still no luck.
     
  4. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
  5. stkit

    stkit Member

    Joined:
    Oct 14, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    i took the advice from another post and checked to see if /etc/exim.pl was there and it wasn't.

    luckily i had a backup from before i reimaged the drive.

    that has fixed the 421 errors i was getting.
    now if i can just get eudora to download the messages i see in webmail.
     
  6. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    FreeBSD can be real pain to troubleshoot, if not administered properly, especially Exim. Trial and error approach to solve the problem with FreeBSD can do more damage than repair. Just be careful and good luck!
     
Loading...

Share This Page