- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mailx between HP UX machine to another HP UX m...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2010 04:11 AM
тАО05-13-2010 04:11 AM
mailx between HP UX machine to another HP UX machine
I have 2 servers, I configured IP and hostname in /etc/hosts on both servers.
When I test sendmail with command
$ sendmail -v userone@16.138.181.45
this is test
.
userone@16.138.181.45... Connecting to 16.138.181.45 via esmtp...
220 huli ESMTP Sendmail 8.11.1/8.11.1; Thu, 13 May 2010 21:00:08 +0530 (IST)
>>> EHLO hp.com
250-huli Hello root@hp.com [16.138.181.28], pleased to meet you
250-ENHANCEDSTATUSCODES
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
>>> MAIL From:
250 2.1.0
>>> RCPT To:
550 5.7.1
>>> RSET
250 2.0.0 Reset state
/home/userone/dead.letter... Saved message in /home/userone/dead.letter
Closing connection to 16.138.181.45
>>> QUIT
221 2.0.0 huli closing connection
I looked in to sendmail.cf file for smart relay. but dont know where to make changes for machine to machine messaging. Both are in same subnet.
Thanks in advance
Vinod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2010 04:30 AM
тАО05-13-2010 04:30 AM
Re: mailx between HP UX machine to another HP UX machine
error here is Relaying denied ... so can you check does your mail relay accept mails from this server ?
Also make sure you have kept fully qualified hostnames in /etc/hosts
Gudluck
Prasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2010 05:16 AM
тАО05-13-2010 05:16 AM
Re: mailx between HP UX machine to another HP UX machine
I didnt unstd how do I check this ??
yes I do have fully qualified hostnames added in hosts which pings from both.
Regards
Vinod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2010 05:39 AM
тАО05-13-2010 05:39 AM
Re: mailx between HP UX machine to another HP UX machine
That is the key.
Mail relay is controlled by modifying the /etc/mail/access file and then creating a new sendmail.cf file.
See http://hpux.ws/buildmail.hpux.text for clues on how to do this.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2010 01:24 AM
тАО05-14-2010 01:24 AM
Re: mailx between HP UX machine to another HP UX machine
I created access files and generated new cf file but now sendmail hangs when I execute.
May i know the format for access file. I only need to send mail from one machine to other machine both r in same subnet. Dont know for this what changes I need to make.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2012 09:43 AM
тАО10-10-2012 09:43 AM
Re: mailx between HP UX machine to another HP UX machine
Hi!.
Relying denied means that you are not allowed to send an email on behalf of another domain.
You can't send an email saying that you are "hp.com". Edit your /etc/mail/sendmail.cf file and set an appropiate domain in it (perhaps someone used the example configuration and the domain was set to hp.com).
Search for Dj in the file and modify the line. If your domain is mycompany.com the line should look like this:
Dj$w.mycompany.com
Hope this helps.
Greetings