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 problem

Discussion in 'General Discussion' started by Freedoom, Dec 15, 2005.

  1. Freedoom

    Freedoom Member

    Joined:
    Dec 12, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Hello. ive got a problem with my exim, it seems that arent working, when i try to use the configuration editor, it says [code[sendmail: sendmail cannot be called directly from a shell with the current user id
    sendmail: sendmail cannot be called directly from a shell with the current user id
    Configuration file has an invalid syntax. Please try again.
    Attempting to restart exim
    Waiting for exim to restart.... . . . . . . . . . . finished.

    exim status

    mailnull 38239 0.0 1.0 5372 4604 p0- S 10:34PM 0:05.42 /usr/bin/perl /usr/local/cpanel/bin/eximstats (perl5.8.7)
    root 45455 0.0 0.5 2896 2200 ?? S 9:09PM 0:00.01 antirelayd (perl)


    exim has failed, please contact the sysadmin.
    Your configuration changes have been saved![/code]
    what can i do to solve this ?

    thanks.
     
  2. Freedoom

    Freedoom Member

    Joined:
    Dec 12, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
  3. Izzee

    Izzee Well-Known Member

    Joined:
    Feb 6, 2004
    Messages:
    469
    Likes Received:
    0
    Trophy Points:
    16
    It would be helpful to other members if you could post what you did to solve your problem epecially for those members who do a forum search looking for a fix to a similar issue. Thanks.
    :)
     
    #3 Izzee, Dec 15, 2005
    Last edited: Dec 15, 2005
  4. Freedoom

    Freedoom Member

    Joined:
    Dec 12, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    to solve this issue you simple need to do this : /scripts/eximup -f
     
  5. daniel_s

    daniel_s Registered
    PartnerNOC

    Joined:
    Mar 4, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I too was receiving the message:

    "sendmail: sendmail cannot be called directly from a shell with the current user id"

    in /usr/local/apache/logs/error_log when a php mail script stopped working. I ran:

    Code:
    # /scripts/eximup --force
    which has now resolved the issue.
     
  6. moogle

    moogle Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    i did this, still getting the error.
    any other ideas?
     
  7. daniel_s

    daniel_s Registered
    PartnerNOC

    Joined:
    Mar 4, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I compared the /usr/sbin/sendmail file permissions with another cpanel server, and I found the server that was working correctly had these permissions:

    -rwxr-sr-x 1 root mailtrap 10448 Jul 28 2005 /usr/sbin/sendmail

    running the "eximup --force" on the broken server reset these permissions as part of it's run, but I'd recommend checking this too.
     
Loading...

Share This Page