LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 03-30-2005, 12:17 PM   #1
jsheffie
Member
 
Registered: Dec 2004
Location: Florida, USA
Distribution: Suse 10.0, OSX.4, Solaris 10
Posts: 163

Rep: Reputation: 30
create sendmail.cf file...


Hey,

I am trying to create a sendmail.cf file for a Solaris9 box running sendmail 8.12.x. However, when I do this in the syntax of my linux box, I receive an error saying CFDIR: Undefined variable. Here is what I typed.

m4 ${CFDIR}/usr/lib/mail/m4/cf.m4 /usr/lib/mail/cf/josh.sendmail.mc > /etc/sendmail.cf.new

this works with just a few directory modifications to my linux box, but not on the sol system. Any ideas? is m4 on solaris that differnet from GNU?

Thanks
 
Old 04-18-2005, 07:44 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I have never edited my sendmail files the supposed "correct" way.. but that error your getting, is that an actual exported variable you've defined?

CFDIR=/some/path/to/something
export CFDIR
 
Old 04-18-2005, 07:57 AM   #3
jsheffie
Member
 
Registered: Dec 2004
Location: Florida, USA
Distribution: Suse 10.0, OSX.4, Solaris 10
Posts: 163

Original Poster
Rep: Reputation: 30
Hi,

I figured it out... The faq I was reading had CFDIR there, so I placed it in my path. CFDIR wasn't aliased, so once I put the actual path in it worked.... I forgot about this post :-)

Thanks
 
  


Reply



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
Create sendmail.mc from sendmail.cf jacky Linux - Software 3 08-25-2020 04:49 PM
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 02:55 PM
Create header file for existing .c file hk_michael Programming 5 02-25-2005 05:26 PM
sendmail: I can't find the file sendmail.mc Ali79 Linux - Software 1 02-17-2005 12:25 PM
create a new file biiiep Programming 1 04-23-2004 02:44 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 09:33 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