- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: sendmail masquerading problem
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
тАО03-28-2003 04:32 AM
тАО03-28-2003 04:32 AM
In my sendmail.mc, I put that:
FEATURE(`genericstable', `hash -o /etc/mail/genericstable')
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(`masquerade_entire_domain')
FEATURE(`masquerade_envelope')
FEATURE(`allmasquerade')
MASQUERADE_AS(`think.fr.')
MASQUERADE_DOMAIN(`think.fr.')
MASQUERADE_AS(think.fr)
and in genericstable I put that:
root@www.think.fr louis@think.fr
root louis@think.fr
louis louis@think.fr
louis@station2.think.fr louis@think.fr
Of course then I update sendmail:
makemap -r hash genericstable.db < genericstable
m4 sendmail.mc > sendmail.cf
/etc/init.d/sendmail restart
But when I send a mail with root, I still have
root@www.think.fr
instead of root@think.fr or louis@think.fr
other problem : How to tell sendmail that @think.fr are local adresses ? (it says to me that it loops) ?
Thanks by advance !
Louis
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2003 04:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2003 07:48 PM
тАО03-28-2003 07:48 PM
Re: sendmail masquerading problem
Edit sendmail.cf.
There will be a line like this.
CE root
The above line will prevent masquerading the root user.
Change it to
CE
Save and restart the sendmail.
Hope your problem is solved.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2003 09:13 AM
тАО03-29-2003 09:13 AM
Re: sendmail masquerading problem
Where do I put that you resolved my problem ?
Louis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2003 07:51 PM
тАО03-29-2003 07:51 PM
Re: sendmail masquerading problem
Use the pull down to pick the number of points and press submit.
I'm attaching a tar of my sendmail setup so you can use it as a reference.
I've also included in the tar a buildmail script for linux that rebuilds the hash databases after you make changes.
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
тАО10-19-2005 09:25 AM
тАО10-19-2005 09:25 AM