- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail and su
Operating System - HP-UX
1753512
Members
5714
Online
108795
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
тАО07-26-2010 02:42 AM
тАО07-26-2010 02:42 AM
sendmail and su
Hi.
I am sending email from a batch processing system which uses su to set up the correct users. I have recently upgraded from sendmail 8.11 to sendmail 8.13.3
Emails are now being sent with logname and not the real ID as the sender.
Any ideas how to change this behavior?
Regards
Andrew Y
I am sending email from a batch processing system which uses su to set up the correct users. I have recently upgraded from sendmail 8.11 to sendmail 8.13.3
Emails are now being sent with logname and not the real ID as the sender.
Any ideas how to change this behavior?
Regards
Andrew Y
Si hoc legere scis, nimis eruditionis habes
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2010 03:53 AM
тАО07-26-2010 03:53 AM
Re: sendmail and su
It sounds like a scripting problem, but I'm not sure I am getting a clear picture.
logname? Do you mean login id?
Are you trying to change the FROM address for each user that your batch processing does it's "su" to?
To change the FROM, you could:
Create a file /etc/mail/userdb
Edit this file with the format:
:mailname
:maildrop
Example to change root to my addr:
root:mailname rita.workman@mycom.com
rita.workman@mycom.com:maildrop root
You would do this for each user in the file, then run:
#makemap btree /etc/mail/userdb.db < /etc/mail/userdb
Edit /etc/mail/sendmail.cf and unrem the following line:
O UserDatabaseSpec=/etc/mail/userdb.db
Stop/start sendmail
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
/rcw
logname? Do you mean login id?
Are you trying to change the FROM address for each user that your batch processing does it's "su" to?
To change the FROM, you could:
Create a file /etc/mail/userdb
Edit this file with the format:
Example to change root to my addr:
root:mailname rita.workman@mycom.com
rita.workman@mycom.com:maildrop root
You would do this for each user in the file, then run:
#makemap btree /etc/mail/userdb.db < /etc/mail/userdb
Edit /etc/mail/sendmail.cf and unrem the following line:
O UserDatabaseSpec=/etc/mail/userdb.db
Stop/start sendmail
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2010 04:43 AM
тАО07-26-2010 04:43 AM
Re: sendmail and su
>which uses su to set up the correct users.
Are you using su or "su -"?
Are you using su or "su -"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2010 04:45 AM
тАО07-26-2010 04:45 AM
Re: sendmail and su
Hi.
To confirm su -
Regards
Andrew Y
To confirm su -
Regards
Andrew Y
Si hoc legere scis, nimis eruditionis habes
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