- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with masquerading, sendmail -f, and Cw
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
Discussions
Discussions
Forums
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
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
тАО04-25-2006 09:56 AM
тАО04-25-2006 09:56 AM
Problem with masquerading, sendmail -f, and Cw
Server Zeus is on domain: mycom.com. Email goes out as follows from Zeus:
sendmail -f myunixid@dummydomain.com user@yahoo.com < /file. In the event 'user' no longer exists, email gets routed back to mycom.com, which forwards to Zeus, based on the sender address of myid@dummydomain.com. Since there is a line: Cwdummydomain.com on Zeus, the email gets routed locally to myunixid on thor.
I recently had to modify DM to DMmycom.com, so that other outbound emails reach their destination, and what happened was that the emails from the app now had a sender of "myunixid@mycom.com", which is not a valid exchange account. How can I get around this ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2006 01:04 PM
тАО04-25-2006 01:04 PM
Re: Problem with masquerading, sendmail -f, and Cw
You say:
I recently had to modify DM to DMmycom.com
I'd like to know why? There may be a better way of accomplishing the goal, save blowing up your configuration as the DM directive does.
Suggestions:
If you use a sendmail macro, take the always add domain option out.
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
тАО04-26-2006 03:02 AM
тАО04-26-2006 03:02 AM
Re: Problem with masquerading, sendmail -f, and Cw
I modified the DM on all my UNIX servers because emails sent to external accounts were getting rejected due to the invalid domain (ie., @unixservername.mycom.com) in the header. So I updated the DM to masquerade to @mycom.com. (note: on the unix side we're only allowed to send, and not receive external emails, except for this specific example). For this server, if I use the DM, anything sent to domains listed in Cw, get replaced with the DM domain, thereby hosing the app. If I don't use the DM, anything sent externally outside the app, may get rejected due to an invalid domain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2006 03:21 AM
тАО04-26-2006 03:21 AM
Re: Problem with masquerading, sendmail -f, and Cw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2006 03:36 AM
тАО04-26-2006 03:36 AM
Re: Problem with masquerading, sendmail -f, and Cw
Try this:
update DM with some domain.
have a Cw line specifying a different domain. Stop/start sendmail (if its running). Then send yourself 2 emails: 1 using the "-f" to set the 'from' address to a 3rd domain name, and for the other use -f to change the the sender address to mimic the domain you specified in the Cw line. From my testing, the first email will look like its coming from the 3rd domain (ie., whatever was entered after the -f). The second email [should] take on the domain from the DM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2006 03:53 AM
тАО04-26-2006 03:53 AM
Re: Problem with masquerading, sendmail -f, and Cw
All the updated ar preceeded with a series of #'s and UPDATED (in caps) :
########## UPDATED #########
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2006 08:35 AM
тАО04-26-2006 08:35 AM
Re: Problem with masquerading, sendmail -f, and Cw
Thanks to all that replied.