I got problem with sendmail, I was edited main.mc file to add following
line:
FEATURE((`local_procmail', `/usr/local/bin/procmail', `procmail -Y -a $h -d
$u')dnl
(Before I was installed procmail on /usr/local, my environment is Sun
Solaris 9 and
Version 8.12.9+Sun Compiled with:
DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND
NDBM NETINET NETINET6 NETUNIX NEWDB NIS NISPLUS PIPELINING SCANF USERDB
USE_LDAP_INIT XDEBUG)
when I run the command make main.cf, I got error:
[io:root|88]:/usr/lib/mail/cf>#make main.cf
test ! -f new.cf || /usr/bin/mv main.cf main.cf.prev
/usr/ccs/bin/m4 ../m4/cf.m4 main.mc > main.cf
/usr/ccs/bin/m4:new.mc:61 can't open file
include(../feature/local_procmail.m4)
*** Error code 1
make: Fatal error: Command failed for target `main.cf'
Any Idea ??
You have an extra '(' in there, but maybe it's just a posting typo. And
why give the arguments when they're the defaults? (See cf/README in the
"real" sendmail distribution.)
>(Before I was installed procmail on /usr/local, my environment is Sun
>Solaris 9 and
>Version 8.12.9+Sun Compiled with:
>DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND
>NDBM NETINET NETINET6 NETUNIX NEWDB NIS NISPLUS PIPELINING SCANF USERDB
>USE_LDAP_INIT XDEBUG)
>
>when I run the command make main.cf, I got error:
>
>[io:root|88]:/usr/lib/mail/cf>#make main.cf
>test ! -f new.cf || /usr/bin/mv main.cf main.cf.prev
>/usr/ccs/bin/m4 ../m4/cf.m4 main.mc > main.cf
>
>/usr/ccs/bin/m4:new.mc:61 can't open file
>include(../feature/local_procmail.m4)
>*** Error code 1
>make: Fatal error: Command failed for target `main.cf'
>
>Any Idea ??
Yes, ask Sun why they don't include this file/feature in their
distribution, or get the real sendmail from sendmail.org - perhaps use
just the cf tree from the latter together with Sun's binary if you want
to stick with that for some reason.
--Per Hedeland
p...@hedeland.org