Operating System - HP-UX
1825775 Members
2313 Online
109687 Solutions
New Discussion

Re: How to configure the smtp?

 
SOLVED
Go to solution
faust2004
Regular Advisor

How to configure the smtp?

Hi,
I want to send mail from a hp unix workstation(11.0) A to mail server supporting
smtp B, how to configure the A.

ThanX
Sunny
4 REPLIES 4
Antonio Valle_1
Honored Contributor
Solution

Re: How to configure the smtp?

Hi Sunny:

The default configuration lets you send mails from system A to B with no modifications.

You should try to send an email from system A to root@B.mydomain.com (you have to change B to the B hostname). In order to succeed, you also need to properly resolve the IP address of B from server A (just try to ping B.mydomain.com from A ).

Do you need more help?
Just say it!!

Antonio
Mark Greene_1
Honored Contributor

Re: How to configure the smtp?

vi the /etc/sendmail.cf file and uncomment the DS option, and add the fully qualified domain name of system B. The will forward all mail generated on A to B for delivery.

--
mark
the future will be a lot like now, only later
Sridhar Bhaskarla
Honored Contributor

Re: How to configure the smtp?

Hi Sunny,

As pointed out correctly by Antonio, you don't need to do anything on the hp-ux server to send mails out under the following circumstances.

The DNS works correctly on the hp-ux server as well on the smtp server. You should be able to do nslookups on both the servers against each other. The smtp server should be opened to the hp-ux server atleast on the tcp port 25. To test out the connectivity do the following..

hp-ux$telnet smtp 25
trying..
connected to smtp@yourdomain.com
Escape character ...


-Sri
You may be disappointed if you fail, but you are doomed if you don't try
faust2004
Regular Advisor

Re: How to configure the smtp?

Hello, all,
I telnet B 25 is ok, when sendmail ys@b,
I could not get the mail from my mailbox in A.
the log file of A show :
Jan 4 10:15:51 hp_ov sendmail[24164]: be sure to set domain name in Dj macro i
n sendmail.cf
the log file of B show :smtp connection with A is established.

I have no dns server and domain name on A and B,Must I set the domain name .
The B is NT server with lotus server.

ThanX all
Sunny