- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail / user DB and Cc:
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
08-03-2004 01:51 AM
08-03-2004 01:51 AM
Basically, email from "xfm" is re-written to be from "fmartin@mydomain.com" and incoming mail to "fmartin" is delivered to "xfm".
This all works swell. The problem is with Cc: addresses or multiple addresses on the To: line.
Example:
From: xfm
To: willy@aol.com
Cc: xdd,xkt
Willy sees the mail as coming from fmartin@mydomain.com, but the Cc: addresses are not changed.
If Willy does a "reply-to-all" he gets delivery errors on the other addresses.
Surely this bridge has been crossed,
Fred
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 02:05 AM
08-03-2004 02:05 AM
Re: sendmail / user DB and Cc:
DMmydomain.com
in sendmail.cf?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 02:26 AM
08-03-2004 02:26 AM
Re: sendmail / user DB and Cc:
The aliases can also be set up in /etc/mail/aliases
To put the changes into use for sendmail.cf you might need a script: http://www.hpux.ws/buildmail.hpux.text
SEP
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
08-03-2004 02:33 AM
08-03-2004 02:33 AM
Re: sendmail / user DB and Cc:
DNS points MX records for three different domains to this one server.
The user DB has three different domains depending on which of our three companies the person works for. So the domain in mailname entry for a particular user may vary from other users.
xfm:mailname fmartin@mydomain.com
fmartin:maildrop xfm
xdd:mailname ddube@otherdomain.com
ddube:maildrop xdd
I think if I put a DM in there, the domain would appear incorrect for two thirds of the users - although, of course, the server would accept and deliver the mail just fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 06:04 AM
08-03-2004 06:04 AM
Re: sendmail / user DB and Cc:
I tried the DM macro. Yes, that fixes it, however it does have the affect that -all- users, even those that are from the masqueraded domains, get the domain that is called out in DM.
Is there anything more clever that I could do? It would need to extract the appropriate domain from the user DB, somehow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 06:48 AM
08-03-2004 06:48 AM
Re: sendmail / user DB and Cc:
Cc: xfm@mydomain.com, xdd@mydomain.com
Where I'd really like to see:
Cc: famrtin@mydomain.com, ddube@otherdomain.com
As I said the former is deliverable, it's just not pretty, and in the case of the two masqueraded domains, the domain shown is incorrect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2004 06:00 AM
08-04-2004 06:00 AM
SolutionOn incoming emails, if there is a recognized 'maildrop' name, *only* that name (or names) get changed in the "To" (or CC/BCC) addresses ('maildrop' of fmartin@mydomain.com gets changed to xfm).
In order for Willy to get the correct email addresses for xdd and xkt, you'll have to use the full "public" address in your outgoing email - ddang@mydomain.com, ktang@otherdomain.com ( where ddang@mydomain.com is the maildrop for xdd and ktang@otherdomain.com is the maildrop for xkt).
Been over the bridge with HP and that was their answer on the other side ...
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2004 06:38 AM
08-04-2004 06:38 AM