1844033 Members
2714 Online
110226 Solutions
New Discussion

Mail

 
SOLVED
Go to solution
Braithwaite
Occasional Contributor

Mail

How do I configure my workstation to send and receive mail via an NT exchange server.
There's always somebody out there who knows
7 REPLIES 7
Uday_S_Ankolekar
Honored Contributor
Solution

Re: Mail

Hi,


Put the NT server name infront DS flag in /etc/mail/sendmail.cf file
restart the senamail process by

/sbin/init.d/sendmail stop then /sbin/init.d/sendmail start
Goodluck
-USA..

Good Luck..
Joseph Chakkery
Valued Contributor

Re: Mail

Hello,

U can cinfigure sendmail for this . Do the following steps.

First get the SMTP relay host name and IP Address.(abcd_relay 128.9.9.30)

For sendmail to be activated to send mail to exchange server.

a)put relay hostname to DS on sendmail.cf in /etc/mail directory (eg : DSabcd_relay ).
b)Create nsswitch.conf in /etc by copying nsswitch.file as nsswitch.conf. (IF DNS is not enabled on ur HP server).
c)Add relay host IP entry to /etc/hosts file. (IP of abcd_relay)
d)Stop and start sendmail dameon again

U can test it by
$cat /etc/hosts |mailx -m -s "test mail" user_id

Hope this will help u

Regards
Joe.
Knowledge is wealth
Braithwaite
Occasional Contributor

Re: Mail

Hello Uday and Joe,

Thanks for the reply, but I am still confused as to what to put in the sendmail.cf file.

I have a exchange server ie "exch_name" with IP address "10.#.#.#". How does this appear in the sendmail.cf file?
DS.... or ......DS

Kevin
There's always somebody out there who knows
Roger Baptiste
Honored Contributor

Re: Mail

hi,

vi /etc/mail/sendmail.cf
and change
DS to
DSntserver.domainname
DH to
DHntserver.domainname

/sbin/init.d/sendmail start

hth
raj
Take it easy.
Joseph Chakkery
Valued Contributor

Re: Mail

Hello Kevin,

cd /etc/mail
open the file sendmail.cf in vi or any other editor
search for smart relay hosts or DS in the starting of the line. Then enter like

DSexch_name

save the file.

In my pervious reply I have given the example as abcd_relay as relay host server.

Regards
Joe.
Knowledge is wealth
Uday_S_Ankolekar
Honored Contributor

Re: Mail


Hi,

vi the sendmail file in etc/mail dir

cd /etc/mail
vi sendmail.cf
search for DS string by ^DS
put the name (Full qualified name) of your exchange server infront of the DS like this
DS
save and quit the sendmail.cf file
restart the sendmail daemon
Also have a look in to your resolv.conf and nsswitch.conf file for DNS configuration

Goodluck,
-USA..

Good Luck..
Braithwaite
Occasional Contributor

Re: Mail

Thank you all. It is working.

Kevin
There's always somebody out there who knows