Find the answer to your Linux question:
Results 1 to 3 of 3
Hi All I wrote a script which send email from linux box. While i am execute this script i am getting the following message. /usr/sbin/sendmail: No such file or directory ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2011
    Posts
    3

    Unable to install rpm file (sendmail-8.9.3-15.i386.rpm)


    Hi All

    I wrote a script which send email from linux box.

    While i am execute this script i am getting the following message.


    /usr/sbin/sendmail: No such file or directory

    after searching some posts , i got to know that we should install an rpm file required for sendemail.

    i downloaded the file from well known websites. and tried to install using rpm command

    rpm -U --nodeps <rmpfilename> --force.

    I am unable to install the rpm file, even i am not getting the error meesage on the prompt.

    Is there any way to check why the rpm is not getting installed.or there are any pre requisites to install this send email rpm.

    prior to this i installed mail rpm on th linux Box

    Regards
    Rakesh

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Quote Originally Posted by raki42 View Post
    Hi All

    I wrote a script which send email from linux box.

    While i am execute this script i am getting the following message.


    /usr/sbin/sendmail: No such file or directory

    after searching some posts , i got to know that we should install an rpm file required for sendemail.

    i downloaded the file from well known websites. and tried to install using rpm command

    rpm -U --nodeps <rmpfilename> --force.

    I am unable to install the rpm file, even i am not getting the error meesage on the prompt.

    Is there any way to check why the rpm is not getting installed.or there are any pre requisites to install this send email rpm.

    prior to this i installed mail rpm on th linux Box

    Regards
    Rakesh
    Are using an rpm based distribution like Red Hat, Fedora, Mandriva etc? If not, then install using the right package format for your distribution.

  3. #3
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,461
    On a side note (small rant):
    Never use --nodeps and/or --force on rpms.
    There is only one exception: You are a rpm developer and know exactly what you do.

    In all other cases you just break your system by introducing binaries, that depend on not-available libs or by overwriting files, etc.


    Also, daark.child is right:
    RPMs won´t help you too much on a deb based system like ubuntu, but ubuntu does have sendmail packaged as well.
    Last edited by Irithori; 04-27-2011 at 08:39 AM.
    You must always face the curtain with a bow.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •