- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail
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-12-2011 05:20 AM
тАО05-12-2011 05:20 AM
We have a small network here, (kind of a staging area.) We have a couple of servers in the network, (1 X rx7640 & 1 X bladeserver.) Both are running 11.31. We'd like to get sendmail relaying to us, but DNS is not setup on the servers. We have a workstation setup as a mailserver. Is there a way to 'fool' sendmail in this case?
Curiously yours,
Ron
Solved! Go to Solution.
- Tags:
- sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 06:14 AM
тАО05-12-2011 06:14 AM
Re: Sendmail
You don't necessarily need DNS. Set up the hostnames in /etc/hosts so that they can get resolved locally.
Your /etc/nsswitch.conf may need:
hosts: files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 06:22 AM
тАО05-12-2011 06:22 AM
Re: Sendmail
grep DS /etc/mail/sendmail.cf?
This is your mail server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 06:40 AM
тАО05-12-2011 06:40 AM
Re: Sendmail
syntax correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 06:57 AM
тАО05-12-2011 06:57 AM
Re: Sendmail
Is mailserver.usfi.com defined in your /etc/hosts file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 07:02 AM
тАО05-12-2011 07:02 AM
Re: Sendmail
I just tried, # date | mailx -s "test mail" xxx@yyy.com
nothing yet. ran mailq -v, and it's in the queue. Is there something else I'm (likely) missing?
Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 07:21 AM
тАО05-12-2011 07:21 AM
Re: Sendmail
What does the mailq output show?
What happens if you do a 'sendmail -q' to try to clear out the queue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 07:22 AM
тАО05-12-2011 07:22 AM
Re: Sendmail
ps -ef | grep -i sendmail
If it is then restart it.
If still problems then debug:
sendmail -bv alias@domain.com < /dev/null
Post messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 07:55 AM
тАО05-12-2011 07:55 AM
Re: Sendmail
root 14873 1257 0 18:47:20 pts/1 0:00 grep sendmail
root@fobdb / =#/sbin/init.d/sendmail start
mailserver.usfi.com
root@fobdb / =#ps -ef | grep sendmail
root 14925 1257 1 18:47:46 pts/1 0:00 grep sendmail
root@fobdb / =#sendmail -bv dmmcnish@yahoo.com < /dev/null
dmmcnish@yahoo.com... deliverable: mailer esmtp, host yahoo.com, user dmmcnish@yahoo.com
It looks like sendmail doesn't even start. Perplexing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 08:25 AM
тАО05-12-2011 08:25 AM
Re: Sendmail
Are there any messages in /var/adm/syslog/mail.log indicating any failures?