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 missing in jailroot

Discussion in 'E-mail Discussions' started by jsteel, Apr 21, 2003.

  1. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    Anyone have some bright ideas on how to give users with jailroot access to sendmail (exim)? I've got a bunch of customers complaining that the path noted in cPanel doesn't exist when they SSH in (confirmed it's only a problem on those with the jailroot shell). I'd prefer to not have to copy exim/sendmail to the /usr/bin directory, thereby duplicating binaries.

    Jaz
     
  2. X-Istencedotcom

    X-Istencedotcom Well-Known Member

    Joined:
    Apr 14, 2003
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    cd /usr/bin
    ln -s /path/to/sendmail sendmail
     
  3. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    Guess again. If the path to exim doesn't exist in the jailroot shell, creating a symbolic link will do nothing.
     
  4. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    Nick, is this ever going to get addressed?!?! We really need the features pointed out in the cPanel to be functional in the shell. This includes things like sendmail as well as traceroute (both reside in /usr/sbin/).

    Jaz
     
  5. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Check on this.

    -myshell-2.05b$ /usr/sbin/sendmail
    exim: neither action flags nor mail addresses given

    -myshell-2.05b$ /usr/sbin/exim
    exim: neither action flags nor mail addresses given

    (this is a jailed shell I just didn't like the name) :D
     
Loading...

Share This Page