1752806 Members
5776 Online
108789 Solutions
New Discussion юеВ

mail configuration

 
Khashru
Valued Contributor

mail configuration

Hi,

I am using an hpux 11i. when i send mail with mailx command it send mail to the exchange server. now i need to chnage the exchange server configuration. Where should i edit that.
9 REPLIES 9
IT_2007
Honored Contributor

Re: mail configuration

check sendmail.cf file where you can edit name of mail server to relay on.
Khashru
Valued Contributor

Re: mail configuration

I need more help. I am not finding any entry for my chcahne server.
Bill Hassell
Honored Contributor

Re: mail configuration

In the /etc/mail/sendmail.cf file, search for the "DS" record:

grep DS /etc/mail/sendmail.cf

This will be the relay machine needed to forward mail for your HP-UX machine.


Bill Hassell, sysadmin
Khashru
Valued Contributor

Re: mail configuration

I got the following output

# Relay all non-local mail to the "Smart" relay host (DS) via smtp: #
# to a smart relay via SMTP just set macro S (DS) to the name of the #
# Relay all non-local mail to the "Smart" relay host (DS) via UUCP: #
# make two chnages to this file. First, set macro S (DS) to the name #
DS
# noreceipts Don't return success DSN's
IT_2007
Honored Contributor

Re: mail configuration

Next DS add IP address of you mail exchange server. Like this

DS XXX.XX.XXX

where XXX.XX.XXX = your mail exchange IP address.
IT_2007
Honored Contributor

Re: mail configuration

Next to DS entry add IP address of you mail exchange server. Like this

DS XXX.XX.XXX

where XXX.XX.XXX = your mail exchange IP address.
Khashru
Valued Contributor

Re: mail configuration

But upto yesterday it was sending mail. without any DS entry.
IT_2007
Honored Contributor

Re: mail configuration

check timestamp for the sendmail.cf file to see f somebody modified?
Khashru
Valued Contributor

Re: mail configuration

No. Nobody have the access.