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.

Setup error with sendmail?

Discussion in 'E-mail Discussions' started by skoker, Jun 10, 2006.

  1. skoker

    skoker Member

    Joined:
    Jun 8, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I'm getting a 'sendmail: Too many levels of symbolic links' error a lot on my server. Is there any know settings that I could have messed up to be getting this error?

    Thanks in advance for the help.
     
  2. esupport.org.ua

    esupport.org.ua Well-Known Member

    Joined:
    Nov 16, 2004
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    same problem. os fc5
     
  3. mvallee

    mvallee Registered

    Joined:
    Jan 20, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    same here, fc5
    any solution ???


    mails are not working, of course....
     
  4. mvallee

    mvallee Registered

    Joined:
    Jan 20, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    well, seems like I found the bug...

    SEems that the install process of cpanel on FC5 is not as perfect as it was on fc3/fc4
    i had some problems with ftp stuff also, but anyway.

    for the sendmail bug, i've check that the sendmail rpm AND the exim package were installed,
    so i've rpm -e sendmail-cf
    then, i've ran /scripts/reseteximtodefault, which didn't help
    finally, i've seen that the /usr/sbin/sendmail and the /usr/lib/sendmail were still present, so i've removed them (rm /usr/sbin/sendmail && rm /usr/lib/sendmail) and i've put back the link for exim ln -s /usr/sbin/exim /usr/sbin/sendmail
    voila
     
  5. axu

    axu Registered
    PartnerNOC

    Joined:
    Sep 22, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    The cause of this problem is the sendmail binary bounded to the exim package.
    After looking at the source of this file I've realised that it uses uninitialised variables.
    For example in line 44 it declares a variable i
    <code>
    int i;
    </code>

    without any initialisation in line 82 it tries to access the value of the pointer at parentargs
    <code>
    if (parentargs == '\0')
    </code>

    In my case the value for i was -1074744052 so it was quite normal a "Segmentation fault"
    After initialising the values the compiled binary worked just fine (the patch is attached)
     

    Attached Files:

  6. frpdm817

    frpdm817 Registered

    Joined:
    Oct 24, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    It Worked!!!! :) :)


    Thanks a lot for this!

    it worked!:) :D
     
Loading...

Share This Page