List Info

Thread: Extracting a message for testing




Extracting a message for testing
country flaguser name
United States
2007-12-12 08:01:00
It seems the contents of a message extracted as shown below
has some
extra characters in the header and all lines begin with a
space. Is
there any way to extract the contents of the message as it
was
originally? We want to extract messages to test for
comparisons with
other servers that do not seem to block certain messages or
after we
have applied rules to see if they are working.

An alternative would be to re-deliver the message if it was
sent to us,
but some are not. But if I did re-deliver the message, does
it in any
way confirm as non-spam?

psql -h esmtp.ky -U vscan -t -c "select contents from
maia_mail where
contents like '%ESMTP id E797D1D1C6A%';" maia >>
tmp1.msg

Then in my resulting file, I find the first few headers
lines these
strange x09 entries and all lines in the file have a space
preceeding
them....

 Received: from ureach.com (unknown [74.94.11.194])
 x09by mx1.webtent.net (WebTent ESMTP Postfix Internet Mail
Gateway) with ESMTP id A2FEA1D1C54
 x09for <sales at webtent.com>; Thu, 23 Aug 2007
18:12:25 -0400 (EDT)
 From: "EmailZipCode" emailzip at ureach.com
 To: sales at webtent.com
 Subject: Local Email & Postal Leads
 Date: 23 Aug 2007 18:11:41 -0400
 Message-ID: <20070823181141.4C383957F36F64F7 at
ureach.com>
 MIME-Version: 1.0
 Content-Type: text/plain
 Content-Transfer-Encoding: 8bit

 <snip>

-- 
Robert

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: Extracting a message for testing
country flaguser name
United States
2007-12-12 17:18:53
Robert Fitzpatrick wrote:
> An alternative would be to re-deliver the message if it
was sent to us,
> but some are not. But if I did re-deliver the message,
does it in any
> way confirm as non-spam?
>   
The re-deliver button only sends the message through to the
downstream
MTA as if it was ham, but does not change the confirmed
status or change
any stats...


> Then in my resulting file, I find the first few headers
lines these
> strange x09 entries and all lines in the file have a
space preceeding
> them....


ascii 0x09 is a tab character... which may look like a
space.  IIRC,
that is a mail encoding for a line continuation.   The
continuation and
other smtp encoding is handled by the mail server, but the
sql may have
it in its encoded form.


YMMV, I'm going from memory right now.... and my RAM is bad.
;)
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )