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


  Search this Thread
Old 10-11-2007, 02:34 AM   #1
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 delivered as spam. also in the email header i have got some weird thing " Received: from ( [])"

which i want to change

Received: from ( []).

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: <>
Received: from ( [])
by (8.12.8/8.12.8) with ESMTP id l997fAgI022639
for <>; Tue, 9 Oct 2007 13:12:03 +0530
Received: from ( [])
by ( with SMTP id l996olE3019109
for <>; Tue, 9 Oct 2007 01:50:52 -0500
Message-Id: <>
Date: Tue, 9 Oct 2007 01:50:52 -0500
From: "nandha"<>
Subject: fgdg
Precedence: list
Content-Type: text/html
MIME-Version: 1.0
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

thanks in advance.
Old 10-13-2007, 02:29 PM   #2
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.


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 > Forums > Linux Forums > Linux - Server

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

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