Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to setup sendmail in Nexenta core 3.0.1 (Solaris based OS). All I want is to be able to send emails from that host - like notifications about failures, cron jobs output etc. Initially Nexenta core doesn't have sendmail so here is what I've done:

apt-get install sunwsndmu

Now there is a sendmail in /usr/sbin/sendmail. When I try to send email from command line:

$mail maxim
test
.

It doesn't give me any error but in log file I see:

Dec 20 12:41:08 nas sendmail[12295]: [ID 801593 mail.info] oBKHf8u7012295: from=maxim, size=107, class=0, nrcpts=1, msgid=<201012201741.oBKHf8u7012295@nas>, relay=maxim@localhost
Dec 20 12:41:08 nas sendmail[12295]: [ID 801593 mail.info] oBKHf8u7012295: to=maxim, ctladdr=maxim (1000/10), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30107, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

So I guess I need to have SMTP service running. How do I do that in Nexenta?

svcs -a | grep sendmail

doesn't return anything and

# svcadm enable sendmail
svcadm: Pattern 'sendmail' doesn't match any instances

I'm not married to sendmail so if there are easier ways to achieve y goal I'm open to suggestions as well.

Thanks,

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Finally figured it out:

#svcadm enable smtp
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.