LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-05-2003, 06:07 AM   #1
exper
Member
 
Registered: Jul 2003
Location: China
Distribution: Redhat
Posts: 48

Rep: Reputation: 15
I want change mail header info, which config file i should modify?


the following is a sample mail header from my mail server to yahoo.com
X-Apparently-To: antims@yahoo.com via 216.136.225.229; Fri, 05 Dec 2003 00:31:02 -0800
Return-Path: <rut@maydomain01.com>
Received: from 218.18.138.114 (EHLO localhost.localdomain) (218.18.138.114) by mta132.mail.sc5.yahoo.com with SMTP; Fri, 05 Dec 2003 00:30:59 -0800
Received: from dowell (nstnt4.szptt.net.cn [202.104.103.133] (may be forged)) by localhost.localdomain (8.12.8/8.12.8) with SMTP id hB58UBY1002675 for <antims@yahoo.com>; Fri, 5 Dec 2003 16:30:11 +0800
Message-ID: <000001c3bb90$b909d560$0968010a@dowell>
From: "Dowell " <rut@maydomain01.com> Add to Address Book
To: antims@yahoo.com
Subject: test for relay
Date: Fri, 5 Dec 2003 16:22:24 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Content-Length: 4

I want use the dns name replace the red part i mentioned above. which config file i need modify. I use sendmail.

Thanks
D.Z
 
Old 12-05-2003, 06:12 AM   #2
wiredX
Member
 
Registered: Jul 2003
Distribution: Redhat 8.0
Posts: 38

Rep: Reputation: 15
what distro are you using???
If using Redhat goto /etc/sendmail and edit main.cf config or use a webmin if you don,t to edit the config by hand.
 
Old 12-05-2003, 07:46 AM   #3
exper
Member
 
Registered: Jul 2003
Location: China
Distribution: Redhat
Posts: 48

Original Poster
Rep: Reputation: 15
my distro is RH9.
but i couldn't find main.cf, where is it?
 
  


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
Modify Header Response Vort3x Linux - Security 8 12-17-2004 01:58 PM
Cannot see Kernel Config Info, and my Swap File...Won't! fastvfr Debian 1 09-07-2004 04:37 AM
Apache config file to add header and footer mindstormsguy Linux - Software 2 05-02-2004 01:48 PM
GRUB. Which config file do I modify? correro Linux - General 14 03-18-2003 11:11 AM
modify the telnet header message? doris Linux - Security 1 06-09-2002 02:51 PM


All times are GMT -5. The time now is 12:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration