[OpenIndiana-discuss] Sendmail on oi 151_a9

Harry Putnam reader at newsguy.com
Tue Oct 14 00:01:56 UTC 2014


Tim Mooney <Tim.Mooney at ndsu.edu> writes:

> I no longer have the email where you first described your config, but
> did you grab this authinfo.m4 from somewhere else on the net and drop
> it into place on your OI box?  If you did, can you include the contents
> of that file in a response, so we can see what the macros are actually
> doing?
>
> If you didn't, then you should first verify that you do have that file.
> Without it, trying to use FEATURE with that basename isn't going to work.

No, I did nothing like that.

I think you've just exposed the mystery. I think that line about the
file is telling me just what you suggest here.

 `/usr/ccs/bin/m4:sendmail.mc:13 cannot open file: No such file or directory
 include(../feature/authinfo.m4)'

That part of the error message is apparently saying the `no such file'
is authinfo.m4... kind of a peculiar formulation actually but I bet
that's the meaning of it.

I got the formulation here:

  http://docs.oracle.com/cd/E37670_01/E41138/html/ch15s06.html
 
  `FEATURE('authinfo','hash /etc/mail/auth/smtp-auth.db')dnl;
you will see it just below center of that page.

where I originally followed those steps exactly.

That is, I put the information in /etc/mail/auth/smtp-auth
as specified on that page.

I hit that same failure we are now seeing on authinfo.

My first post on this showed that failure and that forumulation.

I then borrowed the current formulation from an old config from a
linux box hoping the naming difference was the problem.  That one had
it:

   FEATURE(`authinfo', `hash /etc/mail/authinfo')dnl 

So I switched from 

      FEATURE(`authinfo', `hash /etc/mail/auth/smtp-auth')dnl
.

Both fail with same failure and now doing `find /etc/mail -name '*.m4''
I find of the 71 *.m4 files present none of them appear to be related
to authentication.

I guess it was thought none would be needed...

Thanks for solving the mystery.






More information about the openindiana-discuss mailing list