1752775 Members
5675 Online
108789 Solutions
New Discussion юеВ

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 3
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.