1833940 Members
1678 Online
110063 Solutions
New Discussion

sendmail

 
SOLVED
Go to solution
Sharvil Desai
Frequent Advisor

sendmail

Hi guys!
This is the first time I am at this web-site, and I need some serious help!
Basically, I have to be able to send e-mail from HP-UNIX using "sendmail". So, first I need to be able to get sendmail to recognize our mailserver. Can anyone please tell how can I accomplish this? Thank you very much!
"help!"
6 REPLIES 6
George_Dodds
Honored Contributor

Re: sendmail

Uday_S_Ankolekar
Honored Contributor
Solution

Re: sendmail

Hi,

You need edit sendmail file

vi /etc/mail/sendmail.cf

look for DS flag by typing /^DS

put your mail servername infront of DS

DSmailservername

Once the changes has been made

Restart sendmail by

/sbin/init.d/sendmail stop
/sbin/init.d/sensmail start

Try sending mail by typing sendmail user@domainname.

Goodluck,
-USA..
Good Luck..
Sharvil Desai
Frequent Advisor

Re: sendmail

Hi! In order to change the senmail.cf file I have to change the attribute of the file from "read-only". right now I can not make any modifications. Can anyone please tell me how can I change the attribute of the file? Thanks a million!
"help!"
Sharvil Desai
Frequent Advisor

Re: sendmail

Guys you are geniuses, at least in my eyes!
Thank you all for responding in such a short time. I found out how to change permissions of the file..."man"...such a helpful function! :-)
Uday's was the most helpful answer because that was the exact answer, but everyone else also pointed me in right direction. So, You all get lots of points....it's the least I can do for your help!
"help!"
Sanjay_6
Honored Contributor

Re: sendmail

Hi Sharvil,

If you are logged in into the system as root, you don't have to change the file permission. you can do a "vi file_name" to edit the file and save the file using "w! .This will write the file even if the file permissions are read only. To change the file permission you use the chmod command. To allow the owner to write to the file, the file permission should be -rw-------

Do a "man chmod" to know more about file permissions and how to modify them.

Hope this helps.

Regds