[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.5

Postfix Virtual Domains setup

Asked by ashuji in Postfix, Email Servers, Linux, CentOS

Tags: Postfix on Cent OS 5

Hi

I am configuring postfix server to send mail for 8 differnet domains.  I configured it using virtual_alias_domains and virtual_alias_maps parameters.  I am able to send mail as FROM any of these 8 domains.  

I am facing issue with the header of mail being sent from any of the virtual domain, please refer to the header of one of the mail as below:

Please refer to the 7th line in the header:
"Received: from CentOS52.localdomain ([<my public IP>])"

CentOS52.localdomain is the hostname of the system postfix is hosted on.

If I am sending from domain tmails.com then why is it showing hostname "CentOS52.localdomain " in the header, is there any way to replace hostname in the header with the domain name.

like if I am sending mail as ashwani@tmails.com then it should show in header at 7th line:

"Received: from tmails.com ([<my public IP>])"

and if the second virtual domain configured in my postfix is "xmails" and if I am sending mail as ashwani@xmails.com then it should show in header at 7th line:

"Received: from xmails.com ([<my public IP>])"


Header:
Delivered-To: ashuji@gmail.com
Received: by 10.220.74.19 with SMTP id s19cs55809vcj;
        Wed, 10 Jun 2009 11:33:24 -0700 (PDT)
Received: by 10.142.232.7 with SMTP id e7mr637135wfh.164.1244658804206;
        Wed, 10 Jun 2009 11:33:24 -0700 (PDT)
Return-Path: <ashwani@tmails.com>
Received: from CentOS52.localdomain ([<my_public_IP>])
        by mx.google.com with SMTP id 3si1551335pzk.134.2009.06.10.11.33.22;
        Wed, 10 Jun 2009 11:33:23 -0700 (PDT)
Received-SPF: fail (google.com: domain of ashwani@tmails.com does not designate <my_public_IP> as permitted sender) client-ip=<my_public_IP>;
Authentication-Results: mx.google.com; spf=hardfail (google.com: domain of ashwani@tmails.com does not designate <my_public_IP> as permitted sender) smtp.mail=ashwani@tmails.com
Received: from indiaws145 (unknown [192.168.2.72])
      by CentOS52.localdomain (Postfix) with SMTP id CD778781E5
      for <ashuji@gmail.com>; Thu, 11 Jun 2009 00:03:19 +0530 (IST)
Message-ID: <6A5120BB1FEC46B9AA851EA2DC295A62@rapidcorp.com>
Reply-To: "Ashwani Jain" <ashwani@tmails.com>
From: "Ashwani Jain" <ashwani@tmails.com>
To: <ashuji@gmail.com>
Subject: Test-5
Date: Thu, 11 Jun 2009 00:03:14 +0530
MIME-Version: 1.0
Content-Type: multipart/alternative;
      boundary="----=_NextPart_000_005D_01C9EA28.03CC93A0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579

This is a multi-part message in MIME format.

------=_NextPart_000_005D_01C9EA28.03CC93A0
Content-Type: text/plain;
      charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hi!
------=_NextPart_000_005D_01C9EA28.03CC93A0
Content-Type: text/html;
      charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16825" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hi!</FONT></DIV></BODY></HTML>

------=_NextPart_000_005D_01C9EA28.03CC93A0--
[+][-]06/16/09 12:19 PM, ID: 24641433Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Postfix, Email Servers, Linux, CentOS
Tags: Postfix on Cent OS 5
Sign Up Now!
Solution Provided By: oklit
Participating Experts: 2
Solution Grade: B
 
[+][-]06/11/09 05:20 AM, ID: 24601231Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]06/11/09 05:21 AM, ID: 24601234Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]06/11/09 05:34 AM, ID: 24601384Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/11/09 05:53 AM, ID: 24601576Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/11/09 06:57 AM, ID: 24602311Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/11/09 08:20 AM, ID: 24603409Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/11/09 09:39 AM, ID: 24604273Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/11/09 10:05 AM, ID: 24604522Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/11/09 10:54 AM, ID: 24604943Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/11/09 11:47 AM, ID: 24605480Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/11/09 11:50 AM, ID: 24605516Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/11/09 11:52 AM, ID: 24605539Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/11/09 12:01 PM, ID: 24605613Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/11/09 12:11 PM, ID: 24605715Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/11/09 12:15 PM, ID: 24605766Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/11/09 01:13 PM, ID: 24606356Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/11/09 02:09 PM, ID: 24606898Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/11/09 08:17 PM, ID: 24608883Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/12/09 08:58 AM, ID: 24613511Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/13/09 09:22 AM, ID: 24619733Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/15/09 03:55 PM, ID: 24633735Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/16/09 11:24 AM, ID: 24640796Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/16/09 03:16 PM, ID: 24643145Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/16/09 03:19 PM, ID: 24643176Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625