HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Bizarre sendmail issue.
Operating System - HP-UX
1829737
Members
2069
Online
109992
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
Forums
Discussions
Discussions
Discussions
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
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
05-29-2001 11:11 AM
05-29-2001 11:11 AM
Bizarre sendmail issue.
On HP-UX 11.0, running sendmail 8.9.3 (PHNE_18546), I 'm having a strange problem.
Logged on to the machine as root, when I send mail to somebody not on the machine (goes through the relay to another machine) the mail appears to be from someone besides root. It actually shows up as being from another user on the box.
I've scoured the config files, even reset them to the ones from /usr/newconfig, but it still does the same thing. Currently, it is running under the default files that come with sendmail with NO modifications..
I did a sendmail -d21.12 -v gwol@chevron.com to look at the rules as they are applied, but they don't make much sense to me.
One interesting thing is that through the trace, it's root, up to some point where it appears to just arbitrarily call another ruleset with the users name. See the attached file.
Any ideas?
Logged on to the machine as root, when I send mail to somebody not on the machine (goes through the relay to another machine) the mail appears to be from someone besides root. It actually shows up as being from another user on the box.
I've scoured the config files, even reset them to the ones from /usr/newconfig, but it still does the same thing. Currently, it is running under the default files that come with sendmail with NO modifications..
I did a sendmail -d21.12 -v gwol@chevron.com to look at the rules as they are applied, but they don't make much sense to me.
One interesting thing is that through the trace, it's root, up to some point where it appears to just arbitrarily call another ruleset with the users name. See the attached file.
Any ideas?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 12:12 PM
05-29-2001 12:12 PM
Re: Bizarre sendmail issue.
Hmmm...
Well, here's one thought.
Check your /etc/mail/sendmail.cf file and see if there is a line that is uncommented that looks like this:
UserDatabaseSpec=/etc/mail/
If there is, than I would say that somebody created a database whereby the FROM is changed to whatever this filename.db has assigned it to be. There is an HP document regarding this (KBRC00001457). If you don't have access to it...and your sendmail.cf files looks like this is what happened, I'll post it for you.
Just a thought,
Rita
Well, here's one thought.
Check your /etc/mail/sendmail.cf file and see if there is a line that is uncommented that looks like this:
UserDatabaseSpec=/etc/mail/
If there is, than I would say that somebody created a database whereby the FROM is changed to whatever this filename.db has assigned it to be. There is an HP document regarding this (KBRC00001457). If you don't have access to it...and your sendmail.cf files looks like this is what happened, I'll post it for you.
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 05:40 PM
05-29-2001 05:40 PM
Re: Bizarre sendmail issue.
That is peculiar.
When I tried to replicate the problem:
1) log in as me
2) su to root
3) sendmail mark@xyz.com
4) mail received from me@localhost
5) log in as root
6) sendmail mark@xyz.com
7) mail received from root@localhost
When I tried to replicate the problem:
1) log in as me
2) su to root
3) sendmail mark@xyz.com
4) mail received from me@localhost
5) log in as root
6) sendmail mark@xyz.com
7) mail received from root@localhost
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 11:52 PM
05-29-2001 11:52 PM
Re: Bizarre sendmail issue.
Just to avoid confusion over the 'su' issue, sendmail will always use the original login as the "MAIL From: " address (not root if 'su' was used). To display who the "real" user is:
# whoami
root
# who am i
user1 pts/1 May 24 14:47
The former shows the 'su' user (root), the latter shows the original login.
# whoami
root
# who am i
user1 pts/1 May 24 14:47
The former shows the 'su' user (root), the latter shows the original login.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP