LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-05-2007, 12:48 AM   #1
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
sendmail-q


Hi

I do have some sort of a problem when i build config.cf
1)
sh Build config.cf
Quote:
/usr/bin/m4: config.cf: No such file or directory
***ERROR: No System type defined (use OSTYPE macro)
2)after that i have config.cf.cf file

I'm just curious what is wrong, is it something with my config or with this command.

Thx
 
Old 03-05-2007, 02:31 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
What document are you using for your instructions? The INSTALL file that comes with the sendmail sources gives the command sh Build sendmail.cf. This command needs to be run from the cf/cf directory in the sendmail sources once you've created/customised your sendmail.mc file.
 
Old 03-05-2007, 04:32 AM   #3
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 59
/usr/share/sendmail/cf/cf/sendmail-slackware.mc - thats the file with some sort of instruction on the top of that file, probably wasn't updated.

But I just found out that m4 is preferred option, isn't ?

thx.

Last edited by Nikosis; 03-05-2007 at 04:34 AM.
 
Old 03-05-2007, 05:37 AM   #4
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
The instructions at the top of that file are wrong.

They state:

cp sendmail-slackware.mc /usr/share/sendmail/cf/config.mc
cd /usr/share/sendmail/cf
sh Build config.cf

However, the Build script is in /usr/share/sendmail/cf/cf/. So you need to copy the slackware.mc there, and then run 'sh Build config.cf'.
 
Old 03-05-2007, 06:02 AM   #5
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 59
Hi
Quote:
However, the Build script is in /usr/share/sendmail/cf/cf/. So you need to copy the slackware.mc there, and then run 'sh Build config.cf'.
That's exactly what I did, and where I had this error
Quote:
/usr/bin/m4: config.cf: No such file or directory
***ERROR: No System type defined (use OSTYPE macro)
I didn't have a chance to try sh build sendmail.cf, I'm gonna try right now, but I don't think it matters at all, config or sendmail
same thing
Quote:
/usr/bin/m4: config.cf: No such file or directory
***ERROR: No System type defined (use OSTYPE macro)
So, what is wrong with this?
Thx

ps. what did you mean by copy the "slackware.mc", because sendmail-slackware.mc is already there.

Last edited by Nikosis; 03-05-2007 at 06:41 AM.
 
Old 03-05-2007, 07:05 AM   #6
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 59
It was so simple, The file name has to be *.mc not *.cf.
So, sh Build *.mc is the right command.
 
Old 03-05-2007, 07:09 AM   #7
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
Yes. That's the other thing that's wrong with the instructions. I forgot about that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail config questions + Sendmail not reflecting changes to access db wbuik Linux - Networking 2 03-26-2009 05:02 AM
sendmail is not working & on $prompt the cmd sendmail hangs Pavan mahoorker Linux - Software 1 04-04-2006 03:57 PM
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 02:55 PM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM
sendmail (dont just ignore it 'cause its got sendmail in the subject :P) GnomeKing Linux - Networking 1 11-12-2001 09:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration