Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

sendmail.cf DS question?

B. Jen
Contributor

sendmail.cf DS question?

Our sendmail was configured by one of our consultant few months ago. Now I need to change the settings and could not find the file. The one in the /etc/mail was back in year 2000. Where else I can find this file? Also, can I change the sendmail settings (DS?) to forward all SMTP mails to my internal smart host? Thank you,
3 REPLIES
Rajeev Shukla
Honored Contributor

Re: sendmail.cf DS question?

Have a look at the sendmail startup file in /sbin/init.d
the file /sbin/init.d/sendmail should give you the idea where the configuration files are for this sendmail (usually in /etc/mail, but as you said maybe they are kept somwhere else if configured differently).

Also yes you can change the DS (SMART relay host) to your internal SMTP mail server
GGA
Trusted Contributor

Re: sendmail.cf DS question?

hello

what system ur using? HPUX ?
do ps -ef |grep mail if u unsure if sendmail is configured
maybe u are using a other mailer
do find / -name sendmail.cf
yes u can change the sendmail DS settings.

regards gga

Geoff Wild
Honored Contributor

Re: sendmail.cf DS question?

sendmail.cf should be in /etc/mail

On HP-UX, sendmail binary should be in /usr/sbin/ - which is a symbolic link to:

/usr/contrib/sendmail/usr/sbin/sendmail

And yes, set DS to your internal mail server.

You may also want to set the DM macro as well to your domain (external) name.

DMyourdomain.com

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.