- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: email and sendmail help
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
09-26-2005 08:49 PM
09-26-2005 08:49 PM
I want to send emails from my hpux 11.00 server to certain users.
So email would go from hp server, to companies windows email server, to users.
What settings do i need to make in the hp server to be able to send emails?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 08:54 PM
09-26-2005 08:54 PM
Solution# ps -ef | grep sendmail
root 1026 1 0 Sep 20 ? 0:51 sendmail: accepting connections on port 25
Try as,
# echo "hi" | mailx -s "test" root@localhost
It will give recent mail to you.
To other machines you have to have reachablity to that machine.
# echo "hi" | mailx -s "test" root@machine1.domainname.com
It will work. You can as well as use sendmail instead of mailx command.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 09:18 PM
09-26-2005 09:18 PM
Re: email and sendmail help
Then stop and start sendmail to pick up the change.
This forum post gives more detail:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=951776
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 09:24 PM
09-26-2005 09:24 PM
Re: email and sendmail help
# /sbin/init.d/sendmail start
# ps -ef|grep sendmail
check to confirm daemon now appears
# mailq
to check mail queue
# sendmail -v
test settings.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 09:27 PM
09-26-2005 09:27 PM
Re: email and sendmail help
It is working, however i get this following message each time i use mailx:
Switch map aliases: unknown member map aliases.dns: Socket operation on non-socket
any ideas how to fix/stop it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 09:33 PM
09-26-2005 09:33 PM
Re: email and sendmail help
http://docs.hp.com/en/B3782-90728/ch07s06.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 09:34 PM
09-26-2005 09:34 PM
Re: email and sendmail help
As for that message I can't say I've seen it before, looks like a dns problem perhaps? I will add more as and when I find out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 09:36 PM
09-26-2005 09:36 PM
Re: email and sendmail help
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=900918
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 09:42 PM
09-26-2005 09:42 PM
Re: email and sendmail help
Set:
O QueueDirectory=/var/spool/mqueue
Try to restart it as,
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 10:00 PM
09-26-2005 10:00 PM
Re: email and sendmail help
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=610438
I think I would be tempted to look at my /etc/hosts (to add the exchange server IP and full name).
Then see what /etc/nsswitch.conf (putting the hosts entry to look at files first) and then see what resolv.conf looked like.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 10:00 PM
09-26-2005 10:00 PM
Re: email and sendmail help
is already in sendmail.cf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 10:09 PM
09-26-2005 10:09 PM
Re: email and sendmail help
/etc/nsswitch.conf
#
# /etc/nsswitch.files:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files
group: files
hosts: files [NOTFOUND=continue] dns
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
/etc/resolv.conf
domain ????.com
nameserver IPofDNSserver
nameserver IPofDNSserver
I suspect that it is the /etc/aliases file that may contain your problem. Although this is only a guess.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 10:09 PM
09-26-2005 10:09 PM
Re: email and sendmail help
I hope it will be like,
aliases dns files or bind
remove except files and put it as,
aliases files
# Restart sendmail with this.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 10:21 PM
09-26-2005 10:21 PM
Re: email and sendmail help
has:
#hosts dns files
aliases files
i commented out the hosts and restarted sendmail but still get same error.
the /etc/aliases appears as default.
i have checked resolv.conf and nsswitch.conf and all appears ok.
we use dns here.