- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: configure masquerading on hpux 11.11 sendmail
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
тАО07-02-2006 12:20 AM
тАО07-02-2006 12:20 AM
I'm trying to configure masquerading on one of my hpux servers (to hide server name from origin fields on messages)
when I mails from this hpux server, the 'from' field appears correctly, without server name ,
but, if I check the internet header, I see that next to the ' return path' field, the original host name does appears.
I'm running sendmail 8.9.3.1 PHNE_29774 on HPUX 11.11 machine (PA Risc)
attached sendmail.cf from the server, and, the mail internet header:
Microsoft Mail Internet Headers Version 2.0
Received: from blackhawk4.pelephone.co.il ([10.57.9.97]) by blackhawk2.pelephone.co.il with Microsoft SMTPSVC(6.0.3790.211);
Sun, 2 Jul 2006 15:10:06 +0200
Received: from STARGATE.pelephone.co.il ([10.57.9.70]) by blackhawk4.pelephone.co.il with Microsoft SMTPSVC(6.0.3790.211);
Sun, 2 Jul 2006 15:10:06 +0200
Received: from cust1.pelephone.co.il (unverified) by STARGATE.pelephone.co.il
(Content Technologies SMTPRS 4.2.10) with ESMTP id
Sun, 2 Jul 2006 15:09:50 +0200
Received: (from root@localhost) by cust1.pelephone.co.il (8.9.3 (PHNE_29774)/8.7.3) id PAA01833 for itaiwe; Sun, 2 Jul 2006 15:10:33 +0300 (IDT)
Date: Sun, 2 Jul 2006 15:10:33 +0300 (IDT)
From: root@pelephone.co.il
Message-Id: <200607021210.PAA01833@cust1.pelephone.co.il>
To: itaiwe@pelephone.co.il
Subject: tesst
Mime-Version: 1.0
Content-Type: text/plain; charset=X-roman8
Content-Transfer-Encoding: 7bit
Return-Path: root@cust1.pelephone.co.il
X-OriginalArrivalTime: 02 Jul 2006 13:10:06.0170 (UTC) FILETIME=[D65F3BA0:01C69DD8]
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2006 01:18 AM
тАО07-02-2006 01:18 AM
Re: configure masquerading on hpux 11.11 sendmail
Couple quickies might work:
Dj directive in sendmail.cf
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
If that does not work and you truly want to use the sendmail.mc file (its name is different in HP-UX) then see the masquerade instructions at http://www.sendmail.org
and
look at my handy anti spam script that generates and creates mail configurations in HP-UX.
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
тАО07-02-2006 01:32 AM
тАО07-02-2006 01:32 AM
Re: configure masquerading on hpux 11.11 sendmail
now Dj entry looks like that:
Dj$w.pelephone.co.il
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2006 01:01 AM
тАО07-03-2006 01:01 AM
Re: configure masquerading on hpux 11.11 sendmail
(sendmail.cf file)
O UserDatabaseSpec=/etc/mail/userdb.db
(userdb file)
aen:mailname enorton@applicat.com
enorton:maildrop aen
When user 'aen' sends out an email, the 'from' address becomes 'enorton@applicat.com' even though the domain might be something other than applicat.com, for example he might really be:
aen@internaldomain.com
You would need to add applicat.com to sendmail.cw as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2006 01:04 AM
тАО07-03-2006 01:04 AM
Re: configure masquerading on hpux 11.11 sendmail
userdb sendmail
You'll find lots of good information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2006 01:24 AM
тАО07-03-2006 01:24 AM
SolutionIf you mean the "Receicved:...." lines that show the route of the message, it is per design and confirm the RFC, to show the route a message has taken. The originating host is also embeded in the Message-id.
When these header lines are tampered with, a receiving host could consider your message as SPAM, since you want to disguise your identity (Spammers tend to like to hide their identity). I am not suggesting you are a spammer, do not get me wrong here, merely that you are attempting to mimic one. Masquerading (also known as site hiding) is a mechanism, that allows replies/non-deliveries to be returned to a central mailserver (i.e. pelephone.il) instead of to every system that is capable of sending, so you do not have to logon to every system, to check for email. That is the function of Masquerading, not to hide the identity of the sending host.
Hope This Helps
regards,
Kasper Haitsma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2006 02:15 AM
тАО07-03-2006 02:15 AM
Re: configure masquerading on hpux 11.11 sendmail
But - one mail server. When someone from one of the divisions sends out an email, we want the email to appear to come from one of the divisions, not the parent company.
So, site hiding has value.
We set up the public DNS records so that MX records for any of the three domains, go to the public IP address of the parent domain.
Then, sendmail.cw allows sendmail to accept mail for any of the three.
The userdb has two functions:
On outgoing mail it masks the name of the parent company domain, for the other two divisions.
It allows us to have a 'pretty name' for a user for email (fmartin is my 'pretty' email name, my login and sendmail inbox is actually something else).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2006 02:23 AM
тАО07-03-2006 02:23 AM
Re: configure masquerading on hpux 11.11 sendmail
Our setup does hide host and domain names on the main header.
But you're correct, anyone caring to look at the header -detail- can still find hostnames etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2006 02:33 AM
тАО07-03-2006 02:33 AM
Re: configure masquerading on hpux 11.11 sendmail
"Return-Path: root@cust1.pelephone.co.il"
in my 1st response.
root is a special user, which by default is not masqueraded (check the CE parameter in sendmail.cf)
if DMpelephone.co.il
where should root@pelephone.co.il be delivered, if you have more then one unix system?
one can use the userdb, to change the sending root@cust1.pelephone.co.il into root.cust1@pelephone.co.il, so on return/answer, the alias can be converted back to root@cust1.pelephone.co.il but that is advanced masquerading, and not part of the original question
HTH
Kasper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2006 07:10 AM
тАО07-03-2006 07:10 AM
Re: configure masquerading on hpux 11.11 sendmail
1. I'm not a spammer, I work for a company called pelephone. our domain is known in the world as 'pelephone.co.il' , but when I send mails from our Unix enviorment, in the return path field it appears as 'user@hostname.pelephone.co.il' - which is a non existing domain, therfore most of the mails that received from our unix enviorment are reconginzed as spam and being filtered. I want to prevent that from happening.
2.I do not have a dns server in our enviorment (we use NIS) I cannot create one, Is it mandatory to have one in order to solve this issue?
3. I didn't understand why should I have a userdb.... actually the best solution for me would be if all mails from our unix enviorment will be received from one user (like post@pelephone.co.il) since these mail are autogenerated reports, no reply is requierd (and the users that creating these reports have no mailboxs)
thanks