- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail From Rewriting
Operating System - HP-UX
1753767
Members
5358
Online
108799
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
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
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-15-2010 02:58 PM
05-15-2010 02:58 PM
Sendmail From Rewriting
We are having an issue with rewriting a from header on HP-UX 11.11 with sendmail 8.9.3.
There is an application that is running under a single user for multiple customers. It sends out informational e-mails to the different customers. The application is limited to be able to send out the e-mails with only a single e-mail address. For the various customers, we do address rewriting of the From header. This works fine. The issue, however, is that sendmail pulls the GECOS information for the single user the app is running under and places it in the From header. One customer would like this changed. The others do not. We are experiencing issues on getting this rewritten for the single customer.
The customer is setup with their own mailer configuration. I have tried adding the "c" option to the F field but with no success. Attempts to rewrite using the H headers proved also unsuccessful as it just stripped the information completely for all customers, which is not desirable.
I tried creating a custom H rule similar to the following:
H?J?From: $g$
and then specified J in the F field of the mailer section for the one customer. That did not work either.
Any other options I might have on getting this done?
Please let me know if you need any more information. Thanks.
There is an application that is running under a single user for multiple customers. It sends out informational e-mails to the different customers. The application is limited to be able to send out the e-mails with only a single e-mail address. For the various customers, we do address rewriting of the From header. This works fine. The issue, however, is that sendmail pulls the GECOS information for the single user the app is running under and places it in the From header. One customer would like this changed. The others do not. We are experiencing issues on getting this rewritten for the single customer.
The customer is setup with their own mailer configuration. I have tried adding the "c" option to the F field but with no success. Attempts to rewrite using the H headers proved also unsuccessful as it just stripped the information completely for all customers, which is not desirable.
I tried creating a custom H rule similar to the following:
H?J?From: $g$
and then specified J in the F field of the mailer section for the one customer. That did not work either.
Any other options I might have on getting this done?
Please let me know if you need any more information. Thanks.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 12:07 AM
05-17-2010 12:07 AM
Re: Sendmail From Rewriting
Hello,
For a large private hospital group I did
almost exactly the same kind of setup
six years ago.
The short answer with a free and reliable
tool is:
a) Set up a special Unix account on the
server that will accept all email, originally
destined for remote sites;
b) In that Unix account, set up Procmail
filter recipes.
c) Based on Procmail recipes, each email
will have modified headers before
it is sent to remote sites.
Procmail can "forge" and change any kind of
email header...
There are other APIs you could use, but
Procmail is a nice, simple method.
Cheers,
VK2COT
For a large private hospital group I did
almost exactly the same kind of setup
six years ago.
The short answer with a free and reliable
tool is:
a) Set up a special Unix account on the
server that will accept all email, originally
destined for remote sites;
b) In that Unix account, set up Procmail
filter recipes.
c) Based on Procmail recipes, each email
will have modified headers before
it is sent to remote sites.
Procmail can "forge" and change any kind of
email header...
There are other APIs you could use, but
Procmail is a nice, simple method.
Cheers,
VK2COT
VK2COT - Dusan Baljevic
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