(sendmail.cf?)I can not sendmail out of my sgi (running IRIX 6.3)and sent mail

When I send mail to people in my company  they receive it.
When I send mail out of my domain (for example: x@hotmail.com) it not get there.

I use this command 'more xxx.txt |mail x@hotmal.com'.

I have another mail server on NT and I want all mail sent from my sgi to be delivered by this server(becuase this NT server work fine).

So , how can I do this:
     when writing 'more xxx.txt |mail x@hotmail.com'
     I want that the mail will be processed  by the      NT server.
     
     
   
     

 


tzahiAsked:
Who is Participating?
 
richardsonjaConnect With a Mentor Commented:
For a really minimal sendmail config, where all mail is really to be routed through another mailer, the local sendmail needs only to do two things:

1) Deliver locally that which is local (no @ in the address etc)
2) Send to someplace else everything else.

I have used the following sendmail.cf (all other settings are the default ones) with no problems....

#Dj$w sets local domain name
Dj$w.domain.name
#DS is name of 'smart' mailer host
DSmailhost

0
 
ahoffmannCommented:
following entries in /etc/sendmail.cf are required:

DSnt.domain.name
DRnt.domain.name

But this is just a rough setting, depending on your requirements you also may change:

Dj
DH
DM
CR
CE

Setting up sendmail is not as easy as I described, have a look at
http://www.sendmail.org/
http://www.harker.com/gen.sendmail.cf/index.html
0
 
tzahiAuthor Commented:
can someone give me more  specific procedure to send mail through smtp server
using sendmail on my local machine?
0
 
tzahiAuthor Commented:
Adjusted points to 300
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.