GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail masquerading
Operating System - HP-UX
1846591
Members
2213
Online
110256
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
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-20-2002 01:11 PM
05-20-2002 01:11 PM
sendmail masquerading
I want to change my mail from my unix servers so it shows as coming from "usco.com" instead of "servername.usco.com"
my latest attempt at the xxx.mc file added the following to the generic sample.
FEATURE(`masquerade_envelope')dnl
FEATURE(`masquerade_entire_domain')dnl
MASQUERADE_AS(usco.com)dnl
MASQUERADE_DOMAIN(usco.com)dn
What am I missing here ?
my latest attempt at the xxx.mc file added the following to the generic sample.
FEATURE(`masquerade_envelope')dnl
FEATURE(`masquerade_entire_domain')dnl
MASQUERADE_AS(usco.com)dnl
MASQUERADE_DOMAIN(usco.com)dn
What am I missing here ?
Ride Boldly Ride, but watch out for El Dorados
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 01:11 AM
05-21-2002 01:11 AM
Re: sendmail masquerading
Hi,
You can remove the last line (Masquerade_domain)
and add this feature :
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
you store in /etc/mail/generics-domains :
servername
servername.yourdomain.com
In fact, it means that you will masq all mails coming from host of this file.
You can also to check before recreate the cf file, change directly sendmail.cf, and uncomment the CM line to add :
CM servername servername.yourdomain.com
don't forget to kill -1 your sendmail PID to read the new conf file..
hope it may help
You can remove the last line (Masquerade_domain)
and add this feature :
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
you store in /etc/mail/generics-domains :
servername
servername.yourdomain.com
In fact, it means that you will masq all mails coming from host of this file.
You can also to check before recreate the cf file, change directly sendmail.cf, and uncomment the CM line to add :
CM servername servername.yourdomain.com
don't forget to kill -1 your sendmail PID to read the new conf file..
hope it may help
Une application mal pansée aboutit à une usine à gaze (GHG)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 02:56 AM
05-21-2002 02:56 AM
Re: sendmail masquerading
hi,
You may be sending mails as a exposed user in sendmail. The masquerading will done for all except the exposed users .
This is the macro in sendmail.mc
EXPOSED_USER(usernames)
That adds the below line in /etc/sendmail.cf
C{E}root
So if you send a mail as root ( exposed user ) the server name will not be masqueraded as domain name.
So edit /etc/sendmail.cf and remove root and line should be like this,
C{E]
Hope it will work now.
regards,
U.SivaKumar
You may be sending mails as a exposed user in sendmail. The masquerading will done for all except the exposed users .
This is the macro in sendmail.mc
EXPOSED_USER(usernames)
That adds the below line in /etc/sendmail.cf
C{E}root
So if you send a mail as root ( exposed user ) the server name will not be masqueraded as domain name.
So edit /etc/sendmail.cf and remove root and line should be like this,
C{E]
Hope it will work now.
regards,
U.SivaKumar
Innovations are made when conventions are broken
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 2026 Hewlett Packard Enterprise Development LP