General discussion

Locked

service SMTP unknown

By cpfeiffe ·
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.

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

service SMTP unknown

by cpfeiffe In reply to service SMTP unknown

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.

Collapse -

service SMTP unknown

by cpfeiffe In reply to service SMTP unknown

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.

Collapse -

service SMTP unknown

by rbgnr111 In reply to service SMTP unknown

check your /etc/services
make sure smtp is listed in it

Collapse -

service SMTP unknown

by cpfeiffe In reply to service SMTP unknown

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.

Collapse -

service SMTP unknown

by cpfeiffe In reply to service SMTP unknown

This question was closed by the author

Back to Linux Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums