HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Help w/ Sendmail configuration...
Operating System - HP-UX
1834921
Members
3083
Online
110071
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-17-2004 07:44 AM
05-17-2004 07:44 AM
Help w/ Sendmail configuration...
Hello,
I don't know a great deal about Sendmail, so please be gentle.
How do you configure the "From:" display for a user. I have a user who wants the "From:" display to be the same from all of the systems that he gets mail from.
All help is appreciated.
I don't know a great deal about Sendmail, so please be gentle.
How do you configure the "From:" display for a user. I have a user who wants the "From:" display to be the same from all of the systems that he gets mail from.
All help is appreciated.
Too ugly to live, too weird to die, too stupid to know the difference.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 07:47 AM
05-17-2004 07:47 AM
Re: Help w/ Sendmail configuration...
I'm attaching a script.
If you read it carefully, you will see how in a sendmail script the from: is set.
SEP
If you read it carefully, you will see how in a sendmail script the from: is set.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 08:09 AM
05-17-2004 08:09 AM
Re: Help w/ Sendmail configuration...
Thanx for the response, but that's not what I was really looking for. I guess I didn't explain myself well enough. I've included a generic scenario to try and explain better.
I have a user whom we'll called bill_king. Bill wants the e-mails generated from his cron and batch jobs to have the following format:
From: Bill King (bill_king@company.com)
How do I configure senmail to show the above "alias" for Bill's account whenever it sends out an e-mail?
I have a user whom we'll called bill_king. Bill wants the e-mails generated from his cron and batch jobs to have the following format:
From: Bill King (bill_king@company.com)
How do I configure senmail to show the above "alias" for Bill's account whenever it sends out an e-mail?
Too ugly to live, too weird to die, too stupid to know the difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 08:35 AM
05-17-2004 08:35 AM
Re: Help w/ Sendmail configuration...
all this depends on how you generate the email out of cron.
WE generally use mailx. It has limited abilities in this error.
You can use the prior script as follows.
Send output from cron to a file and use mailfile2 to send the output as an attachment.
We don't do that.
Here is another approach:
lets say the user name is bill
in /etc/mail/aliases
bill@company.com: bill
tab delimited.
To make this work, you may need to compile sendmail macros. See the script http://www.hpux.ws/buildmail.hpux.text
Another approach is:
/etc/mail/virtusertable
bill@company.com bill
tab delimited no colon
/etc/mail/genericstable
bill bill@company.com
tab delimited.
Also, the sendmail database is compliled by the script linked in above.
SEP
WE generally use mailx. It has limited abilities in this error.
You can use the prior script as follows.
Send output from cron to a file and use mailfile2 to send the output as an attachment.
We don't do that.
Here is another approach:
lets say the user name is bill
in /etc/mail/aliases
bill@company.com: bill
tab delimited.
To make this work, you may need to compile sendmail macros. See the script http://www.hpux.ws/buildmail.hpux.text
Another approach is:
/etc/mail/virtusertable
bill@company.com bill
tab delimited no colon
/etc/mail/genericstable
bill bill@company.com
tab delimited.
Also, the sendmail database is compliled by the script linked in above.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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