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, 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