- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail Is Doing My Head In
Operating System - HP-UX
1753829
Members
8926
Online
108806
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО03-21-2002 09:55 PM
тАО03-21-2002 09:55 PM
Sendmail Is Doing My Head In
When I try to send mail to myself on a HP-UX 11.00 machine I get the following response:
# mailx -s test1 user@host.domain
.
EOT
Null message body; hope that's ok
# user@host.domain... User unknown
/dead.letter... Saved message in /dead.letter
#
My /etc/nsswitch.conf looks like this:
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
Our DNS has MX records for all users on our network. What I really want to be able to do is:
1. If a mail is addressed to user@server.domain then it is delivered locally on server.domain.
2. Use the /etc/mail/alias file to be able to run a program, etc.
4. If a mail is addressed to anyone not on the local server it is redirected to the mail hub servers listed in the DNS MX records.
# mailx -s test1 user@host.domain
.
EOT
Null message body; hope that's ok
# user@host.domain... User unknown
/dead.letter... Saved message in /dead.letter
#
My /etc/nsswitch.conf looks like this:
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
Our DNS has MX records for all users on our network. What I really want to be able to do is:
1. If a mail is addressed to user@server.domain then it is delivered locally on server.domain.
2. Use the /etc/mail/alias file to be able to run a program, etc.
4. If a mail is addressed to anyone not on the local server it is redirected to the mail hub servers listed in the DNS MX records.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2002 11:23 PM
тАО03-21-2002 11:23 PM
Re: Sendmail Is Doing My Head In
Hi,
Let us know what is in your /etc/sendmail.cw file.
All forms of name resolving should be in there.
like:
localhost
sultan
sultan.domain.com
sultan.
C.
Let us know what is in your /etc/sendmail.cw file.
All forms of name resolving should be in there.
like:
localhost
sultan
sultan.domain.com
sultan.
C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2002 11:45 PM
тАО03-21-2002 11:45 PM
Re: Sendmail Is Doing My Head In
Hi
when you are sending mail to someone on the same server you can drop the domain name
mailx -s TEST username
cheers
John.
when you are sending mail to someone on the same server you can drop the domain name
mailx -s TEST username
cheers
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2002 12:00 AM
тАО03-22-2002 12:00 AM
Re: Sendmail Is Doing My Head In
Hi Tony,
First off, the null message body can be overcome with:
mailx -s "TEST" username << "TEST".
I would then check the /etc/mail/aliases file to ensure that sendmail knows who you are and where to send the mail. If this exists, try a sendmail -bv username and it will confirm whether the address is deliverable or not.
Tony W
First off, the null message body can be overcome with:
mailx -s "TEST" username << "TEST".
I would then check the /etc/mail/aliases file to ensure that sendmail knows who you are and where to send the mail. If this exists, try a sendmail -bv username and it will confirm whether the address is deliverable or not.
Tony W
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP