- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Send Mails from hp-ux
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
Forums
Discussions
Discussions
Discussions
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
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
02-22-2007 04:35 AM
02-22-2007 04:35 AM
Send Mails from hp-ux
As I can send a mail from hp-ux 11.0.
I have a server hp-9000 L2000 series.
I need to activate some service in my server?
I have my own server of mail with MS-Exchange Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2007 04:45 AM
02-22-2007 04:45 AM
Re: Send Mails from hp-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2007 04:48 AM
02-22-2007 04:48 AM
Re: Send Mails from hp-ux
check the man page on it it is simple and useful.
T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2007 04:50 AM
02-22-2007 04:50 AM
Re: Send Mails from hp-ux
Simply edit the 'DS' macro in '/etc/mail/sendmail.cf'. It's commented out by default. Do, something like:
DSmsexchange.xyz.com
You may also need to set the 'Dj' macro to specify your local domain (e.g. xyz.com).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2007 04:50 AM
02-22-2007 04:50 AM
Re: Send Mails from hp-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2007 07:29 AM
03-12-2007 07:29 AM
Re: Send Mails from hp-ux
I send to you the file /etc/mail/sendmail.cf
where I modify it?
my mail is rcabrera@ggp.com.mx, my user in hp-ux is rogelioc and the machine name is gp_d380(hp9000).
I want send mail from hp-ux to the address external rcabrera@ggp.com.mx
It is possible?
That I must do?
That I need to change or to add?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2007 11:07 AM
03-12-2007 11:07 AM
Re: Send Mails from hp-ux
You have not changed your DS directive as JRF recommended.
DS says use smart relay. No, you can't relay directly to the public Internet because that would let spammers send what they want.
What you must do is this:
1) Find out if your network has a smtp relay system that permits mail relay. This may be an exchange server or even a firewall. Contact your networking department.
2) Get the host name or ip address of the relay server.
Change sendmail.cf
DS
to
DShostnameofrelayserver
or
DS
[192.168.0.50]
hostnameofrelayserver is the host name of the relay server. The 192 address is the IP address. You will need a real value here.
Afterwards:
To test.
sendmail -v -d8.99 -d38.99 someone@external.net
type some text
.
You will get full diagnostics.
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
03-12-2007 12:01 PM
03-12-2007 12:01 PM
Re: Send Mails from hp-ux
I made the change in the file sendmail.cf and I tested following:
sendmail -v -d8.99 -d38.99 rogecama@hotmail.com, but I do not work.
I return the following message to me:
getcanonname(gp_d380), trying dns
dns_getcanonname(gp_d380, trymx=1)
dns_getcanonname: trying gp_d380. (ANY)
NO: errno=239, h_errno=2
getcanonname(gp_d380), failed, stat=75
getcanonname(gp_d380), trying dns
dns_getcanonname(gp_d380, trymx=1)
dns_getcanonname: trying gp_d380. (ANY)
NO: errno=239, h_errno=2
getcanonname(gp_d380), failed, stat=75
Mar 12 18:49:01 gp_d380 sendmail[2748]: unable to qualify my own domain name (gp
_d380) -- using short name
/etc/mail/sendmail.cf: line 685: unknown control line "[192.6.7.57]"
seq_map_parse(aliases.files, )
WARNING: local host name (gp_d380) is not qualified; fix $j in config file.
That you think?
That it lacks to do?
the $j it must be modified ???
Thanks Again