Return Path

This is a discussion on Return Path within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; I am having problems figuring out the return path with emails sent with my mail server. Here is the header. ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-25-2003
Rick
 
Posts: n/a
Default Return Path

I am having problems figuring out the return path with emails sent with my mail server. Here is the
header.


Received: by xxxxx.xxxxx.net (mbox xxxx)
(with Cubic Circle's cucipop (v1.31 1998/05/13) Wed Jul 23 22:35:59 2003)
X-From_: "Rick Carson <rjcar"@xxxxxxx.com> Wed Jul 23 22:30:34 2003
Return-Path: "Rick Carson <rjcar"@xxxxxx.com>
Received: from xxxxxxx.com (adsl-xxx-xxx-xxx-xxx.xxxx.net [xxx.xxx.xxx.xxx])
by xxx.xxxxx.net (8.11.6p2/8.8.5) with SMTP id h6O5UYu05063
for <xxxx@xxxx.net>; Wed, 23 Jul 2003 22:30:34 -0700
Message-Id: <200307240530.h6O5UYu05063@xxx.xxxx.net>
X-envelope-info: <"Rick Carson <rjcar"@xxxxxxxxxx.com>
Received: (qmail 11679 invoked from network); 24 Jul 2003 05:25:01 -0000
Received: from unknown (HELO localhost.localdomain) (xxx.xxx.xxx.xxx)
by xxxxxxxxx.com with SMTP; 24 Jul 2003 05:25:01 -0000
Date: Wed, 23 Jul 2003 22:25:01
From: Rick Carson <rjcar@xxxxxxxxxxxx.com>
To: xxxxx@xxxxx.net
Subject: test
MIME-Version: 1.0
Content-Disposition: inline; filename="bid_18_Sample.html"
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


My problems are the double quotes in the X-From_, Return-Path, and X-envelope-info fields. I do not know why they
are being misplaced. Below is the section of perl code I am using to create what should be the return path.



if( $TEMPLATE =~ /From:\s*(\S+( \S+)*)\s*\n/ ){
my( $specifiedFrom ) = $1;
$body = $';
$biFrom = '"' . $specifiedFrom . '" <' . $biFrom . '>';

}

Obviously I am very new at this and any help would be greatly appreciated. Thanks.

Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:44 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0