Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    khh
    khh is offline
    Member
    Join Date
    Nov 2005
    Posts
    6

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

    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. #2
    Member tuxdesk's Avatar
    Join Date
    Oct 2005
    Posts
    86

    Default

    Please try this
    To stop sendmail:
    cd /etc/mail
    make stop

    To start sendmail:
    cd /etc/mail
    make start
    Tux
    Aim : tuxdesk
    Msn : tuxdesk@hotmail.com
    Yahoo: tuxdesk@yahoo.com

    __________________________________________________
    "You don't slow down because you get old; you get old because you slow down."

  3. #3
    khh
    khh is offline
    Member
    Join Date
    Nov 2005
    Posts
    6

    Red face

    same error

    :S

    what OS are you using, and why?

    Heinz

  4. #4
    Member tuxdesk's Avatar
    Join Date
    Oct 2005
    Posts
    86

    Cool

    You need to enable mta_start_script path in /etc/rc.conf file.
    Tux
    Aim : tuxdesk
    Msn : tuxdesk@hotmail.com
    Yahoo: tuxdesk@yahoo.com

    __________________________________________________
    "You don't slow down because you get old; you get old because you slow down."

  5. #5
    Member
    Join Date
    Aug 2006
    Posts
    5

    Default

    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.

Similar Threads & Tags
Similar threads

  1. How to ban user sending mail from sendmail.
    By mail2sacp in forum New User Questions
    Replies: 1
    Last Post: 08-19-2007, 06:17 PM
  2. El sendmail no va
    By grafictrafic in forum Discusión en Español
    Replies: 3
    Last Post: 05-01-2006, 04:37 AM
  3. Sendmail
    By dinfiesta in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-04-2006, 07:36 PM
  4. Looking for file, mail/sendmail.mc and services/sendmail
    By demomen in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-08-2005, 04:22 AM
  5. MX and sendmail
    By Parcye in forum New User Questions
    Replies: 1
    Last Post: 09-13-2004, 10:26 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube