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.

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

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

  1. khh

    khh Member

    Joined:
    Nov 10, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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:
    6
    Please try this
    To stop sendmail:
    cd /etc/mail
    make stop

    To start sendmail:
    cd /etc/mail
    make start
     
  3. khh

    khh Member

    Joined:
    Nov 10, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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:
    6
    You need to enable mta_start_script path in /etc/rc.conf file.
     
  5. Giannis78

    Giannis78 Member

    Joined:
    Aug 29, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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