Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The situation:
I have a web server, running Apache, sendmail and all the regular stuff. I am hosting a couple domains (virtual hosting - one static IP).
The problem:
When I send an email from one virtual domain (ex: joe@domain1.com) on the server to another virtual domain (ex: bob@domain2.com) on the server (using Outlook for example..) it shows up as coming from 'joe@serverdomain.com' instead of joe@domain1.com (serverdomain.com would be the 'base' or 'main' domain hosted on the server). So basically when an email is sent from any user on any of the virtually hosted domains on the server to any other user on the same server, it does not show it as coming from the user's domain name (@domain1.com), rather it shows it as coming from the server's main domain name (@serverdomain.com).
When emails are sent to anyone OUTSIDE the server, everything is ok.
Help!!
Thank you in advance!
Originally posted by peterfig The situation:
I have a web server, running Apache, sendmail and all the regular stuff. I am hosting a couple domains (virtual hosting - one static IP).
The problem:
When I send an email from one virtual domain (ex: joe@domain1.com) on the server to another virtual domain (ex: bob@domain2.com) on the server (using Outlook for example..) it shows up as coming from 'joe@serverdomain.com' instead of joe@domain1.com (serverdomain.com would be the 'base' or 'main' domain hosted on the server). So basically when an email is sent from any user on any of the virtually hosted domains on the server to any other user on the same server, it does not show it as coming from the user's domain name (@domain1.com), rather it shows it as coming from the server's main domain name (@serverdomain.com).
When emails are sent to anyone OUTSIDE the server, everything is ok.
Help!!
Thank you in advance!
Are we talking about the From: header or about other headers, like the "Received From:"headers or the "From " headers (the latter is the mbox seperation line, not the one that shows up normally in your email client).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.