- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sending mail from HP-UX through relay
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
01-21-2003 10:05 PM
01-21-2003 10:05 PM
sending mail from HP-UX through relay
How to send mail from HP-UX machine through relay.
I had tried the following but without success:
1) Modified sendmail.cf with:-
DS
2) Added sendmail.cw with:-
3) Msg bounced back with:-
I also tried sending the mail manually (i.e. "telnet
Any advice is appreciated.
YC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2003 10:07 PM
01-21-2003 10:07 PM
Re: sending mail from HP-UX through relay
Check in your relay machine to accept and relay mails from your domain.
Srini.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2003 10:18 PM
01-21-2003 10:18 PM
Re: sending mail from HP-UX through relay
Hi,
If you don't use DNS you can create a file /etc/nsswitch.conf with the line:
hosts: files [NOTFOUND=continue]
restart sendmail:
/sbin/rc1.d/K460sendmail restart
/sbin/rc2.d/S540sendmail start
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2003 10:19 PM
01-21-2003 10:19 PM
Re: sending mail from HP-UX through relay
Hi,
If you don't use DNS you can create a file /etc/nsswitch.conf with the line:
hosts: files [NOTFOUND=continue]
restart sendmail:
/sbin/rc1.d/K460sendmail stop
/sbin/rc2.d/S540sendmail start
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 01:01 AM
01-22-2003 01:01 AM
Re: sending mail from HP-UX through relay
If I can perform manually "telnet
Thanks Khalid,
The HP machine is using DNS.
YC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 02:19 AM
01-22-2003 02:19 AM
Re: sending mail from HP-UX through relay
Do you stop and start the sednmail daemon in order to update the configuration?
sbin/init.d/sendmail stop
sbin/init.d/sendmail start
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 02:29 AM
01-22-2003 02:29 AM
Re: sending mail from HP-UX through relay
I had defined the sendmail.mc file like that:
LOCAL_CONFIG
define(`SMART_HOST', `correo')dnl
FEATURE(accept_unresolvable_domains)
FEATURE(redirect)dnl
FEATURE(use_cw_file)dnl
FEATURE(nodns)dnl
MAILER_DEFINITIONS
MAILER(smtp)dnl
Where "correo" is the relay host name included in the /etc/hosts file and in the sendmail.cf at the "DS" section.
You must stop/start sendmail in order to update the configuration as well.
Do you see the /var/adm/syslog/mail.log file in order to know the posible errors.
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 05:14 AM
01-23-2003 05:14 AM
Re: sending mail from HP-UX through relay
So the domain you are using is not known, mail is having a mad habited that it looks ad the first line in the hosts file for a domain.
Your hosts file now is looking properly like:
11.11.11.5 systemname.domain
But must look like:
11.11.11.5 systemname
11.11.11.5 systemname.domain
If this is changed your mail will properly not have this error anymore.
I known it does not make match sense but this was my solution to a similar problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 05:59 AM
01-23-2003 05:59 AM
Re: sending mail from HP-UX through relay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 06:02 AM
01-23-2003 06:02 AM
Re: sending mail from HP-UX through relay
* /etc/rc.config.d/netconf is correct with IP, name, default gateway & subnet mask
* /etc/resolv.conf has the correct info e.g:
domain yourdomain.com
nameserver x.x.x.x
Also make sure your full domain name (hostname in the /etc/rc.config.d/netconf and the domain in /etc/resolv.conf) is configured on the nameserver as specified in /etc/resolv.conf
Then, the default sendmail should work fine.
Chuck J