Click to See Complete Forum and Search --> : can't find sendmail
wurmy
12-13-2000, 10:44 AM
i want to set up a mail server but...i can't find the sendmail rpm. i'm running mandrake 7.2 and when i open package manager or rpmdrake it is nowhere to be found, and i can't seem to find it on the discs either...anyone have any ideas where it might be hiding? i'm assuming it should already be in here somewhere...
Derango
12-13-2000, 11:14 AM
Try going to www.rpmfind.net (http://www.rpmfind.net) and doing a search for it
------------------
This space For Rent
wurmy
12-13-2000, 11:29 AM
downloaded the rpm for sendmail. at the command line i ran rpm -i sendmail-8.11.0-3mdk.src.rpm, when it went to the next line, but it still says that sendmail package is not installed. so i opened package manager, opened the sendmail rpm and clicked install...and it still says not installed...why is that?
PLBlaze
12-13-2000, 01:04 PM
You can't install *.src.rpm because it needs to be compiled first.Try rpm --rebuild *.src.rpm and once it's done install the regular rpm.Hope this helps.
wurmy
12-13-2000, 01:13 PM
is it supposed to creat a regular rpm file in the same directory? after i put in that command the last line said:
var/tmp/rpm-tmp.53274: patch: command not found
Bad exit status from /var/tmp/rpm-tmp.53274 (%prep)
i don't know if it worked or not.
PLBlaze
12-13-2000, 01:29 PM
Well, once you issue the rebuild option from rpm, it does unpack the source tarball in /usr/src/<distro name>/SOURCES and *.spec file in /usr/src/<distro name>/SPECS then it proceeds to compile rpm package...Once it's done then you go to /usr/src/<distro name>/RPMS/i386 directory and install newly built package.
You are missing patch utility that's why rpm quits.I'd suggest to look on your Linux cd for developement rpm's and install them.Once again hope this helps.
bytemare
12-13-2000, 02:35 PM
mandrake installs postfix instead of sendmail, I'm not sure why. Just remove the postfix packages and install the sendmail packages from the CD.
wurmy
12-13-2000, 05:13 PM
where on the cd? i couldn't find it....
bytemare
12-13-2000, 05:25 PM
I found it here:
/cdrom/Mandrake/RPMS/sendmail-8.11.0-3mdk.i586.rpm
wurmy
12-13-2000, 05:37 PM
when i try to run Build in the sendmail directory it keeps saying after every "Configuratin: " line ERROR: Cannot locate an M4 program.
do i need to install something else first?
bytemare
12-13-2000, 05:44 PM
I never had to run build, I just install it and use one of the sample .cf template files and I'm done....
wurmy
12-13-2000, 05:58 PM
i'm not sure how to install it ...this is in the README file in the sendmail directory..
By far, the easiest way to compile sendmail is to use the "Build"
script:
sh Build
but when i do that i get the M4 error....how else can i do it?
wurmy
12-13-2000, 07:39 PM
happens when i run make as well.
bytemare
12-14-2000, 12:58 PM
What are you trying to do exactly?
If you installed the sendmail rpm, then it's installed and you don't need to compile anything. It's probably already running with default configuration, which usually is fine. I think they include a couple of other .cf files. You can mv those files to sendmail.cf for other configurations.
wurmy
12-14-2000, 01:25 PM
well when i run rpm -q sendmail it says it is not installed...is there another way i can check to make sure it is/isn't?
bytemare
12-14-2000, 02:00 PM
I think it means that it's not installed. what happens when you do rpm -i <path-to-sendmail>?