Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Understanding sendmail service in Solaris - sendmail-client offline

User_UAEUZApr 11 2016 — edited Apr 20 2016

Hi all,

I have read about sendmail running as 2 separate process.

1 as a MSP, and the other as the real daemon or MTA.

In my current configuration,

  • the sendmail-client is disabled.
  • Both submit.cf and sendmail.cf are left as default untouch
  • I do not specified any mailhost in my host file.

-bash-3.2$ svcs -a | grep sendmail

disabled Feb_27 svc:/network/sendmail-client:default

online Feb_27 svc:/network/smtp:sendmail

However, on doing a

 echo abc | mailx -v -s "test" test@testabc.com

I can still see my mailx sending mail to a local port (local sendmail daemon), before actually being forwarded out to the mailserver "testabc.com"

q1) if my sendmail-client is disabled, does mailx still use submit.cf in anyway and does it still push the mail to /var/spool/clientmqueue or it is send directly to the local sendmail daemon (listen at port 25) ?

does 1 send to port 25 1st and upon failure, goes into clientmqueue or it is another way round ?

q2) if I do not set a mailhost, and neither do I set any configuration in sendmail.cf nor configuration in submit.cf, is it still normal to have the local sendmail daemon send out to the right mailserver "testabc.com" ? -- does that means it done a DNS lookup for mx record of "testabc.com" ?

Regards,

Noob

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 18 2016
Added on Apr 11 2016
8 comments
2,028 views