Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

Discussion in 'E-mail Discussion' started by khh, Nov 13, 2005.

  1. khh

    khh Member

    Joined:
    Nov 10, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    so .. i dont have smtp, im running FreeBSD 5.4-RELEASE

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

    and if i add in /etc/rc.conf
    sendmail_enable="YES"
    sendmail_submit_enable="YES"

    dont start

    so .. any idea? what user i must to have to start sendmail? or in what option on whm i can setup to run ?

    thanks

    Heinz

    ps: urgent :S
     
  2. tuxdesk

    tuxdesk Well-Known Member

    Joined:
    Oct 1, 2005
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    156
    Please try this
    To stop sendmail:
    cd /etc/mail
    make stop

    To start sendmail:
    cd /etc/mail
    make start
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. khh

    khh Member

    Joined:
    Nov 10, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    same error

    :S

    what OS are you using, and why?

    Heinz
     
  4. tuxdesk

    tuxdesk Well-Known Member

    Joined:
    Oct 1, 2005
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    156
    You need to enable mta_start_script path in /etc/rc.conf file.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Giannis78

    Giannis78 Member

    Joined:
    Aug 29, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    151
    Hello

    I am having the same problem on my server.
    Mail works fine for pop3 and imap but this problem occures when a billing script i have is running a schedule to auto send invoices or reminders to clients.
    After this script run i get a mail from server saying :
    sendmail: sendmail cannot be called directly from a shell with the current user id

    Please any idea wht this might be?

    Thank You
    G.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice