Discussion Locked

service SMTP unknown

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a Solaris 9 server running sendmial 8.9. I recently began getting an error when sendmail starts and when it sends a message. The error is "makeconnection: service smtp unknown". The messages are still delivered, but the error is annoying.It is logged as mail.error and I'd rather not disable mail.error completely. The sendmail service is defined in /etc/services (I even reconfigured the file). I even copied a new sendmail.cf from a similiarly configured machine that worked. I can't seem to get rid of this error. Any ideas? Your help is appreciated.

5 replies

by cpfeiffe

I have a minor error in my description above. I can deliver messages locally (i.e. to root) but messages are not delivered to other machines.

by cpfeiffe

I have gotten sendmail to send to other servers by re-enabling the -bd flag. I turn this off on most clients as a security measure. I can figure out why that wasn't working here later. I still get the annoying error, even though the message is delivered and right now my focus is on getting rid of that error.

by cpfeiffe

As stated, smtp (sendmail service or any mail service) was in /etc/inet/services. Turned out to be a permissions issue on /etc/inet/services. I mistakenly listed that I was using sendmail 8.9, but I was using 8.12 on this machine. 8.12 runs the client piece as smmsp and therefore smmsp must have access to /etc/inet/services. I changed the file from my secure setting of mode=400 to mode=444.

This discussion is closed to new replies.