Re: Send Mail Between UNIX Users ? (887 Views)
Reply
Regular Advisor
itrc55
Posts: 195
Registered: ‎04-10-2010
Message 1 of 2 (902 Views)

Send Mail Between UNIX Users ?

Hi All,

 

i want to know how i can send mail between users in different hp-ux servers ?, like below example if i want to send mail from user1 in server1 to user2 in server2. i already configured the sendmail on both server and i can send mail from servers to our domain users but i don't know how to send mail between users in hpux servers.

 

Thanks

Please use plain text.
Honored Contributor
Matti_Kurkela
Posts: 6,271
Registered: ‎12-02-2001
Message 2 of 2 (887 Views)

Re: Send Mail Between UNIX Users ?

If your servers are both registered to DNS, then theoretically you should be able to "just do it", i.e. if your DNS domain name is company.com, then user1 on server1 could address his/her email to user2@server2.company.com, and the mail would automatically end up to /var/mail/user2 on server2.

 

In practice, if your sendmail on server1 is configured to use the company primary email server as its smarthost (a common configuration today), server1 will first send the email to the company primary email server, and what happens next will depend on that server.

 

If smarthost is not configured (i.e. sendmail is in HP-UX factory default configuration), then sendmail on server1 will look up server2.company.com in the DNS. It will then attempt to connect to server2.company.com on port 25 (or another server if a DNS MX record for server2.company.com indicates another server should be handling server2's incoming mail).

 

Note: sendmail really wants to use DNS, so having the hostnames & IP addresses in /etc/hosts is not necessarily enough.

MK
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation