LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   create sendmail.cf file... (https://www.linuxquestions.org/questions/solaris-opensolaris-20/create-sendmail-cf-file-307843/)

jsheffie 03-30-2005 12:17 PM

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

trickykid 04-18-2005 07:44 AM

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

jsheffie 04-18-2005 07:57 AM

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


All times are GMT -5. The time now is 06:32 AM.