LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-11-2007, 02:34 AM   #1
yukinK
LQ Newbie
 
Registered: May 2007
Posts: 11

Rep: Reputation: 0
how to change mail header


hai ,

i have setup a new LAMP server, when i try to send mail using the server.it delivered as spam. also in the email header i have got some weird thing " Received: from smtp.com (my-site.com [127.0.0.1])"

which i want to change

Received: from xxxxx.com (my-site.com [127.0.0.1]).

any idea , where to change it , and how to change it.

please help me to fix this problem.i trying to solve it since three days.

find the result for good analysis.


Return-Path: <cyrus@xxxxxx>
Received: from xxxxx ([unix socket])
by xxxxxx (Cyrus v2.1.15) with LMTP; Tue, 09 Oct 2007 13:12:22 +0530
X-Sieve: CMU Sieve 2.2
Return-Path: <nandha@bp.com>
Received: from smtp02.xxxxx.com (smtp02.xxxxxx.com [00.0.0.0])
by xxxxx.xxxxxx.com (8.12.8/8.12.8) with ESMTP id l997fAgI022639
for <tamilmalaravan@xxxxxx.com>; Tue, 9 Oct 2007 13:12:03 +0530
Received: from smtp.com (my-site.com [127.0.0.1])
by smtp02.xxxxx.com (8.12.11.20060308/8.12.11) with SMTP id l996olE3019109
for <tamilmalaravan@xxxxxxx.com>; Tue, 9 Oct 2007 01:50:52 -0500
Message-Id: <200710090650.l996olE3019109@smtp02.xxxxxxx.com>
Date: Tue, 9 Oct 2007 01:50:52 -0500
From: "nandha"<nandha@bp.com>
Subject: fgdg
To: tamilmalaravan@xxxxx.com
Precedence: list
Content-Type: text/html
MIME-Version: 1.0
Reply-to: nandha@bp.com
X-BPCamp: cm_camp_253
X-Bulkmail: 2.04
X-yoursite-MailScanner-Information: Please contact the ISP for more information
X-yoursite-MailScanner: Found to be clean
X-MailScanner-From: nandha@bp.com




thanks in advance.
 
Old 10-13-2007, 02:29 PM   #2
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
That is not how a mail system works. I am not exactly sure how to put it more accurately, but "Received:" header is added by the mail server. The "Received:" headers of any email message will tell you where the message originated and what route it took to get to you. Technically, you can, add this "Received:" header into your email before sending it to a mail server. However, it will not prevent the mail server to add its "Received:" header.

To understand more into this, I suggest you should read:

Reading Email Headers

If you are curious, you should also read into (to get a better understanding of SMTP and mail headers):

I guess, this is not the answer you wish to see...

Last edited by ghostdancer; 10-13-2007 at 04:19 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No Permission to use setsockopt to change IP Header mohtasham1983 Programming 1 04-25-2007 07:18 PM
can i use a from header to use the $mail command dsids Linux - Newbie 1 10-19-2006 06:39 PM
How to change Invisionpower forum header x2000koh Linux - Software 1 07-31-2004 11:49 AM
changing mail header Van jan Linux - Security 1 03-30-2004 12:03 PM
I want change mail header info, which config file i should modify? exper Linux - Software 2 12-05-2003 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration