- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- masquerade_domains = ?
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
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
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
тАО10-12-2003 07:10 PM
тАО10-12-2003 07:10 PM
can someone explain me, what does it mean
masquerade_domains =
in main.cf from postfix ?
If I put there a domain name, for example:
masquerade_domains = mydomain.net
then all outgoing mails will be
myaddress@mydomain.net ?
Or should I put there only the non existing internet domain ( internal domain )
to hide it ?
kind regards
chris
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2003 07:14 PM
тАО10-12-2003 07:14 PM
Re: masquerade_domains = ?
tells sendmail to masquerade or petend it is a certain domain.
It effects all of the outbound mail on the server if sendmail is being used to send it.
It is okay to use if you only intend to host one domain on a server. If you want to host multiple domains this is more complex and you need a tutorial on the subject that I'd be happy to provide. Let me know.
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-12-2003 11:30 PM
тАО10-12-2003 11:30 PM
Re: masquerade_domains = ?
This is a bite of a hijack, as I can not assign points if you answer me here SEP, but I am sure Chris, would do this for me ?
Thanks, Chris
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2003 11:50 PM
тАО10-12-2003 11:50 PM
Re: masquerade_domains = ?
http://www.sendmail.org/m4/masquerading.html
Basically (stop me Steven if it's not what you meant), if you have ony one doamin, then this option is quite an easy one, for all outgoing mails are seen as coming from 'mydomain.net' even if the sender mail address parameters are not correct.
Otherwise, if you have several domains, then you need several outdgoing domains, of course ! And thus to read the tut !
:]
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2003 01:54 AM
тАО10-13-2003 01:54 AM
Solution/etc/mail/virtusertable
@domainname.com username
Its tab delimited. This routes all the domain mail to one user name. If you want multiple users, these need to be set up explicitly as follows.
webmaster@domainname.com username
user1@domainname.com username2
The /etc/mail/genericstable
is the opposite
username @domainname.com
I usually add an entry to /etc/aliases just to be sure. I have not done a necessity test on this.
@domainname.com: username
Note the colon.
Note the mistake in my earlier post.
In my /etc/mail/sendmail.mc file masquerade_as is commented because it changes the whole system and is not compatible with multiple domains.
masquerade_domain is set on for each domain.
Ooops. Everybody gets tired.
I pull it all together with a script that builds the hash databases. This may not be needed on sendmail 8.12 it would seem those databases build themsleves, not sure about that.
Attaching the script. Note the script has a huge spam database it builds into /etc/access My database has cut my spam to 2 per week at present. Amazing.
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-13-2003 02:28 AM
тАО10-13-2003 02:28 AM
Re: masquerade_domains = ?
So this is like opening a new big chapiter.., will try my hand first on my internal LAN.
Like Alice (well perhap's not Alice) first step in "Wonder" sendmail-land (full rabbits, wonders, dangers, unknows, crytic compiles).
SEP, Tks for the quality and dedication.
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2003 02:42 AM
тАО10-13-2003 02:42 AM
Re: masquerade_domains = ?
sorry, I don't understand Huc's posting !
and I'm not using sendmail, only postfix.
kind regards
chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2003 03:03 AM
тАО10-13-2003 03:03 AM
Re: masquerade_domains = ?
I think postfix is using the sendmail configuration.
Additional note to my tutorial.
sendmail.mc has Cwdomainname.com for each hosted domain.
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-13-2003 03:15 AM
тАО10-13-2003 03:15 AM
Re: masquerade_domains = ?
Yes, Chris sorry for hijack, my previous reply is to answer SEP and Jerome sendmail.cf, mail pointer, tutorials and links on mail in general.
I drifted for your main concern/question "that is main.cf from postfix and masquerade_domains"
Also forgive my sometime's bad english speeling/mastering.
Your question prompt some reply's I was interest in ... I should have started a new question.
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2003 04:25 AM
тАО10-13-2003 04:25 AM
Re: masquerade_domains = ?
To make amends I did some search for you on the internet and found the following link perhaps, this will be of some use to you ?
http://www.postfix.org/faq.html#masquerade
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2003 07:33 PM
тАО10-15-2003 07:33 PM