From asrg-bounces@ietf.org Fri Dec 01 12:20:00 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GqC0f-0007HT-HZ; Fri, 01 Dec 2006 12:17:13 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GqC0e-0007HB-LD
	for asrg@ietf.org; Fri, 01 Dec 2006 12:17:12 -0500
Received: from adsl-216-102-208-10.dsl.snfc21.pacbell.net ([216.102.208.10]
	helo=fasolt.mtcc.com) by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1GqC0d-0006Mq-9d
	for asrg@ietf.org; Fri, 01 Dec 2006 12:17:12 -0500
DKIM-Signature: v=0.3; a=rsa-sha256; q=dns/txt; l=580; t=1164993423;
	x=1165857423; c=relaxed/simple; s=dicks.drop.kirkwood;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=mtcc.com; i=Michael Thomas <mike@mtcc.com;
	z=From:=20Michael=20Thomas=20<mike@mtcc.com>
	|Subject:=20big=20uptick=20in=20from=20addresses=20with=20single=20quotes
	=20in=20them.. |Sender:=20 |To:=20ASRG=20list=20<asrg@ietf.org>
	|Cc:=20 |Content-Transfer-Encoding:=207bit |MIME-Version:=201.0
	|Content-Type:=20text/plain=3B=20charset=3DISO-8859-1=3B=20format=3Dflowe
	d; bh=AJHts/zZ3pKvcPtqKc5ipbbgmMi3XWsNZYFe1qJVB+A=;
	b=YX+qVYbZEOT9FSKQMZpATQvFME0boxozNdbzGf9eWAI/7THXu3nTgQM6egI0Ec4hqamfxpVB
	iQHTXhEBpx41bSLolDBDyU+rfkaEslJf5Apy+JDpkJpCdb5EPIJQ/kBm;
Received: from [216.102.208.10]
	(IDENT:U2FsdGVkX1/8RYb7vTN8azAaoDsbsYS1x2DIFDPytSc@fasolt.mtcc.com
	[216.102.208.10] (may be forged)) (authenticated bits=0)
	by fasolt.mtcc.com (8.13.6/8.13.1) with ESMTP id kB1HH2tk013041
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <asrg@ietf.org>; Fri, 1 Dec 2006 09:17:03 -0800
Message-ID: <4570638E.10508@mtcc.com>
Date: Fri, 01 Dec 2006 09:17:02 -0800
From: Michael Thomas <mike@mtcc.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: ASRG list <asrg@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Authentication-Results: fasolt.mtcc.com;
	header.From=Michael Thomas <mike@mtcc.com; dkim=pass (
	sig from mtcc.com/dicks.drop.kirkwood verified; ); 
X-XIPE-SPAM: -2; i=0; k=-2; h=0
X-Spam-Status: No, -4.6
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 79899194edc4f33a41f49410777972f8
Subject: [Asrg] big uptick in from addresses with single quotes in them..
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org


Probably not exactly the right group to post to on this subject, but 
I've been
noticing a huge spate of spam with from addresses (at least) of the form:

foo'bar@example.com
or
fo'oba'r@example.com

I'm not exactly sure why this is but I suspect it may be aimed at sql 
database
lookups where the name isn't properly escaped. If that is in fact the 
reason, and
that they're doing this because it gets more spam through, it's sort of 
frightening
because it's a very short road to other sql exploits.

Anybody else have some insight about this?

       Mike

_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg



From asrg-bounces@ietf.org Fri Dec 01 16:23:49 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GqFmo-00040d-FJ; Fri, 01 Dec 2006 16:19:10 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GqFmm-00040Y-Q6
	for asrg@ietf.org; Fri, 01 Dec 2006 16:19:08 -0500
Received: from wr-out-0506.google.com ([64.233.184.226])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GqFml-0002Ng-Jl
	for asrg@ietf.org; Fri, 01 Dec 2006 16:19:08 -0500
Received: by wr-out-0506.google.com with SMTP id i7so1333172wra
	for <asrg@ietf.org>; Fri, 01 Dec 2006 13:19:07 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=KoxK5kOsKuctoFwc9Haei53zlFZIzx0Wm5O56m7LdeMPoouqS1/UHzT/AHqL6BHeslA6TMUTmGflYBMn3jyjssOAZICrI90kdA4HP5L5DHqwljpJBY4NxU2+1s4grf3yKNueiOlXWG+werQSigeR1UiEWPH4NXU1fo+bh+WQzNw=
Received: by 10.78.200.3 with SMTP id x3mr5295444huf.1165007946220;
	Fri, 01 Dec 2006 13:19:06 -0800 (PST)
Received: by 10.78.23.19 with HTTP; Fri, 1 Dec 2006 13:19:05 -0800 (PST)
Message-ID: <934f64a20612011319o26596b28xddb110dc5787c93d@mail.gmail.com>
Date: Fri, 1 Dec 2006 15:19:05 -0600
From: "David Nicol" <davidnicol@gmail.com>
Subject: Re: [Asrg] Re: This is a request for feedback from experts/regulars
	to help reduce spam backscatter from Sieve implementations
Cc: asrg@ietf.org
In-Reply-To: <456F54A8.3B42@xyzzy.claranet.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <456BD800.3000606@elvey.com> <456DE1FB.5D7@xyzzy.claranet.de>
	<456EABE7.5050007@elvey.com> <456F54A8.3B42@xyzzy.claranet.de>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 856eb5f76e7a34990d1d457d8e8e5b7f
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

On 11/30/06, Frank Ellermann <nobody@xyzzy.claranet.de> wrote:

> It's no illusion, it's the definition, and senders know that it can't
> work reliably (if at all) if SPF is checked behind the border-MX.

As I understand it:

receivers that do SPF checks past the border are broken.  Repair
options include (1) special-casing border machines (2) doing SRS
forwarding from the border instead of plain forwarding.

Given the SPF point of view, non-SRS forwarding is broken and
should be replaced with SRS forwarding.  That is part of the
SPF adoption block.


-- 
perl -le'1while(1x++$_)=~/^(11+)\1+$/||print'

_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg



From asrg-bounces@ietf.org Fri Dec 01 19:38:37 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GqIrJ-0003Lr-RZ; Fri, 01 Dec 2006 19:36:01 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GqIrH-0003LR-Vk
	for asrg@ietf.org; Fri, 01 Dec 2006 19:35:59 -0500
Received: from mail.asarian-host.net ([194.109.160.70])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GqIrG-0006kw-Hj
	for asrg@ietf.org; Fri, 01 Dec 2006 19:35:59 -0500
Received: from anonymizer.asarian-host.net (localhost [127.0.0.1])
	(authenticated bits=0)
	by mail.asarian-host.net (8.13.8/8.13.8) with ESMTP id kB20Zvbd060967
	for <asrg@ietf.org>; Sat, 2 Dec 2006 01:35:57 +0100 (CET)
	(envelope-from admin@asarian-host.net)
DomainKey-Signature: q=dns; a=rsa-sha1;
	h=from:received-spf:message-id:date:x-authenticated-sender:subject:x-trace:organization:to:mime-version:content-type:content-transfer-encoding:in-reply-to:x-mimeole;
	c=nofws; s=anon; d=asarian-host.net;
	b=WCYaRXr6D0ZbaegfQrtUEahYLzJNJ83B060YbIUBlPxa5H//IjnoDqUIxrmqduydVd342hItwu8WDacqBnXRpSThV3XxLi2V87HtLM2t4DtuHuoRNrCCXdg/YQ+Z/8m3C88e6JNcck6c3HlfnBicOvoCLq1/Pim/fKRU+Du1oHQ=
From: Mark <admin@asarian-host.net>
Received-SPF: pass (asarian-host.net: 127.0.0.1 is authenticated by a trusted
	mechanism) receiver=anonymizer.asarian-host.net;
	client-ip=127.0.0.1; envelope-from=<admin@asarian-host.net>;
	helo=clientrunner.asarian-host.net;
Message-Id: <200612020035.kB20ZuI2060959@asarian-host.net>
Date: Sat, 02 Dec 2006 00:35:57 GMT
X-Authenticated-Sender: admin@asarian-host.net
Subject: RE: [Asrg] Re: This is a request for feedback from experts/regularsto
	help reduce spam backscatter from Sieve implementations
X-Trace: OuRGKJXFT7ptt2GVArbXOieed8/YcFHPuDIlPJHoKhgykio8uYCHgYzOKmP/ogsc
X-Complaints-To: abuse@asarian-host.net
X-Abuse-Info: Please be sure to forward a copy of ALL headers,
	otherwise we are unable to process your complaint
X-Virus-Checked: Checked by ClamAV on asarian-host.net
Organization: Asarian-host
To: <asrg@ietf.org>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
In-Reply-To: <934f64a20612011319o26596b28xddb110dc5787c93d@mail.gmail.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e1e48a527f609d1be2bc8d8a70eb76cb
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

> -----Original Message-----
> From: David Nicol [mailto:davidnicol@gmail.com] 
> Sent: vrijdag 1 december 2006 22:24
> Cc: asrg@ietf.org
> Subject: Re: [Asrg] Re: This is a request for feedback from 
> experts/regularsto help reduce spam backscatter from Sieve 
> implementations
> 
> 
> On 11/30/06, Frank Ellermann <nobody@xyzzy.claranet.de> wrote:
>
> > It's no illusion, it's the definition, and senders know
> > that it can't work reliably (if at all) if SPF is checked
> > behind the border-MX.
>
> As I understand it:
>
> receivers that do SPF checks past the border are broken.

Yes. Which is to say, receivers who do SPF checks on the envelope-from /
HELO, using the connecting IP address of anything that does not belong
to the client at the border MTA, are broken.

> Repair options include (1) special-casing border machines
> (2) doing SRS forwarding from the border instead of
> plain forwarding.

SRS really is meant more for "outgoing" connections (into the real world).
It seems kinda silly, IMHO, to do SRS rewriting towards any of the
machines in your network past the border. Those machines should simply not
be doing SPF-checks. Or, if they do, like, say, a machine with
SpamAssassin on it, with Mail::SpamAssassin::Plugin::SPF running, they can
use the info of the connecting client (from the border) in the
Received headers added by their own, trusted network.

Otherwise, doing SRS towards your own network just means you're getting a
continual "pass" for nothing else but the domain of your own border MTA.
At which point, hopefully, the futility of doing so kicks in. :)

- Mark


_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg



From asrg-bounces@ietf.org Sat Dec 02 01:01:16 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GqNtk-0007ej-7V; Sat, 02 Dec 2006 00:58:52 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GqNti-0007eZ-7u
	for asrg@ietf.org; Sat, 02 Dec 2006 00:58:50 -0500
Received: from nf-out-0910.google.com ([64.233.182.187])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GqNte-0005S1-U8
	for asrg@ietf.org; Sat, 02 Dec 2006 00:58:50 -0500
Received: by nf-out-0910.google.com with SMTP id h2so3673783nfe
	for <asrg@ietf.org>; Fri, 01 Dec 2006 21:58:46 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=GGoZkBrN/ZoYvUJskWvpf0mu7ZJp04+Rrbhmwwo6ftXwhP4GPwXElcwHR3OKwQsJqV/VP8SSF5f4yeUJxfqlqklJvk45xpnPjzS4jKdC9lARRfTsXgMZY781xnL7hlaEGp0TU08hGwZCa/QMhiWKTntORcu27RZmz10guLozwzA=
Received: by 10.78.181.13 with SMTP id d13mr5547494huf.1165039125686;
	Fri, 01 Dec 2006 21:58:45 -0800 (PST)
Received: by 10.78.23.19 with HTTP; Fri, 1 Dec 2006 21:58:45 -0800 (PST)
Message-ID: <934f64a20612012158y6843a2dbo907ec5359c53a11e@mail.gmail.com>
Date: Fri, 1 Dec 2006 23:58:45 -0600
From: "David Nicol" <davidnicol@gmail.com>
To: Mark <admin@asarian-host.net>, "anti-spam research group" <asrg@ietf.org>
Subject: Re: [Asrg] Re: This is a request for feedback from experts/regularsto
	help reduce spam backscatter from Sieve implementations
In-Reply-To: <200612020035.kB20ZuI2060959@asarian-host.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <934f64a20612011319o26596b28xddb110dc5787c93d@mail.gmail.com>
	<200612020035.kB20ZuI2060959@asarian-host.net>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7a6398bf8aaeabc7a7bb696b6b0a2aad
Cc: 
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

On 12/1/06, Mark <admin@asarian-host.net> wrote:

> Otherwise, doing SRS towards your own network just means you're getting a
> continual "pass" for nothing else but the domain of your own border MTA.
> At which point, hopefully, the futility of doing so kicks in. :)
>
> - Mark

I won't argue if you call me sloppy.  I meant using SRS as a way to encode
the info from the border, so that the SRS would need to get decoded before
a later check, if possible.  In a complex border situation with machines with
multiple roles receiving from both their border peers and the outside, there
would be a bunch of edge cases. I'm really making this up as I go here.

_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg



From asrg-bounces@ietf.org Sat Dec 02 11:29:52 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GqXgW-0006No-Fl; Sat, 02 Dec 2006 11:25:52 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GqXgW-0006Nj-0Q
	for asrg@ietf.org; Sat, 02 Dec 2006 11:25:52 -0500
Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GqXgQ-0001et-Dl
	for asrg@ietf.org; Sat, 02 Dec 2006 11:25:51 -0500
Received: from list by ciao.gmane.org with local (Exim 4.43)
	id 1GqXgG-0006Rz-Jr
	for asrg@ietf.org; Sat, 02 Dec 2006 17:25:36 +0100
Received: from pd9fba977.dip0.t-ipconnect.de ([217.251.169.119])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <asrg@ietf.org>; Sat, 02 Dec 2006 17:25:36 +0100
Received: from nobody by pd9fba977.dip0.t-ipconnect.de with local (Gmexim 0.1
	(Debian)) id 1AlnuQ-0007hv-00
	for <asrg@ietf.org>; Sat, 02 Dec 2006 17:25:36 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: asrg@ietf.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Date: Sat, 02 Dec 2006 17:22:39 +0100
Organization: <URL:http://purl.net/xyzzy>
Lines: 52
Message-ID: <4571A84F.7BD8@xyzzy.claranet.de>
References: <456BD800.3000606@elvey.com> <456DE1FB.5D7@xyzzy.claranet.de>
	<456EABE7.5050007@elvey.com> <456F54A8.3B42@xyzzy.claranet.de>
	<934f64a20612011319o26596b28xddb110dc5787c93d@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: pd9fba977.dip0.t-ipconnect.de
X-Mailer: Mozilla 3.0 (OS/2; U)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 538aad3a3c4f01d8b6a6477ca4248793
Subject: [Asrg] Re: This is a request for feedback from experts/regulars
 to help reduce spam backscatter from Sieve implementations
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

David Nicol wrote:

>> It's no illusion, it's the definition, and senders know that it can't
>> work reliably (if at all) if SPF is checked behind the border-MX.

> As I understand it:

> receivers that do SPF checks past the border are broken.

In theory receivers can determine their own border (with an MX query),
and identify the corresponding timestamp line (Received: header field).

There they'll find the connecting IP and HELO, and can check SPF for
an already accepted mail.  SpamAssassin can apparently get this right,
and (in theory) SpamCop's default parser also uses this strategy.

SpamCop's "mailhosts" parser can handle forwarding scenarios, where a
simple MX query won't work.  In practice SpamCop doesn't use SPF to
identify forged Return-Paths, because the submitter already said that
it's spam, a forged Return-Path or not is irrelevant for SC.

With SA's approach, if used after the mail was already accepted, SA
could still create a Received-SPF header.  I can't tell if SA actually
does this, or if it just transform it into a configurable score.  For
SIEVE the situation is in essence the same as for SA.

It's not really "broken" to check SPF too late, it's only hard to get
it right, and it's not more possible to reject a FAIL.

Another scenario are SPF HELO-checks, they work everywhere, not only
at the border.  Combined with a white-list of known HELOs you can use
SPF to check the HELO everywhere, and skip the MAIL FROM checks for a
HELO PASS of a known "good" sender.  With that approach the MXs could
always check HELO, forward mails between themselves, and skip further
MAIL FROM checks for mails already checked at the border.

But generally, without tricks and talking only about MAIL FROM, it's
as you say "broken" to check SPF behind the border.

> Repair options include (1) special-casing border machines (2) doing
> SRS forwarding from the border instead of plain forwarding.

See Mark' reply, you won't do SRS for any forwarding within the "MRN"
(mail receiving network), e.g. if a backup MX moves its stuff to the
primary MX, or to the MDA, or however that's organized internally.

For a definition of "internal" including outsourced MXs, not limited
to the same "ADMD" in Dave's terminology, but limited to the same MRN
in Keith's terminology.

Frank



_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg



From asrg-bounces@ietf.org Fri Dec 08 13:25:00 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GskKI-0004mF-6R; Fri, 08 Dec 2006 13:20:02 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GskKG-0004lr-AL
	for asrg@ietf.org; Fri, 08 Dec 2006 13:20:00 -0500
Received: from ranger.systems.pipex.net ([62.241.162.32])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GskKD-0004GA-LD
	for asrg@ietf.org; Fri, 08 Dec 2006 13:20:00 -0500
Received: from pc6 (1Cust49.tnt29.lnd3.gbr.da.uu.net [62.188.120.49])
	by ranger.systems.pipex.net (Postfix) with SMTP id 17C51E00051A;
	Fri,  8 Dec 2006 18:19:46 +0000 (GMT)
Message-ID: <066d01c71aed$0c6eae60$0601a8c0@pc6>
From: "Tom Petch" <nwnetworks@dial.pipex.com>
To: "John Levine" <asrg@johnlevine.com>, <asrg@ietf.org>
References: <20060903170239.11718.qmail@simone.iecc.com>
Subject: bouncetwo: was Re: [Asrg] DSN generation and handling
Date: Fri, 8 Dec 2006 18:15:27 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: fb93e867a11a29ac1dc5018706b412ac
Cc: hjp-asrg@hjp.at
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Tom Petch <nwnetworks@dial.pipex.com>
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

----- Original Message -----
From: "John Levine" <asrg@johnlevine.com>
To: <asrg@ietf.org>
Cc: <hjp-asrg@hjp.at>
Sent: Sunday, September 03, 2006 6:02 PM
Subject: Re: [Asrg] DSN generation and handling


> An interesting topic.  I've seen a fair amount of discussion but nothin=
g
> approaching research.
>
> >* What format are DSN messages generated in? Do they conform to
> >  RFC 3464? Do they contain all relevant information? Is it presented =
in
> >  a human (user) readable manner?
> >  Do they contain the complete undelivered message or just part of it?
>

A bit more research like.

For details of the principles on which this analysis is based, see the co=
mpanion
e-mail with a "Subject:" of 'bounceone'

This e-mail contains the analysis of 400 bounce (Delivery Status Notifica=
tion)
messages received by a single e-mail address between 20 June and 9 Octobe=
r 2006.
In the same timeframe, the e-mail address itself received approximately 5=
430
messages containing the MyDoom worm with a forged "Return-Path" together =
with a
somewhat smaller number of similar messages carrying screen savers and su=
ch
like; in a very few cases (less than 10), the worm had been removed in tr=
ansit
by an MTA.

Bounce messages were received from the following software.  The number in
(parentheses) is the number of messages received.

[7.2.0] (2)
8.12.8 (52)
Active Spam Killer (1)
[AIMC] (1)
BitDefender (1)
blueyonder (3)
ClamAV (4)
CommuniGate Pro (23)
ConcentricHost MX (1)
CoreMail (1)
exim (17)
ezmlm (2)
[Intermail] (3)
[Internet Mail Service] (5)
[iPlanet Messaging Server] (4)
Kaspersky Anti-Virus (1)
Kerio MailServer(1)
LISTSERV (4)
L-soft (12)
Lyris Listmanager (1)
MailEnable (5)
AV MAILGATE BTC-NET (1)
X-Optimum Internet Ltd-MailScanner (2)
Majordomo (3)
[Merak] (3)
[MOS] (3)
Panda GateDefender Performa (3)
PMDF e-Mail Interconnect (1)
Postfix (65)
qmail-send (34)
[QMQP] (1)
SMPTD32 (3)
[Sophos] Puremessage (2)
Sun Java System Messaging Server (12)
Symantec AntiVirus (32)
[Terrace MailWatcher] (1)
TMDA (1)
trimMail (1)
[v112] (15)
Network Associates WebShield SMTP (1)
zmailer (1)

The identity of theFrom asrg-bounces@ietf.org Fri Dec 08 13:25:00 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GskKI-0004mF-6R; Fri, 08 Dec 2006 13:20:02 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GskKG-0004lr-AL
	for asrg@ietf.org; Fri, 08 Dec 2006 13:20:00 -0500
Received: from ranger.systems.pipex.net ([62.241.162.32])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GskKD-0004GA-LD
	for asrg@ietf.org; Fri, 08 Dec 2006 13:20:00 -0500
Received: from pc6 (1Cust49.tnt29.lnd3.gbr.da.uu.net [62.188.120.49])
	by ranger.systems.pipex.net (Postfix) with SMTP id 17C51E00051A;
	Fri,  8 Dec 2006 18:19:46 +0000 (GMT)
Message-ID: <066d01c71aed$0c6eae60$0601a8c0@pc6>
From: "Tom Petch" <nwnetworks@dial.pipex.com>
To: "John Levine" <asrg@johnlevine.com>, <asrg@ietf.org>
References: <20060903170239.11718.qmail@simone.iecc.com>
Subject: bouncetwo: was Re: [Asrg] DSN generation and handling
Date: Fri, 8 Dec 2006 18:15:27 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: fb93e867a11a29ac1dc5018706b412ac
Cc: hjp-asrg@hjp.at
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Tom Petch <nwnetworks@dial.pipex.com>
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

----- Original Message -----
From: "John Levine" <asrg@johnlevine.com>
To: <asrg@ietf.org>
Cc: <hjp-asrg@hjp.at>
Sent: Sunday, September 03, 2006 6:02 PM
Subject: Re: [Asrg] DSN generation and handling


> An interesting topic.  I've seen a fair amount of discussion but nothin=
g
> approaching research.
>
> >* What format are DSN messages generated in? Do they conform to
> >  RFC 3464? Do they contain all relevant information? Is it presented =
in
> >  a human (user) readable manner?
> >  Do they contain the complete undelivered message or just part of it?
>

A bit more research like.

For details of the principles on which this analysis is based, see the co=
mpanion
e-mail with a "Subject:" of 'bounceone'

This e-mail contains the analysis of 400 bounce (Delivery Status Notifica=
tion)
messages received by a single e-mail address between 20 June and 9 Octobe=
r 2006.
In the same timeframe, the e-mail address itself received approximately 5=
430
messages containing the MyDoom worm with a forged "Return-Path" together =
with a
somewhat smaller number of similar messages carrying screen savers and su=
ch
like; in a very few cases (less than 10), the worm had been removed in tr=
ansit
by an MTA.

Bounce messages were received from the following software.  The number in
(parentheses) is the number of messages received.

[7.2.0] (2)
8.12.8 (52)
Active Spam Killer (1)
[AIMC] (1)
BitDefender (1)
blueyonder (3)
ClamAV (4)
CommuniGate Pro (23)
ConcentricHost MX (1)
CoreMail (1)
exim (17)
ezmlm (2)
[Intermail] (3)
[Internet Mail Service] (5)
[iPlanet Messaging Server] (4)
Kaspersky Anti-Virus (1)
Kerio MailServer(1)
LISTSERV (4)
L-soft (12)
Lyris Listmanager (1)
MailEnable (5)
AV MAILGATE BTC-NET (1)
X-Optimum Internet Ltd-MailScanner (2)
Majordomo (3)
[Merak] (3)
[MOS] (3)
Panda GateDefender Performa (3)
PMDF e-Mail Interconnect (1)
Postfix (65)
qmail-send (34)
[QMQP] (1)
SMPTD32 (3)
[Sophos] Puremessage (2)
Sun Java System Messaging Server (12)
Symantec AntiVirus (32)
[Terrace MailWatcher] (1)
TMDA (1)
trimMail (1)
[v112] (15)
Network Associates WebShield SMTP (1)
zmailer (1)

The identity of the software was either explicitly specified, usually in =
the
body of the message, or else inferred from the most recent "Received: by"=
 header
in the original message; the latter are enclosed in [brackets].  No attem=
pt has
been made to interpret these names; thus [8.12.8/8.12.8] (and similar val=
ues)
might be the version, release and level of a well-known software package.=
  Some
71 messages contained no apparent identification although many of them sh=
owed
one of two distinct patterns and may represent two anonymous, if well-kno=
wn,
software packages.

The software listed here is a mixture of traditional e-mail software, of
anti-virus software and of list servers.  Since all these generated bounc=
e
messages in response to forged "Return-path:", all are treated equally.

Two general comments on the analysis.  Since almost all the direct messag=
es to
the address in question contained the 'MyDoom' worm (or similar), it is a=
ssumed
that the original messages that triggered these bounce messages also cont=
ained
such a payload and so the failure of the bounce message to mention the pr=
esence
of such is taken as a failing on the part of the software to detect the w=
orm.
Apart from that, the bounce messages have been analysed 'as is' with no a=
ttempt
to interpret them eg by allowing for possible customisation of the softwa=
re by
its implementor to provide the mail service on offer.

This analysis should not be taken as representative of bounce messages in
general, just those that dominate e-mail traffic.  After all, the bounce
messages are themselves spam (in a general sense) and the best, or best
implemented, software would not generate them at all and so would not be =
present
in this analysis.

Analysis by software of nine largest contributors

[8.12.9/8.12.8] (or similar numbers)
Software identity: taken from "Received: by", could be Version.Release.Le=
vel
From: informative (Mail Delivery Subsystem)
Subject: unhelpful (Returned Mail)
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: unhelpful, no statement of what this e-mail is
Advice: none
Expert user: comprehensive (reply code, enhanced status code, session
transcript, original message headers)
Worm detected: mostly not
Original message: dangerous (attachment complete with worm)

Communigate Pro SMTP
Software identity: in body, with version.release.level
From: informative (MAILER-DAEMON)
Subject: informative ('Undeliverable mail' or 'Virus warning' plus origin=
al
subject)
Content Type: multipart/report message/delivery-status text/rfc822-header=
s
Body:-
Lay user: clear (but sometimes 'you sent ...')
Advice: none
Expert user: good (reply code, original message headers)
Worm detected: 8/23
Original message: headers only

exim
Software identity: sometimes in body, otherwise from "Received: by", with
Version.Release
From: informative (Mail Delivery System)
Subject: ok (Mail Delivery Failed or Warning(3))
Content Type: none!
Body:-
Lay user: unhelpful ("A message that you sent could not be delivered"
Advice: none
Expert user: weak (message but no codes, original message headers)
Worm detected: mostly not
Original message: dangerous (complete with worm in the body)

L-soft Listserv
Software identity: in "From:" with Version.Release
From: informative (Listserv)
Subject: unhelpful ('Message')
Content Type: none!
Body:-
Lay user: unhelpful ("The distribution of your message ... "
Advice: weak ('No action is required ...')
Expert user: none
Worm detected: no
Original message: no part thereof

Postfix
Software identity: first line of body (mostly), no Version.Release.Level
From: informative (Mail Delivery System)
Subject: informative (Undelivered Mail)
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: ok ("I'm sorry to have to inform you ..." but then "your messag=
e could
not ..."
Advice: yes ("For further assistance..."
Expert user: weak (error message, occasional reply code, original message=
 as
attachment)
Worm detected: mostly not
Original message: mostly dangerous (complete with worm a software was either explicitly specified, usually in =
the
body of the message, or else inferred from the most recent "Received: by"=
 header
in the original message; the latter are enclosed in [brackets].  No attem=
pt has
been made to interpret these names; thus [8.12.8/8.12.8] (and similar val=
ues)
might be the version, release and level of a well-known software package.=
  Some
71 messages contained no apparent identification although many of them sh=
owed
one of two distinct patterns and may represent two anonymous, if well-kno=
wn,
software packages.

The software listed here is a mixture of traditional e-mail software, of
anti-virus software and of list servers.  Since all these generated bounc=
e
messages in response to forged "Return-path:", all are treated equally.

Two general comments on the analysis.  Since almost all the direct messag=
es to
the address in question contained the 'MyDoom' worm (or similar), it is a=
ssumed
that the original messages that triggered these bounce messages also cont=
ained
such a payload and so the failure of the bounce message to mention the pr=
esence
of such is taken as a failing on the part of the software to detect the w=
orm.
Apart from that, the bounce messages have been analysed 'as is' with no a=
ttempt
to interpret them eg by allowing for possible customisation of the softwa=
re by
its implementor to provide the mail service on offer.

This analysis should not be taken as representative of bounce messages in
general, just those that dominate e-mail traffic.  After all, the bounce
messages are themselves spam (in a general sense) and the best, or best
implemented, software would not generate them at all and so would not be =
present
in this analysis.

Analysis by software of nine largest contributors

[8.12.9/8.12.8] (or similar numbers)
Software identity: taken from "Received: by", could be Version.Release.Le=
vel
From: informative (Mail Delivery Subsystem)
Subject: unhelpful (Returned Mail)
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: unhelpful, no statement of what this e-mail is
Advice: none
Expert user: comprehensive (reply code, enhanced status code, session
transcript, original message headers)
Worm detected: mostly not
Original message: dangerous (attachment complete with worm)

Communigate Pro SMTP
Software identity: in body, with version.release.level
From: informative (MAILER-DAEMON)
Subject: informative ('Undeliverable mail' or 'Virus warning' plus origin=
al
subject)
Content Type: multipart/report message/delivery-status text/rfc822-header=
s
Body:-
Lay user: clear (but sometimes 'you sent ...')
Advice: none
Expert user: good (reply code, original message headers)
Worm detected: 8/23
Original message: headers only

exim
Software identity: sometimes in body, otherwise from "Received: by", with
Version.Release
From: informative (Mail Delivery System)
Subject: ok (Mail Delivery Failed or Warning(3))
Content Type: none!
Body:-
Lay user: unhelpful ("A message that you sent could not be delivered"
Advice: none
Expert user: weak (message but no codes, original message headers)
Worm detected: mostly not
Original message: dangerous (complete with worm in the body)

L-soft Listserv
Software identity: in "From:" with Version.Release
From: informative (Listserv)
Subject: unhelpful ('Message')
Content Type: none!
Body:-
Lay user: unhelpful ("The distribution of your message ... "
Advice: weak ('No action is required ...')
Expert user: none
Worm detected: no
Original message: no part thereof

Postfix
Software identity: first line of body (mostly), no Version.Release.Level
From: informative (Mail Delivery System)
Subject: informative (Undelivered Mail)
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: ok ("I'm sorry to have to inform you ..." but then "your messag=
e could
not ..."
Advice: yes ("For further assistance..."
Expert user: weak (error message, occasional reply code, original message=
 as
attachment)
Worm detected: mostly not
Original message: mostly dangerous (complete with worm as attachment)

qmail-send
Software identity: first line of body, no Version.Release.Level
From: informative (MAILER-DAEMON)
Subject: unhelpful ('failure notice' mostly)
Content Type: mostly none (multipart/mixed in 2 cases)
Body:-
Lay user: clear ("I wasn't able to deliver .." but then "your message ...=
")
Expert user: erratic (a few reply codes, a few enhanced status codes, err=
or
message, complete original message)
Worm detected: mostly not
Original message: mostly dangerous (complete with worm in body)

Sun Java System Messaging Server
Software identity: taken from "Received: by" with Version.Release.Level a=
nd
build date
From: informative (Service de distribution du courrier)
Subject: informative (Notification de l'=E9tat de remise)
Content Type: multipart/report message/delivery-status text/rfc822-header=
s
Body:-
Lay user: clear ("Ce rapport fait r=E9f=E9rence =E0 un message ...", "Le =
message ne
peut pas =EAtre remis..."
Advice: none
Expert user: excellent (message, reply code, enhanced status code, transp=
ort
quintuple, dns name, original message headers)
Worm detected: sometimes
Original message: headers

Symantec AntiVirus
Software identity: first line of body, no Version.Release.Level
From: unhelpful (often the From: of the original message)
Subject: unhelpful (the "Subject:" of the original message, "Mail System =
Error",
"Returned Mail")
Content Type: mostly multipart/mixed message/rfc822
Body:-
Lay user: unhelpful (talks about detecting a virus, omits any mention of =
e-mail)
Advice: none
Expert user: weak (truncated original message as an attachment)
Worm detected: yes (but calls it "Mydoom")
Original message: good (worm truncated else complete as attachment)

v112 (or similar)
Software identity: from "Received: by" with Release number
From: informative (Mail Delivery System)
Subject: unhelpful ('Returned Mail' mostly)
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: unhelpful ("The original message ..." and "your e-mail is being
returned to you ..."
Advice: yes ("Please direct further questions ..."
Expert user: ok (error message, session transcript, original message head=
ers)
Worm detected: sometimes (5/15)
Original message: headers

As may be apparent, if these were in a heap I would place Communigate Pro=
 SMTP
and Sun Java System Messaging Server on top and Symantec AntiVirus toward=
s the
bottom

Tom Petch





_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg

From asrg-bounces@ietf.org Fri Dec 08 13:25:00 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GskKH-0004m7-Pb; Fri, 08 Dec 2006 13:20:01 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GskKG-0004lm-63
	for asrg@ietf.org; Fri, 08 Dec 2006 13:20:00 -0500
Received: from ranger.systems.pipex.net ([62.241.162.32])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GskKD-0004G5-LD
	for asrg@ietf.org; Fri, 08 Dec 2006 13:20:00 -0500
Received: from pc6 (1Cust49.tnt29.lnd3.gbr.da.uu.net [62.188.120.49])
	by ranger.systems.pipex.net (Postfix) with SMTP id 1EB0DE0003E3;
	Fri,  8 Dec 2006 18:19:41 +0000 (GMT)
Message-ID: <066c01c71aed$0add6000$0601a8c0@pc6>
From: "Tom Petch" <nwnetworks@dial.pipex.com>
To: "John Levine" <asrg@johnlevine.com>, <asrg@ietf.org>
References: <20060903170239.11718.qmail@simone.iecc.com>
Subject: bounceone Re: [Asrg] DSN generation and handling
Date: Fri, 8 Dec 2006 18:10:09 +0100
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.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 3d7f2f6612d734db849efa86ea692407
Cc: hjp-asrg@hjp.at
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Tom Petch <nwnetworks@dial.pipex.com>
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
Lists attachment)

qmail-send
Software identity: first line of body, no Version.Release.Level
From: informative (MAILER-DAEMON)
Subject: unhelpful ('failure notice' mostly)
Content Type: mostly none (multipart/mixed in 2 cases)
Body:-
Lay user: clear ("I wasn't able to deliver .." but then "your message ...=
")
Expert user: erratic (a few reply codes, a few enhanced status codes, err=
or
message, complete original message)
Worm detected: mostly not
Original message: mostly dangerous (complete with worm in body)

Sun Java System Messaging Server
Software identity: taken from "Received: by" with Version.Release.Level a=
nd
build date
From: informative (Service de distribution du courrier)
Subject: informative (Notification de l'=E9tat de remise)
Content Type: multipart/report message/delivery-status text/rfc822-header=
s
Body:-
Lay user: clear ("Ce rapport fait r=E9f=E9rence =E0 un message ...", "Le =
message ne
peut pas =EAtre remis..."
Advice: none
Expert user: excellent (message, reply code, enhanced status code, transp=
ort
quintuple, dns name, original message headers)
Worm detected: sometimes
Original message: headers

Symantec AntiVirus
Software identity: first line of body, no Version.Release.Level
From: unhelpful (often the From: of the original message)
Subject: unhelpful (the "Subject:" of the original message, "Mail System =
Error",
"Returned Mail")
Content Type: mostly multipart/mixed message/rfc822
Body:-
Lay user: unhelpful (talks about detecting a virus, omits any mention of =
e-mail)
Advice: none
Expert user: weak (truncated original message as an attachment)
Worm detected: yes (but calls it "Mydoom")
Original message: good (worm truncated else complete as attachment)

v112 (or similar)
Software identity: from "Received: by" with Release number
From: informative (Mail Delivery System)
Subject: unhelpful ('Returned Mail' mostly)
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: unhelpful ("The original message ..." and "your e-mail is being
returned to you ..."
Advice: yes ("Please direct further questions ..."
Expert user: ok (error message, session transcript, original message head=
ers)
Worm detected: sometimes (5/15)
Original message: headers

As may be apparent, if these were in a heap I would place Communigate Pro=
 SMTP
and Sun Java System Messaging Server on top and Symantec AntiVirus toward=
s the
bottom

Tom Petch





_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg

From asrg-bounces@ietf.org Fri Dec 08 13:25:00 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GskKH-0004m7-Pb; Fri, 08 Dec 2006 13:20:01 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GskKG-0004lm-63
	for asrg@ietf.org; Fri, 08 Dec 2006 13:20:00 -0500
Received: from ranger.systems.pipex.net ([62.241.162.32])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GskKD-0004G5-LD
	for asrg@ietf.org; Fri, 08 Dec 2006 13:20:00 -0500
Received: from pc6 (1Cust49.tnt29.lnd3.gbr.da.uu.net [62.188.120.49])
	by ranger.systems.pipex.net (Postfix) with SMTP id 1EB0DE0003E3;
	Fri,  8 Dec 2006 18:19:41 +0000 (GMT)
Message-ID: <066c01c71aed$0add6000$0601a8c0@pc6>
From: "Tom Petch" <nwnetworks@dial.pipex.com>
To: "John Levine" <asrg@johnlevine.com>, <asrg@ietf.org>
References: <20060903170239.11718.qmail@simone.iecc.com>
Subject: bounceone Re: [Asrg] DSN generation and handling
Date: Fri, 8 Dec 2006 18:10:09 +0100
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.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 3d7f2f6612d734db849efa86ea692407
Cc: hjp-asrg@hjp.at
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Tom Petch <nwnetworks@dial.pipex.com>
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

----- Original Message -----
From: "John Levine" <asrg@johnlevine.com>
To: <asrg@ietf.org>
Cc: <hjp-asrg@hjp.at>
Sent: Sunday, September 03, 2006 6:02 PM
Subject: Re: [Asrg] DSN generation and handling


> An interesting topic.  I've seen a fair amount of discussion but nothing
> approaching research.
>
> >* What format are DSN messages generated in? Do they conform to
> >  RFC 3464? Do they contain all relevant information? Is it presented in
> >  a human (user) readable manner?
> >  Do they contain the complete undelivered message or just part of it?
>

Not exactly research but .....

An e-mail earlier this year wondered what format bounce messages used; just
happening to receive several hundred, I decided to take a look.  This e-mail
gives the principles on which my analysis is based; a companion e-mail, with a
"Subject:" of 'bouncetwo', contains the analysis.

Bounce messages (Delivery Status Notification messages, RFC3464) form a
significant part of e-mail traffic and most of them are false, in the sense that
they are being sent to a "Return Path:" address that was forged in the first
place, along with forged, but perhaps existing, "Subject:", "From:", message
body and so on.

The assumption here is that bounce messages will most often be delivered to and
viewed by a lay, non-technical user, one with no particular skills in SMTP, one
who perhaps thinks that DSN is a dyslexic reference to the Domain Name System
and that worms are responsible for the health of the soil.  As such, the message
should convey its intent in simple, unemotional terms, telling the recipient
what has happened and what they might do about it.  Suitable fields for this are
those that the lay user is most likely to see, namely "From:", "Subject:" and
the first 10-20 lines of the message body.  At the same time, the message should
also contain more technical information so that, when passed to suitably skilled
support staff, further analysis and action is possible.  Such information should
be placed in the remainder of the body or in attachments.  Since most bounce
messages are the result of forged "Return-Path:" or "From:" addresses, they
should avoid being dogmatic; 'the e-mail <with this subject> that you sent
contains a virus' may alienate or upset a lay user who knows full well that they
did no such thing.

Subject:

The "Subject:" of the bounce message should convey clearly, within the
constraints of what can be viewed from the subject line, say 35 characters, that
this is a message about the non-delivery of e-mail  This is well conveyed by

Delivery Status Notification
Delivery Failure
Mail Delivery Failed.

It is not well conveyed by

Mail System Error
Returned Mail

There is no Error in the Mail System - it is working just as it is designed to
(although it would be working better if no bounce messages were present) - and
the Mail must not be returned; the mail most likely contains a virus or worm and
should not be returned (or alleged to be returned).

'Failure Notice' is too bland; what is it that is alleged to have failed?

If the presence of a virus/worm has been detected, then
Virus detected
may be a suitable alternative

From:

"From:" should be used in conjunction with "Subject:" since these two are
commonly displayed together in a user's inbox.  Thus if the "From:" conveys the
meaning that this message is to do with mail delivery, then that may be omitted
from the "Subject:".  Thus suitable choices are
Mail Delivery Subsystem
Mailer-Daemon
Mail Administator

Less good is
postmaster@<domain-name>
since, while technically correct, it is unlikely to convey the meaning clearly
to a lay user, especially as the <domain-name> may be unknown to -Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

----- Original Message -----
From: "John Levine" <asrg@johnlevine.com>
To: <asrg@ietf.org>
Cc: <hjp-asrg@hjp.at>
Sent: Sunday, September 03, 2006 6:02 PM
Subject: Re: [Asrg] DSN generation and handling


> An interesting topic.  I've seen a fair amount of discussion but nothing
> approaching research.
>
> >* What format are DSN messages generated in? Do they conform to
> >  RFC 3464? Do they contain all relevant information? Is it presented in
> >  a human (user) readable manner?
> >  Do they contain the complete undelivered message or just part of it?
>

Not exactly research but .....

An e-mail earlier this year wondered what format bounce messages used; just
happening to receive several hundred, I decided to take a look.  This e-mail
gives the principles on which my analysis is based; a companion e-mail, with a
"Subject:" of 'bouncetwo', contains the analysis.

Bounce messages (Delivery Status Notification messages, RFC3464) form a
significant part of e-mail traffic and most of them are false, in the sense that
they are being sent to a "Return Path:" address that was forged in the first
place, along with forged, but perhaps existing, "Subject:", "From:", message
body and so on.

The assumption here is that bounce messages will most often be delivered to and
viewed by a lay, non-technical user, one with no particular skills in SMTP, one
who perhaps thinks that DSN is a dyslexic reference to the Domain Name System
and that worms are responsible for the health of the soil.  As such, the message
should convey its intent in simple, unemotional terms, telling the recipient
what has happened and what they might do about it.  Suitable fields for this are
those that the lay user is most likely to see, namely "From:", "Subject:" and
the first 10-20 lines of the message body.  At the same time, the message should
also contain more technical information so that, when passed to suitably skilled
support staff, further analysis and action is possible.  Such information should
be placed in the remainder of the body or in attachments.  Since most bounce
messages are the result of forged "Return-Path:" or "From:" addresses, they
should avoid being dogmatic; 'the e-mail <with this subject> that you sent
contains a virus' may alienate or upset a lay user who knows full well that they
did no such thing.

Subject:

The "Subject:" of the bounce message should convey clearly, within the
constraints of what can be viewed from the subject line, say 35 characters, that
this is a message about the non-delivery of e-mail  This is well conveyed by

Delivery Status Notification
Delivery Failure
Mail Delivery Failed.

It is not well conveyed by

Mail System Error
Returned Mail

There is no Error in the Mail System - it is working just as it is designed to
(although it would be working better if no bounce messages were present) - and
the Mail must not be returned; the mail most likely contains a virus or worm and
should not be returned (or alleged to be returned).

'Failure Notice' is too bland; what is it that is alleged to have failed?

If the presence of a virus/worm has been detected, then
Virus detected
may be a suitable alternative

From:

"From:" should be used in conjunction with "Subject:" since these two are
commonly displayed together in a user's inbox.  Thus if the "From:" conveys the
meaning that this message is to do with mail delivery, then that may be omitted
from the "Subject:".  Thus suitable choices are
Mail Delivery Subsystem
Mailer-Daemon
Mail Administator

Less good is
postmaster@<domain-name>
since, while technically correct, it is unlikely to convey the meaning clearly
to a lay user, especially as the <domain-name> may be unknown to the user.
Other e-mail addresses are likely to mislead.

Body

The body of the message should restate, in more detail, that this is a bounce
message, give more details about the message that has been bounced and why; it
should also identify the software that is generating this message.  It must
always allow for the probability that the "Return-Path:" in the original mesage
was forged and so this will be the first that the user knows of the matter.
Thus text of the form
"A message that you sent ..."
" a message from your address"
is always unhelpful.  Rather, it should be of the form 'the following message',
'a message received' preferrably with the qualification that the bounce message
may be being sent in response to a forged e-mail address ie this is the first
the user has heard of it.

The first paragraph, such as can be seen in a preview pane of an e-mail client,
should be couched in terms understandable to the lay reader eg an e-mail
message, more details below, has not been delivered because ... followed by
suggested actions for a user who does not understand the bounce message, either
for the user to contact their own mail administator, or if the sender of the
bounce message is willing, to contact the sender by e-mail.

This should be followed by the reason for non-delivery in more technical terms
eg
'reason: 550 Error: No attachments allowed'
'The email contained the virus: Email-Worm.Win32.Mydoom'
'550 5.1.1 User unknown'
using reply codes [RFC821] and enhanced status codes [RC3463] as appropriate;
and, perhaps, a SMTP trace eg
----- Transcript of session follows -----
... while talking to mail.example.com:
>>> DATA
<<< 554 5.7.1 virus Exploit.HTML.IFrame detected
554 5.0.0 Service unavailable

The body must contain enough to identify the original message that caused the
bounce message to be created and clearly identify that this is what it is and
not an artifact of the bounce message itself; a solid line across the screen or
------ This is a copy of the message, including all the headers. ------
conveys this well.  At the very least, the extract from the original mesage must
contain "From:", "To:" and "Date:".   It should contain the entire message
header, particularly the earliest "Received:" to show where the message entered
the system.  It also should contain part of the body of the original message
but, since this is likely to be worm or virus, must not contain the entire body.
To date, such bodies are in excess of 20kbyte so providing up to 10kbyte runs no
risk of propagating a virus while providing enough of a footprint to identify
what was sent (note that while message headers are currently one or two kbyte,
they are steadily increasing in size with the advent of anti-spam procedures
such as SPF and DKIM).

Note that a typical e-mail client will treat a "Content-Type:" of
'text/rfc822-headers' as part of the body and display it as such while a
"Content-Type:" of 'message/rfc822' will be treated as an attachment and require
the user to perform further contortions to view it; this makes a "Content-Type:"
of 'message/rfc822' suitable for the (truncated) original message with the
headers of the original message included as a "Content-Type:" of
'text/rfc822-headers'.

Finally the body should identify the software that is generating the bounce
message.  Standards-based diagnostic messages and codes are coarse-grained; the
software will usually have more information available and will include or imply
that in the bounce message; but to make sense of this information, it is
important to know precisely what software is generating the information.  Thus
the software should be identified by manufacturer, software product name,
software version/level/release, plus a date of release or build if that is
significant to the manufacturer.

Tom Petch


_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg





the user.
Other e-mail addresses are likely to mislead.

Body

The body of the message should restate, in more detail, that this is a bounce
message, give more details about the message that has been bounced and why; it
should also identify the software that is generating this message.  It must
always allow for the probability that the "Return-Path:" in the original mesage
was forged and so this will be the first that the user knows of the matter.
Thus text of the form
"A message that you sent ..."
" a message from your address"
is always unhelpful.  Rather, it should be of the form 'the following message',
'a message received' preferrably with the qualification that the bounce message
may be being sent in response to a forged e-mail address ie this is the first
the user has heard of it.

The first paragraph, such as can be seen in a preview pane of an e-mail client,
should be couched in terms understandable to the lay reader eg an e-mail
message, more details below, has not been delivered because ... followed by
suggested actions for a user who does not understand the bounce message, either
for the user to contact their own mail administator, or if the sender of the
bounce message is willing, to contact the sender by e-mail.

This should be followed by the reason for non-delivery in more technical terms
eg
'reason: 550 Error: No attachments allowed'
'The email contained the virus: Email-Worm.Win32.Mydoom'
'550 5.1.1 User unknown'
using reply codes [RFC821] and enhanced status codes [RC3463] as appropriate;
and, perhaps, a SMTP trace eg
----- Transcript of session follows -----
... while talking to mail.example.com:
>>> DATA
<<< 554 5.7.1 virus Exploit.HTML.IFrame detected
554 5.0.0 Service unavailable

The body must contain enough to identify the original message that caused the
bounce message to be created and clearly identify that this is what it is and
not an artifact of the bounce message itself; a solid line across the screen or
------ This is a copy of the message, including all the headers. ------
conveys this well.  At the very least, the extract from the original mesage must
contain "From:", "To:" and "Date:".   It should contain the entire message
header, particularly the earliest "Received:" to show where the message entered
the system.  It also should contain part of the body of the original message
but, since this is likely to be worm or virus, must not contain the entire body.
To date, such bodies are in excess of 20kbyte so providing up to 10kbyte runs no
risk of propagating a virus while providing enough of a footprint to identify
what was sent (note that while message headers are currently one or two kbyte,
they are steadily increasing in size with the advent of anti-spam procedures
such as SPF and DKIM).

Note that a typical e-mail client will treat a "Content-Type:" of
'text/rfc822-headers' as part of the body and display it as such while a
"Content-Type:" of 'message/rfc822' will be treated as an attachment and require
the user to perform further contortions to view it; this makes a "Content-Type:"
of 'message/rfc822' suitable for the (truncated) original message with the
headers of the original message included as a "Content-Type:" of
'text/rfc822-headers'.

Finally the body should identify the software that is generating the bounce
message.  Standards-based diagnostic messages and codes are coarse-grained; the
software will usually have more information available and will include or imply
that in the bounce message; but to make sense of this information, it is
important to know precisely what software is generating the information.  Thus
the software should be identified by manufacturer, software product name,
software version/level/release, plus a date of release or build if that is
significant to the manufacturer.

Tom Petch


_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg





From asrg-bounces@ietf.org Fri Dec 08 14:38:51 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GslX0-0007KG-32; Fri, 08 Dec 2006 14:37:14 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GslWy-0007JP-I4
	for asrg@ietf.org; Fri, 08 Dec 2006 14:37:12 -0500
Received: from sparkle.rodents.montreal.qc.ca ([216.46.5.7])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GslWx-0006H5-5C
	for asrg@ietf.org; Fri, 08 Dec 2006 14:37:12 -0500
Received: (from mouse@localhost)
	by Sparkle.Rodents.Montreal.QC.CA (8.8.8/8.8.8) id OAA18775;
	Fri, 8 Dec 2006 14:37:05 -0500 (EST)
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
Message-Id: <200612081937.OAA18775@Sparkle.Rodents.Montreal.QC.CA>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Erik-Conspiracy: There is no Conspiracy - and if there were I wouldn't be
	part of it anyway.
X-Message-Flag: Microsoft: the company who gave us the botnet zombies.
Date: Fri, 8 Dec 2006 14:26:32 -0500 (EST)
To: asrg@ietf.org
Subject: Re: bounceone Re: [Asrg] DSN generation and handling
In-Reply-To: <066c01c71aed$0add6000$0601a8c0@pc6>
References: <20060903170239.11718.qmail@simone.iecc.com>
	<066c01c71aed$0add6000$0601a8c0@pc6>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 69a74e02bbee44ab4f8eafdbcedd94a1
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

> The body must contain enough to identify the original message that
> caused the bounce message to be created and clearly identify that
> this is what it is and not an artifact of the bounce message itself;
> a solid line across the screen or
> ------ This is a copy of the message, including all the headers. ------
> conveys this well.

Perhaps, but that kind of inclusion of the bounced message makes it
approximately impossible - difficult, at the very least - to
*mechanically* identify the bounce as a bounce and extract the bounced
message.  My mailserver pries open bounces and checks to see if the
bounce bears evidence of having been sent through my machines; if not,
the bounce is rejected as being a bounce of a forgery.  (This works
only because I send mail only through channels that add the relevant
spoor, of course.)

But this requires either that the bounce message be in a standardized
format - RFC 3462 is the only such standard I know of - or that I try
to track assorted nonstandard bounce formats.  I chose the former; I
complain to sites that send me non-3462 bounces of forgeries, blocking
repeat offenders.  (I'm waffling on the question of whether to complain
about non-3462 bounces of non-forgeries; at the moment I don't.)

This is not to say that a user-agent couldn't take a 3462-formatted
bounce and *display* it the way you describe, if the UA's author(s)
think that is appropriate for their target market.

> At the very least, the extract from the original mesage must contain
> "From:", "To:" and "Date:".

I would say the message-ID is another must-have.  From/To/Date is often
not enough to find the message in logs.  (If there is no message-ID, I
would say the message should not have been accepted at all.)

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg



From asrg-bounces@ietf.org Fri Dec 08 15:53:11 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GsmgN-00049m-Qf; Fri, 08 Dec 2006 15:50:59 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GsmgK-000473-SD
	for asrg@ietf.org; Fri, 08 Dec 2006 15:50:57 -0500
Received: from ranger.systems.pipex.net ([62.241.162.32])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GsmgI-0000VT-8e
	for asrg@ietf.org; Fri, 08 Dec 2006 15:50:56 -0500
Received: from pc6 (1Cust27.tnt28.lnd4.gbr.da.uu.net [62.188.156.27])
	by ranger.systems.pipex.net (Postfix) with SMTP id 17E55E000342;
	Fri,  8 Dec 2006 20:50:37 +0000 (GMT)
Message-ID: <07ac01c71b02$21944c40$0601a8c0@pc6>
From: "Tom Petch" <nwnetworks@dial.pipex.com>
To: "der Mouse" <mouse@Rodents.Montreal.QC.CA>, <asrg@ietf.org>
References: <20060903170239.11718.qmail@simone.iecc.com><066c01c71aed$0add6000$0601a8c0@pc6>
	<200612081937.OAA18775@Sparkle.Rodents.Montreal.QC.CA>
Subject: Re: bounceone Re: [Asrg] DSN generation and handling
Date: Fri, 8 Dec 2006 20:49:52 +0100
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.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d8ae4fd88fcaf47c1a71c804d04f413d
Cc: 
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Tom Petch <nwnetworks@dial.pipex.com>
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

Thank you for your comments; see <inline>

Tom Petch

----- Original Message -----
From: "der Mouse" <mouse@Rodents.Montreal.QC.CA>
To: <asrg@ietf.org>
Sent: Friday, December 08, 2006 8:26 PM
Subject: Re: bounceone Re: [Asrg] DSN generation and handling


> > The body must contain enough to identify the original message that
> > caused the bounce message to be created and clearly identify that
> > this is what it is and not an artifact of the bounce message itself;
> > a solid line across the screen or
> > ------ This is a copy of the message, including all the headers. ------
> > conveys this well.
>
> Perhaps, but that kind of inclusion of the bounced message makes it
> approximately impossible - difficult, at the very least - to
> *mechanically* identify the bounce as a bounce and extract the bounced
> message.

I see this line of text in bounces that have no Content-type specified (eg exim)
which, from what you say, you will not process.

>  My mailserver pries open bounces and checks to see if the
> bounce bears evidence of having been sent through my machines; if not,
> the bounce is rejected as being a bounce of a forgery.  (This works
> only because I send mail only through channels that add the relevant
> spoor, of course.)
>
I am looking more from the lay user perspective so it is a question of how the
e-mail client presents the information; message/delivery-status is typically
reduced to a solid line across the screen so we can both have what we want if
your mailserver uses message/delivery-status or message/rfc822; does it?

> But this requires either that the bounce message be in a standardized
> format - RFC 3462 is the only such standard I know of - or that I try
> to track assorted nonstandard bounce formats.  I chose the former; I
> complain to sites that send me non-3462 bounces of forgeries, blocking
> repeat offenders.  (I'm waffling on the question of whether to complain
> about non-3462 bounces of non-forgeries; at the moment I don't.)
>

Do you accept multipart/mixed as well as multipart/report?  The former is not
strictly RFC3462 but seems quite widely used.

> This is not to say that a user-agent couldn't take a 3462-formatted
> bounce and *display* it the way you describe, if the UA's author(s)
> think that is appropriate for their target market.
>
> > At the very least, the extract from the original mesage must contain
> > "From:", "To:" and "Date:".
>
> I would say the message-ID is another must-have.  From/To/Date is often
> not enough to find the message in logs.  (If there is no message-ID, I
> would say the message should not have been accepted at all.)
>
Yes, the message-ID is in the original message but what I saying here is that
there is no imperative to display it; what I am seeing is bounce generators
being selective about what they display in the body as plain/text or as
text/rfc822-headers; what some include is too little for the message ever to
have reached them in the first place:-)

> /~\ The ASCII der Mouse
> \ / Ribbon Campaign
>  X  Against HTML        mouse@rodents.montreal.qc.ca
> / \ Email!      7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
>
> _______________________________________________
> Asrg mailing list
> Asrg@ietf.org
> https://www1.ietf.org/mailman/listinfo/asrg


_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg



From asrg-bounces@ietf.org Fri Dec 08 16:30:32 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GsnI9-0000cI-I2; Fri, 08 Dec 2006 16:30:01 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GsnI9-0000cD-0T
	for asrg@ietf.org; Fri, 08 Dec 2006 16:30:01 -0500
Received: from sparkle.rodents.montreal.qc.ca ([216.46.5.7])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GsnI7-00089X-JF
	for asrg@ietf.org; Fri, 08 Dec 2006 16:30:00 -0500
Received: (from mouse@localhost)
	by Sparkle.Rodents.Montreal.QC.CA (8.8.8/8.8.8) id QAA19807;
	Fri, 8 Dec 2006 16:29:57 -0500 (EST)
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
Message-Id: <200612082129.QAA19807@Sparkle.Rodents.Montreal.QC.CA>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Erik-Conspiracy: There is no Conspiracy - and if there were I wouldn't be
	part of it anyway.
X-Message-Flag: Microsoft: the company who gave us the botnet zombies.
Date: Fri, 8 Dec 2006 16:23:57 -0500 (EST)
To: asrg@ietf.org
Subject: Re: bounceone Re: [Asrg] DSN generation and handling
In-Reply-To: <07ac01c71b02$21944c40$0601a8c0@pc6>
References: <20060903170239.11718.qmail@simone.iecc.com><066c01c71aed$0add6000$0601a8c0@pc6>
	<200612081937.OAA18775@Sparkle.Rodents.Montreal.QC.CA>
	<07ac01c71b02$21944c40$0601a8c0@pc6>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b19722fc8d3865b147c75ae2495625f2
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

> I am looking more from the lay user perspective so it is a question
> of how the e-mail client presents the information;

Right; I don't much care how it's presented to the end user.  That's
between the UA's authors and its users.

> message/delivery-status is typically reduced to a solid line across
> the screen so we can both have what we want if your mailserver uses
> message/delivery-status or message/rfc822; does it?
>> [...]
> Do you accept multipart/mixed as well as multipart/report?  The
> former is not strictly RFC3462 but seems quite widely used.

I just checked.  The code accepts multipart/report and multipart/mixed
(and treats them identically in this respect); it requires a
message/rfc822 or text/rfc822-headers portion, which it takes as
containing the bounced message (or at least its headers).

> Yes, the message-ID is in the original message but what I saying here
> is that there is no imperative to display it;

True at the user-agent level; false, I believe, at the
bounce-generation level.

Unless you're talking about the inteded-for-humans text portion of the
bounce, with the message-ID appearing like any other header in the
message/rfc822 or text/rfc822-headers part, in which case I have no
argument with it.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg



From asrg-bounces@ietf.org Mon Dec 11 01:02:50 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1Gte9k-0004An-0W; Mon, 11 Dec 2006 00:56:52 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1Gte9j-0004Af-2V
	for asrg@ietf.org; Mon, 11 Dec 2006 00:56:51 -0500
Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Gte9h-0001ws-LF
	for asrg@ietf.org; Mon, 11 Dec 2006 00:56:51 -0500
Received: from list by ciao.gmane.org with local (Exim 4.43)
	id 1Gte9P-00083j-Mh
	for asrg@ietf.org; Mon, 11 Dec 2006 06:56:31 +0100
Received: from footbone.schlitt.net ([67.52.51.37])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <asrg@ietf.org>; Mon, 11 Dec 2006 06:56:31 +0100
Received: from wayne by footbone.schlitt.net with local (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <asrg@ietf.org>; Mon, 11 Dec 2006 06:56:31 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: asrg@ietf.org
From: wayne <wayne@schlitt.net>
Date: Sun, 10 Dec 2006 23:56:16 -0600
Lines: 48
Message-ID: <x4wt4zascf.fsf@footbone.schlitt.net>
References: <20060903170239.11718.qmail@simone.iecc.com>
	<066c01c71aed$0add6000$0601a8c0@pc6>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: footbone.schlitt.net
User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux)
Cancel-Lock: sha1:Lv3cdRJHLyrZ4I/LQ1CBJuGlMak=
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 50a516d93fd399dc60588708fd9a3002
Subject: [Asrg] Re: bounceone Re: DSN generation and handling
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

In <066c01c71aed$0add6000$0601a8c0@pc6> "Tom Petch" <nwnetworks@dial.pipex.com> writes:

>> >* What format are DSN messages generated in? Do they conform to
>> >  RFC 3464? Do they contain all relevant information? Is it presented in
>> >  a human (user) readable manner?
>> >  Do they contain the complete undelivered message or just part of it?
>
> Not exactly research but .....

Thanks, it was interesting and useful.


> The assumption here is that bounce messages will most often be
> delivered to and viewed by a lay, non-technical user, one with no
> particular skills in SMTP, one who perhaps thinks that DSN is a
> dyslexic reference to the Domain Name System and that worms are
> responsible for the health of the soil.  As such, the message should
> convey its intent in simple, unemotional terms, telling the
> recipient what has happened and what they might do about it.

IMHO, the single most important thing a mail admin can do to improve
the usefulness of the bounce messages is to make sure as many of the
rejected e-mails get rejected *during* the SMTP session instead of
accepting the email and then generating a bounce.  This, will cause
the sending MTA to generate the bounce.

While the bounce that the sending MTA generates may not be as clear or
informative as possible, it will at least be in a format that the user
of that system will be familiar with.  More over, when you say things
like subject lines of "Deilvery Status Notification" are clearer than
"Mail System Error", you are assuming that the user can understand
English, something that is often not the case.


Your list of MTAs and how many bounces you received from them is
somewhat enlightening, but people need to take into account that
almost(?) all of them were because the worms were not rejected during
the SMTP session on the first SMTP hop.  Higher numbers could mean
that many more MTAs use that particular software, or it could mean
that they do accept-then-bounce.  Or, I guess, that they are often use
as submission servers (ISP, etc.) or for email forwarding and they
don't do good egress filtering.


Anyway, thanks again.


-wayne


_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg



From asrg-bounces@ietf.org Tue Dec 12 07:25:17 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1Gu6cf-0001VE-F4; Tue, 12 Dec 2006 07:20:37 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1Gu6ZI-0000Rf-NG
	for asrg@ietf.org; Tue, 12 Dec 2006 07:17:08 -0500
Received: from galaxy.systems.pipex.net ([62.241.162.31])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Gu6Z3-0001qJ-F4
	for asrg@ietf.org; Tue, 12 Dec 2006 07:16:54 -0500
Received: from pc6 (1Cust59.tnt110.lnd4.gbr.da.uu.net [62.188.174.59])
	by galaxy.systems.pipex.net (Postfix) with SMTP id D3367E0002BA;
	Tue, 12 Dec 2006 12:16:29 +0000 (GMT)
Message-ID: <01cc01c71dde$f4059420$0601a8c0@pc6>
From: "Tom Petch" <nwnetworks@dial.pipex.com>
To: <asrg@ietf.org>, "wayne" <wayne@schlitt.net>
References: <20060903170239.11718.qmail@simone.iecc.com><066c01c71aed$0add6000$0601a8c0@pc6>
	<x4wt4zascf.fsf@footbone.schlitt.net>
Subject: Re: [Asrg] Re: bounceone Re: DSN generation and handling
Date: Tue, 12 Dec 2006 12:15:34 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 3e15cc4fdc61d7bce84032741d11c8e5
Cc: 
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Tom Petch <nwnetworks@dial.pipex.com>
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

----- Original Message -----
From: "wayne" <wayne@schlitt.net>
To: <asrg@ietf.org>
Sent: Monday, December 11, 2006 6:56 AM
Subject: [Asrg] Re: bounceone Re: DSN generation and handling
>
> IMHO, the single most important thing a mail admin can do to improve
> the usefulness of the bounce messages is to make sure as many of the
> rejected e-mails get rejected *during* the SMTP session instead of
> accepting the email and then generating a bounce.  This, will cause
> the sending MTA to generate the bounce.

Agreed; I find it hard to see evidence of this except when there is only =
one MTA
involved.

>
> While the bounce that the sending MTA generates may not be as clear or
> informative as possible, it will at least be in a format that the user
> of that system will be familiar with.  More over, when you say things
> like subject lines of "Deilvery Status Notification" are clearer than
> "Mail System Error", you are assuming that the user can understand
> English, something that is often not the case.
>

I only know English but find that technical terms tend to be very similar=
.  Thus
I can cope with
' Virus rejet=E9'
'Ce rapport fait r=E9f=E9rence =E0 un message envoy=E9 '
'Este mensaje no pudo ser entregado a su(s) destinatario'
'Panda GateDefender Performa ha detectado contenido malicioso'
'Il sistema di scansione ha rilevato un problema'
or, at a pinch,
'Tozi e-mail vi e izpraten ot AV MAILGATE BTC-NET'
'Ten komunikat zostal automatycznie utworzony przez system obslugi poczty=
'
It is the
'=C3=BB=D3=D0=C4=DC=B9=BB=B7=A2=CB=CD=B5=BD=D2=D4=CF=C2=B5=C4=CA=D5=BC=FE=
=C8=CB:'
that defeat me:-(

Tom Petch
>
<snip>
>
>
> -wayne
>
>
> _______________________________________________
> Asrg mailing list
> Asrg@ietf.org
> https://www1.ietf.org/mailman/listinfo/asrg


_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg



From asrg-bounces@ietf.org Thu Dec 14 16:10:58 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GuxoC-0006Ud-78; Thu, 14 Dec 2006 16:08:04 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GuxoA-0006UX-Qj
	for asrg@ietf.org; Thu, 14 Dec 2006 16:08:02 -0500
Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Guxo9-0002aF-BF
	for asrg@ietf.org; Thu, 14 Dec 2006 16:08:02 -0500
Received: from list by ciao.gmane.org with local (Exim 4.43)
	id 1Guxo4-0004NB-AR
	for asrg@ietf.org; Thu, 14 Dec 2006 22:07:56 +0100
Received: from d255034.dialin.hansenet.de ([80.171.255.34])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <asrg@ietf.org>; Thu, 14 Dec 2006 22:07:56 +0100
Received: from nobody by d255034.dialin.hansenet.de with local (Gmexim 0.1
	(Debian)) id 1AlnuQ-0007hv-00
	for <asrg@ietf.org>; Thu, 14 Dec 2006 22:07:56 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: asrg@ietf.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Date: Thu, 14 Dec 2006 21:57:17 +0100
Organization: <URL:http://purl.net/xyzzy>
Lines: 108
Message-ID: <4581BAAD.17D4@xyzzy.claranet.de>
References: <20060903170239.11718.qmail@simone.iecc.com>
	<066c01c71aed$0add6000$0601a8c0@pc6>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: d255034.dialin.hansenet.de
X-Mailer: Mozilla 3.0 (OS/2; U)
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 6d95a152022472c7d6cdf886a0424dc6
Subject: [Asrg] Re: bounceone
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

Tom Petch wrote:

> Less good is
> postmaster@<domain-name>
> since, while technically correct, it is unlikely to convey the
> meaning clearly to a lay user, especially as the <domain-name>
> may be unknown to the user.

I think you want to say that there should be a display name like
"Mail Administator" in addition to the postmaster@ address, is
that correct ?

> Other e-mail addresses are likely to mislead.

+1  Whatever it is, they must be ready to get "manual" replies
at this address, if there's no separate Reply-To.

> perhaps, a SMTP trace eg
> ----- Transcript of session follows -----
> ... while talking to mail.example.com:
> >>> DATA
> <<< 554 5.7.1 virus Exploit.HTML.IFrame detected
> 554 5.0.0 Service unavailable

Somebody, maybe AOL, but I'm not sure, managed it to note the
alleged MAIL FROM nowhere, that's bad.   I can determine it,
it ends up in an X-Envelope-To, but that's unreliable.  This
point is of course moot if the bounce contains the complete
header _with_ (forged) Return-Path somewhere, but normally
it's only the complete header _without_ Return-Path.  Yes, I
use one of those funny catchall vanity host mailboxes.

> At the very least, the extract from the original mesage must
> contain "From:", "To:" and "Date:".

NAK, complete header, no compromises, unless it's monstrous,
a loop of Received lines until one party crashed or similar.

> It should contain the entire message header

SHOULD as near to a MUST as possible.

> particularly the earliest "Received:" to show where the
> message entered the system.

It allegedly entered the system there.  In reality it entered
the system later, the bottom timestamp lines were preloaded by
the spammer / worm author, more or less plausible.

> To date, such bodies are in excess of 20kbyte so providing
> up to 10kbyte runs no risk of propagating a virus

After MyDoom (spring 2004) my ISPs blocked or deleted almost
all worms.  Until then the limit went down to 12,000 bytes,
that's for 1200 + 8100 * 4/3 (B64).  IIRC Sober was quite small.

Another approach would be to truncate bodies at the first line
starting with TV or UE (credits for that trick to JohnL).  Or
any potential B64 crap that's not a potential MIME text part.

> note that while message headers are currently one or two kbyte,
> they are steadily increasing in size with the advent of
> anti-spam procedures such as SPF and DKIM.

SPF doesn't add message header fields, at least not on the side
of the sender.  Spammers trying in vain to preload Received-SPF
is an idea, but it's futile, receivers would either ignore it
if they normally don't get it, or pick the top Received-SPF as
inserted by their own side.  And Received-SPF is fairly small.

For DKIM it's another issue, so you better state your limits
for the copied part of the body, excl. the complete header, or
you have two limits, with say 8100*4/3 for the body.  Or less.

In Spamcop reports I use POP3 "TOP 10" (first ten lines of the
body) plus complete header.  So far no abuse desk complained
that they needed more... :-)

> a "Content-Type:" of 'message/rfc822' will be treated as an
> attachment

If some broken UAs do this it's their problem.  Content-Type and
Content-Disposition are in essence unrelated.  A MIME part is a
MIME part, it's not necessarily an attachment.  Please don't use
Microsoft (or rather OE) terminology, they don't understand MIME,
it's a hopeless case.

> 'message/rfc822' suitable for the (truncated) original message
> with the headers of the original message included as a
> "Content-Type:" of 'text/rfc822-headers'.

Sending the complete header twice is a bad idea.  The truncated
message/rfc822 is fine, it contains the complete header.  You'd
use text/rfc822 only in conjunction with something that is _not_
message/rfc822.

> Finally the body should identify the software that is generating
> the bounce message.

That should go into the reporting header, as User-Agent or similar,
not as part of the Subject.  Admittedly I add the id. of the tool
truncating bodies (the "TOP 10" mentioned above) below that body,
but that's a kludge.  For some time it was a complete URL, until I
reported my own site as "spamvertized", then I changed it for naive
users incl. me... :-)

Frank



_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg



From asrg-bounces@ietf.org Thu Dec 14 17:52:07 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GuzPP-0005Fo-8G; Thu, 14 Dec 2006 17:50:35 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GuzPO-0005Fj-5d
	for asrg@ietf.org; Thu, 14 Dec 2006 17:50:34 -0500
Received: from mail1.nber.org ([66.251.72.7])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GuzPM-0005MC-TK
	for asrg@ietf.org; Thu, 14 Dec 2006 17:50:34 -0500
Received: from mail1 (root@localhost)
	by mail1.nber.org (8.12.11.20060308/8.12.11) with SMTP id
	kBEMoQpO008556 for <asrg@ietf.org>; Thu, 14 Dec 2006 17:50:26 -0500
Received: from nber1.nber.org (nber1.nber.org [66.251.72.71])
	by mail1.nber.org (8.12.11.20060308/8.12.11) with ESMTP id
	kBEMoQuq008538; Thu, 14 Dec 2006 17:50:26 -0500
Received: from nber1.nber.org (localhost [127.0.0.1])
	by nber1.nber.org (8.12.10+Sun/8.12.10) with ESMTP id kBEMoPqo027895;
	Thu, 14 Dec 2006 17:50:25 -0500 (EST)
Received: from localhost (feenberg@localhost)
	by nber1.nber.org (8.12.10+Sun/8.12.9/Submit) with ESMTP id
	kBEMoLcp027892; Thu, 14 Dec 2006 17:50:21 -0500 (EST)
X-Authentication-Warning: nber1.nber.org: feenberg owned process doing -bs
Date: Thu, 14 Dec 2006 17:50:21 -0500 (EST)
From: Daniel Feenberg <feenberg@nber.org>
To: Frank Ellermann <nobody@xyzzy.claranet.de>
Subject: Re: [Asrg] Re: bounceone
In-Reply-To: <4581BAAD.17D4@xyzzy.claranet.de>
Message-ID: <Pine.GSO.4.64.0612141742290.26847@nber1.nber.org>
References: <20060903170239.11718.qmail@simone.iecc.com>
	<066c01c71aed$0add6000$0601a8c0@pc6>
	<4581BAAD.17D4@xyzzy.claranet.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e5ba305d0e64821bf3d8bc5d3bb07228
Cc: asrg@ietf.org
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org



On Thu, 14 Dec 2006, Frank Ellermann wrote:

> Tom Petch wrote:
>
>> Less good is
>> postmaster@<domain-name>
>> since, while technically correct, it is unlikely to convey the
>> meaning clearly to a lay user, especially as the <domain-name>
>> may be unknown to the user.
>
...


I have always found the overuse of the pronoun "localhost" in DSN messages 
a stumbling block to quick understanding. Substituting the actual host 
name wouldn't cost anything, would it? I understand there is no actual 
ambiguity, just a delay while the user figures it out (or gives up 
trying).

If the DSN included the message-id, it would be possible to automate the 
dropping of DSN messages arising from forged return addresses on messages 
to misconfigured MTAs. Most of the DSNs I get have the subject line, but 
few have the message-id. If no reasonably reliable way to determine the 
legitimacy of a DSN is established, then more MTAs will start discarding 
all of them, which would be significant reduction in service and not at 
all desirable.

Daniel Feenberg


_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg



From asrg-bounces@ietf.org Fri Dec 15 09:24:40 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GvDwT-0003Vz-3B; Fri, 15 Dec 2006 09:21:41 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GvDwR-0003Sk-DE
	for asrg@ietf.org; Fri, 15 Dec 2006 09:21:39 -0500
Received: from astro.systems.pipex.net ([62.241.163.6])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GvDwQ-0002Tu-Hx
	for asrg@ietf.org; Fri, 15 Dec 2006 09:21:39 -0500
Received: from pc6 (1Cust7.tnt106.lnd4.gbr.da.uu.net [213.116.60.7])
	by astro.systems.pipex.net (Postfix) with SMTP id 5E2B3E00047A
	for <asrg@ietf.org>; Fri, 15 Dec 2006 14:20:50 +0000 (GMT)
Message-ID: <034d01c7204b$ce6af2e0$0601a8c0@pc6>
From: "Tom Petch" <nwnetworks@dial.pipex.com>
To: <asrg@ietf.org>
References: <20060903170239.11718.qmail@simone.iecc.com>
	<066d01c71aed$0c6eae60$0601a8c0@pc6>
Subject: bouncetwo R2: was Re: [Asrg] DSN generation and handling
Date: Fri, 15 Dec 2006 14:18:30 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 054490fec19f6a94c68e63428d06db69
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Tom Petch <nwnetworks@dial.pipex.com>
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

This is release 2 of bouncetwo, updated to include a further ten sets of =
details
and adding a 'machine:' line giving the fields present in the
'message/delivery-status'.

For details of the principles on which this analysis is based, see the co=
mpanion
e-mail with a "Subject:" of 'bounceone'

This e-mail contains the analysis of 400 bounce (mostly Delivery Status
Notification) messages delivered to a single e-mail address on a UA betwe=
en 20
June and 9 October 2006.  In the same time frame, this e-mail address als=
o
received approximately 5430 messages containing the MyDoom worm with a fo=
rged
"Return-Path" together with a somewhat smaller number of similar messages
carrying screen savers and such like.  In a very few cases (less than 10)=
, the
worm had been removed in transit by an MTA.

Bounce messages were received from the following 'software'.  The number =
in
(parentheses) is the number of messages received.  * indicates more detai=
ls are
given below.

[7.2.0] (2)
8.12.8 (54) *
Active Spam Killer (1)
[AIMC] (1)
BitDefender (1)
blueyonder (3) *
ClamAV (4) *
CommuniGate Pro (23) *
ConcentricHost MX (1)
CoreMail (1)
exim (17) *
ezmlm (2)
[Intermail] (4) *
[Internet Mail Service] (4) *
[iPlanet Messaging Server] (4) *
Kaspersky Anti-Virus (1)
Kerio MailServer(1)
LISTSERV (4)
Lsoft (12) *
Lyris Listmanager (1)
MailEnable (5) *
AV MAILGATE BTC-NET (1)
X-Optimum Internet Ltd-MailScanner (2)
Majordomo (3)
[Merak] (3) *
[MOS] (3) *
Panda GateDefender Performa (3) *
PMDF e-Mail Interconnect (1)
Postfix (65) *
qmail-send (34) *
[QMQP] (1)
Rockliffe (1)
SMTPD32 (3) *
SMTPSVC (6)  *
[Sophos] Puremessage (2)
Sun Java System Messaging Server (12) *
Symantec AntiVirus (32) *
[Terrace MailWatcher] (1)
TMDA (1)
trimMail (1)
[v112] (16) *
Network Associates WebShield SMTP (1)
zmailer (1)

The identity of the software was either explicitly specified, usually in =
the
body of the message, or else inferred from the most recent "Received: by"=
 header
in the original message; the latter are enclosed in [brackets].  No attem=
pt has
been made to interpret these names; thus [8.12.8/8.12.8] (and simFrom asrg-bounces@ietf.org Fri Dec 15 09:24:40 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GvDwT-0003Vz-3B; Fri, 15 Dec 2006 09:21:41 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GvDwR-0003Sk-DE
	for asrg@ietf.org; Fri, 15 Dec 2006 09:21:39 -0500
Received: from astro.systems.pipex.net ([62.241.163.6])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GvDwQ-0002Tu-Hx
	for asrg@ietf.org; Fri, 15 Dec 2006 09:21:39 -0500
Received: from pc6 (1Cust7.tnt106.lnd4.gbr.da.uu.net [213.116.60.7])
	by astro.systems.pipex.net (Postfix) with SMTP id 5E2B3E00047A
	for <asrg@ietf.org>; Fri, 15 Dec 2006 14:20:50 +0000 (GMT)
Message-ID: <034d01c7204b$ce6af2e0$0601a8c0@pc6>
From: "Tom Petch" <nwnetworks@dial.pipex.com>
To: <asrg@ietf.org>
References: <20060903170239.11718.qmail@simone.iecc.com>
	<066d01c71aed$0c6eae60$0601a8c0@pc6>
Subject: bouncetwo R2: was Re: [Asrg] DSN generation and handling
Date: Fri, 15 Dec 2006 14:18:30 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 054490fec19f6a94c68e63428d06db69
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Tom Petch <nwnetworks@dial.pipex.com>
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

This is release 2 of bouncetwo, updated to include a further ten sets of =
details
and adding a 'machine:' line giving the fields present in the
'message/delivery-status'.

For details of the principles on which this analysis is based, see the co=
mpanion
e-mail with a "Subject:" of 'bounceone'

This e-mail contains the analysis of 400 bounce (mostly Delivery Status
Notification) messages delivered to a single e-mail address on a UA betwe=
en 20
June and 9 October 2006.  In the same time frame, this e-mail address als=
o
received approximately 5430 messages containing the MyDoom worm with a fo=
rged
"Return-Path" together with a somewhat smaller number of similar messages
carrying screen savers and such like.  In a very few cases (less than 10)=
, the
worm had been removed in transit by an MTA.

Bounce messages were received from the following 'software'.  The number =
in
(parentheses) is the number of messages received.  * indicates more detai=
ls are
given below.

[7.2.0] (2)
8.12.8 (54) *
Active Spam Killer (1)
[AIMC] (1)
BitDefender (1)
blueyonder (3) *
ClamAV (4) *
CommuniGate Pro (23) *
ConcentricHost MX (1)
CoreMail (1)
exim (17) *
ezmlm (2)
[Intermail] (4) *
[Internet Mail Service] (4) *
[iPlanet Messaging Server] (4) *
Kaspersky Anti-Virus (1)
Kerio MailServer(1)
LISTSERV (4)
Lsoft (12) *
Lyris Listmanager (1)
MailEnable (5) *
AV MAILGATE BTC-NET (1)
X-Optimum Internet Ltd-MailScanner (2)
Majordomo (3)
[Merak] (3) *
[MOS] (3) *
Panda GateDefender Performa (3) *
PMDF e-Mail Interconnect (1)
Postfix (65) *
qmail-send (34) *
[QMQP] (1)
Rockliffe (1)
SMTPD32 (3) *
SMTPSVC (6)  *
[Sophos] Puremessage (2)
Sun Java System Messaging Server (12) *
Symantec AntiVirus (32) *
[Terrace MailWatcher] (1)
TMDA (1)
trimMail (1)
[v112] (16) *
Network Associates WebShield SMTP (1)
zmailer (1)

The identity of the software was either explicitly specified, usually in =
the
body of the message, or else inferred from the most recent "Received: by"=
 header
in the original message; the latter are enclosed in [brackets].  No attem=
pt has
been made to interpret these names; thus [8.12.8/8.12.8] (and similar val=
ues)
might be the version, release and level of a well-known software package.=
  Some
59 messages contained no apparent identification although many of them sh=
owed
one of two distinct patterns and may represent two anonymous, if well-kno=
wn,
software packages.

The software listed here is a mixture of traditional e-mail software, of
anti-virus software and of list servers.  Since all these sent bounce mes=
sages
to a forged "Return-path:", all are treated equally.

Two general comments on the analysis.  Since almost all the direct messag=
es to
the address in question contained the 'MyDoom' worm (or similar), it is a=
ssumed
that the original messages that triggered these bounce messages also cont=
ained
such a payload and so the failure of the bounce message to mention the pr=
esence
of such is taken as a failing on the part of the software to detect the w=
orm.
Apart from that, the bounce messages have been analysed 'as is' with no a=
ttempt
to interpret them eg by allowing for possible customisation of the softwa=
re by
its implementor to provide the mail service on offer.

This analysis should not be taken as representative of bounce messages in
general, just of those that dominate e-mail traffic.  After all, the boun=
ce
messages are themselves spam (in a general sense) and the best, or best
implemented, software would not generate them at all and so would not be =
present
in this analysis.

Analysis by software of nine largest contributors

[8.12.8/8.12.8] (or similar numbers)
Software identity: taken from "Received: by", could be Version.Release.Le=
vel
From: informative (Mail Delivery Subsystem)
Subject: unhelpful (Returned Mail)
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: unhelpful, no statement of what this e-mail is
Advice: none
Expert user: comprehensive (reply code, enhanced status code, session
transcript, original message headers)
Machine: Reporting-MTA:, Received-From-MTA:, Arrival-Date:, Final-Recipie=
nt:,
Action: failed, Status:, Remote-MTA:, Diagnostic-Code:, Last-Attempt-Date=
:,
(X-Actual-Recipient)
Worm detected: mostly not
Original message: dangerous (as a message/rfc822 complete with worm)

Communigate Pro SMTP
Software identity: in body, with version.release.level
From: informative (MAILER-DAEMON)
Subject: informative ('Undeliverable mail' or 'Virus warning' plus origin=
al
subject)
Content Type: multipart/report message/delivery-status text/rfc822-header=
s
Body:-
Lay user: clear (but sometimes 'you sent ...')
Advice: none
Expert user: good (reply code, original message headers)
Machine: Reporting-MTA:, Original-Recipient:, Final-Recipient:,
Action:, Status:
Worm detected: 8/23 (by Kaspersky AntVirus plugin or McAfee, perhaps not =
by
SpamAssassin)
Original message: headers only but mostly none if worm detected

exim
Software identity: sometimes in body, otherwise from "Received: by", with
Version.Release
From: informative (Mail Delivery System)
Subject: ok (Mail Delivery Failed or Warning(3))
Content Type: none!
Body:-
Lay user: unhelpful ("A message that you sent could not be delivered"
Advice: none
Expert user: weak (message but no codes, original message headers)
Machine: none
Worm detected: mostly not
Original message: dangerous (complete with worm in the body of the messag=
e)

L-soft Listserv
Software identity: in "From:" with Version.Release
From: informative (Listserv)
Subject: unhelpful ('Message')
Content Type: none!
Body:-
Lay user: unhelpful ("The distribution of your message ... "
Advice: weak ('No action is required ...')
Expert user: none
Machine; none
Worm detected: no
Original message: none

Postfix
Software identity: first line of body (mostly), no Version.Release.Level
From: informative (Mail Delivery System)
Subject: informative (Undelivered Mail)
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: ok ("I'm sorry to have to inform you ..." but then "your messag=
e could
not ..."
Advice: yes ("For further assistance..."
Expert user: weak (error message, occasional reply code, originalilar val=
ues)
might be the version, release and level of a well-known software package.=
  Some
59 messages contained no apparent identification although many of them sh=
owed
one of two distinct patterns and may represent two anonymous, if well-kno=
wn,
software packages.

The software listed here is a mixture of traditional e-mail software, of
anti-virus software and of list servers.  Since all these sent bounce mes=
sages
to a forged "Return-path:", all are treated equally.

Two general comments on the analysis.  Since almost all the direct messag=
es to
the address in question contained the 'MyDoom' worm (or similar), it is a=
ssumed
that the original messages that triggered these bounce messages also cont=
ained
such a payload and so the failure of the bounce message to mention the pr=
esence
of such is taken as a failing on the part of the software to detect the w=
orm.
Apart from that, the bounce messages have been analysed 'as is' with no a=
ttempt
to interpret them eg by allowing for possible customisation of the softwa=
re by
its implementor to provide the mail service on offer.

This analysis should not be taken as representative of bounce messages in
general, just of those that dominate e-mail traffic.  After all, the boun=
ce
messages are themselves spam (in a general sense) and the best, or best
implemented, software would not generate them at all and so would not be =
present
in this analysis.

Analysis by software of nine largest contributors

[8.12.8/8.12.8] (or similar numbers)
Software identity: taken from "Received: by", could be Version.Release.Le=
vel
From: informative (Mail Delivery Subsystem)
Subject: unhelpful (Returned Mail)
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: unhelpful, no statement of what this e-mail is
Advice: none
Expert user: comprehensive (reply code, enhanced status code, session
transcript, original message headers)
Machine: Reporting-MTA:, Received-From-MTA:, Arrival-Date:, Final-Recipie=
nt:,
Action: failed, Status:, Remote-MTA:, Diagnostic-Code:, Last-Attempt-Date=
:,
(X-Actual-Recipient)
Worm detected: mostly not
Original message: dangerous (as a message/rfc822 complete with worm)

Communigate Pro SMTP
Software identity: in body, with version.release.level
From: informative (MAILER-DAEMON)
Subject: informative ('Undeliverable mail' or 'Virus warning' plus origin=
al
subject)
Content Type: multipart/report message/delivery-status text/rfc822-header=
s
Body:-
Lay user: clear (but sometimes 'you sent ...')
Advice: none
Expert user: good (reply code, original message headers)
Machine: Reporting-MTA:, Original-Recipient:, Final-Recipient:,
Action:, Status:
Worm detected: 8/23 (by Kaspersky AntVirus plugin or McAfee, perhaps not =
by
SpamAssassin)
Original message: headers only but mostly none if worm detected

exim
Software identity: sometimes in body, otherwise from "Received: by", with
Version.Release
From: informative (Mail Delivery System)
Subject: ok (Mail Delivery Failed or Warning(3))
Content Type: none!
Body:-
Lay user: unhelpful ("A message that you sent could not be delivered"
Advice: none
Expert user: weak (message but no codes, original message headers)
Machine: none
Worm detected: mostly not
Original message: dangerous (complete with worm in the body of the messag=
e)

L-soft Listserv
Software identity: in "From:" with Version.Release
From: informative (Listserv)
Subject: unhelpful ('Message')
Content Type: none!
Body:-
Lay user: unhelpful ("The distribution of your message ... "
Advice: weak ('No action is required ...')
Expert user: none
Machine; none
Worm detected: no
Original message: none

Postfix
Software identity: first line of body (mostly), no Version.Release.Level
From: informative (Mail Delivery System)
Subject: informative (Undelivered Mail)
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: ok ("I'm sorry to have to inform you ..." but then "your messag=
e could
not ..."
Advice: yes ("For further assistance..."
Expert user: weak (error message, occasional reply code, original message=
 as
message/rfc822)
Machine: Reporting-MTA:, X-Postfix-Queue-ID:, X-Postfix-Sender:,
Arrival-Date:, Final-Recipient:, Action:, Status:, Diagnostic-Code:
Worm detected: mostly not
Original message: mostly dangerous (complete with worm as message/rfc822)

qmail-send
Software identity: first line of body, no Version.Release.Level
From: informative (MAILER-DAEMON)
Subject: unhelpful ('failure notice' mostly)
Content Type: mostly none (multipart/mixed in 2 cases)
Body:-
Lay user: clear ("I wasn't able to deliver .." but then "your message ...=
")
Expert user: variable (a few reply codes, a few enhanced status codes, er=
ror
message, complete original message)
Machine: none
Worm detected: mostly not
Original message: mostly dangerous (complete with worm in body)

Sun Java System Messaging Server
Software identity: taken from "Received: by" with Version.Release.Level a=
nd
build date
From: informative (Service de distribution du courrier)
Subject: informative (Notification de l'=E9tat de remise)
Content Type: multipart/report message/delivery-status text/rfc822-header=
s
Body:-
Lay user: clear ("Ce rapport fait r=E9f=E9rence =E0 un message ...", "Le =
message ne
peut pas =EAtre remis..."
Advice: none
Expert user: excellent (message, reply code, enhanced status code, transp=
ort
quintuple, dns name, original message headers)
Machine: Reporting-MTA:, Original-recipient:, Final-recipient:, Action:,
Status:, Remote-MTA:, Diagnostic-code:
0r:- Reporting-MTA:, Original-recipient:, Final-recipient:, Action:, Stat=
us:
Worm detected: sometimes (by ClamAV)
Original message: headers

Symantec AntiVirus
Software identity: first line of body, no Version.Release.Level
From: unhelpful (often the "From:" of the original message)
Subject: unhelpful (the "Subject:" of the original message, "Mail System =
Error",
"Returned Mail")
Content Type: mostly multipart/mixed message/rfc822
Body:-
Lay user: unhelpful (talks about detecting a virus, omits any mention of =
e-mail)
Advice: none
Expert user: weak (truncated original message as message/rfc822)
Machine: none
Worm detected: yes (but calls it "Mydoom")
Original message: good (worm truncated else complete as message/rfc822)

v112 (or similar)
Software identity: from "Received: by" with Release number
From: informative (Mail Delivery System)
Subject: unhelpful ('Returned Mail' mostly)
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: unhelpful ("The original message ..." and "your e-mail is being
returned to you ..."
Advice: yes ("Please direct further questions ..."
Expert user: ok (error message, session transcript, original message head=
ers but
look as if they have been edited)
Machine: Reporting-MTA:, Arrival-Date:, Final-Recipient:, Action:, Status=
:,
Remote-MTA:, Diagnostic-Code:, Last-Attempt-Date:
Worm detected: sometimes (5/16)
Original message: headers

As may be apparent, if these were in a heap I would place Communigate Pro=
 SMTP
and Sun Java System Messaging Server on top.

---------------------------------------------------------------------
A further ten analyses in R2

blueyonder
Software identity: in body, no Version.Release.Level ('X-Mailer: Kaspersk=
y')
From: ok ('antivirus')
Subject: ok ('antivirus notification')
Content Type: multipart/mixed message/rfc822
Body:- (uses base64)
Lay user: ok ('found a virus' + From:/To:/Sent:)
Advice: yes ('DO NOT REPLY ' + URL)
Expert user: none (apart from message/rfc822)
Machine: none
Worm detected: yes
Original message: ok (message/rfc822 with virus removed)

ClamAV
Software: from body but with [8.12.8/8.12.8] in "Received: by"
From: informative ('Mail Delivery Subsystem')
Subject: unhelpful ('Returned Mail')
Content Type: multipart/report message/delivery-status message/rfc822 or
text/rfc822-headers
Body:-
Lay user: weak ('The original message was received ' 'Virus Worm detected=
')
Advice: none
Expert user: comprehensive (reply code, enhanced status code, session tra=
nscript
+ sometimes (2/4) original message headers)
Machine: Reporting-MTA:, Received-From-MTA:, Arrival-Date:, Final-Recipi message=
 as
message/rfc822)
Machine: Reporting-MTA:, X-Postfix-Queue-ID:, X-Postfix-Sender:,
Arrival-Date:, Final-Recipient:, Action:, Status:, Diagnostic-Code:
Worm detected: mostly not
Original message: mostly dangerous (complete with worm as message/rfc822)

qmail-send
Software identity: first line of body, no Version.Release.Level
From: informative (MAILER-DAEMON)
Subject: unhelpful ('failure notice' mostly)
Content Type: mostly none (multipart/mixed in 2 cases)
Body:-
Lay user: clear ("I wasn't able to deliver .." but then "your message ...=
")
Expert user: variable (a few reply codes, a few enhanced status codes, er=
ror
message, complete original message)
Machine: none
Worm detected: mostly not
Original message: mostly dangerous (complete with worm in body)

Sun Java System Messaging Server
Software identity: taken from "Received: by" with Version.Release.Level a=
nd
build date
From: informative (Service de distribution du courrier)
Subject: informative (Notification de l'=E9tat de remise)
Content Type: multipart/report message/delivery-status text/rfc822-header=
s
Body:-
Lay user: clear ("Ce rapport fait r=E9f=E9rence =E0 un message ...", "Le =
message ne
peut pas =EAtre remis..."
Advice: none
Expert user: excellent (message, reply code, enhanced status code, transp=
ort
quintuple, dns name, original message headers)
Machine: Reporting-MTA:, Original-recipient:, Final-recipient:, Action:,
Status:, Remote-MTA:, Diagnostic-code:
0r:- Reporting-MTA:, Original-recipient:, Final-recipient:, Action:, Stat=
us:
Worm detected: sometimes (by ClamAV)
Original message: headers

Symantec AntiVirus
Software identity: first line of body, no Version.Release.Level
From: unhelpful (often the "From:" of the original message)
Subject: unhelpful (the "Subject:" of the original message, "Mail System =
Error",
"Returned Mail")
Content Type: mostly multipart/mixed message/rfc822
Body:-
Lay user: unhelpful (talks about detecting a virus, omits any mention of =
e-mail)
Advice: none
Expert user: weak (truncated original message as message/rfc822)
Machine: none
Worm detected: yes (but calls it "Mydoom")
Original message: good (worm truncated else complete as message/rfc822)

v112 (or similar)
Software identity: from "Received: by" with Release number
From: informative (Mail Delivery System)
Subject: unhelpful ('Returned Mail' mostly)
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: unhelpful ("The original message ..." and "your e-mail is being
returned to you ..."
Advice: yes ("Please direct further questions ..."
Expert user: ok (error message, session transcript, original message head=
ers but
look as if they have been edited)
Machine: Reporting-MTA:, Arrival-Date:, Final-Recipient:, Action:, Status=
:,
Remote-MTA:, Diagnostic-Code:, Last-Attempt-Date:
Worm detected: sometimes (5/16)
Original message: headers

As may be apparent, if these were in a heap I would place Communigate Pro=
 SMTP
and Sun Java System Messaging Server on top.

---------------------------------------------------------------------
A further ten analyses in R2

blueyonder
Software identity: in body, no Version.Release.Level ('X-Mailer: Kaspersk=
y')
From: ok ('antivirus')
Subject: ok ('antivirus notification')
Content Type: multipart/mixed message/rfc822
Body:- (uses base64)
Lay user: ok ('found a virus' + From:/To:/Sent:)
Advice: yes ('DO NOT REPLY ' + URL)
Expert user: none (apart from message/rfc822)
Machine: none
Worm detected: yes
Original message: ok (message/rfc822 with virus removed)

ClamAV
Software: from body but with [8.12.8/8.12.8] in "Received: by"
From: informative ('Mail Delivery Subsystem')
Subject: unhelpful ('Returned Mail')
Content Type: multipart/report message/delivery-status message/rfc822 or
text/rfc822-headers
Body:-
Lay user: weak ('The original message was received ' 'Virus Worm detected=
')
Advice: none
Expert user: comprehensive (reply code, enhanced status code, session tra=
nscript
+ sometimes (2/4) original message headers)
Machine: Reporting-MTA:, Received-From-MTA:, Arrival-Date:, Final-Recipie=
nt:,
Action:, Status:, Remote-MTA:, Diagnostic-Code:
Last-Attempt-Date:
Worm detected: yes
Original message: sometimes dangerous (2/4 message/rfc822 complete with w=
orm)

InterMail
Software identity: from "Received: by" with Version.Release.Level
From: informative ('Mail Administrator')
Subject: unhelpful ('Mail System Error - Returned Mail')
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: sparse ('This message was undeliverable ' but no message detail=
s, no
mention of worm detected)
Advice: yes ('Please contact ...')
Expert user: weak (original message as message/rfc822)
Machine: Reporting-MTA:, Arrival-Date:, Received-From-MTA:, Final-Recipie=
nt:,
Action:, Status:
Worm detected: sometimes (2/4)
Original message: complete as message/rfc822, worm replaced if detected

Internet Mail Server
Software; from X-Mailer in bounce message; nothing in body, no "Received:=
 by"
lines in original message {strange}
From: ok ('System Administrator') would be better if mail is mentioned
Subject: informative ('Undeliverable' + original subject)
Content-Type: multipart/mixed message/rfc822
Body:
Lay user: ok (To:/Subject:/Sent: 'did not receive' but 'Your message' and=
 no
mention of worm detected)
Advice: none
Expert user: none (apart from message/rfc822)
Machine: none
Worm detected: yes
Original message: odd (worm replaced with text but no "Received:" lines -
suppressed?)

MailEnable
Software identity: in body, no Version.Release.level
From: informative ('Delivery Subsystem')
Subject: informative ('Message Delivery Failure')
Content Type: none
Body:-
Lay user: ok ('message could not be delivered'
Advice: none
Expert user: weak (reply code, original message headers)
Machine: none
Worm detected: none
Original message: headers only as part of plain/text

Merak
Software: from "Received: by" with Version.Release.Level
From: informative ('Mail Delivery Subsystem')
Subject: ok ('Warning: antivirus system report'')
Content Type: multipart/report; report-type=3Dvirus-report message/rfc822
Body:-
Lay user: confusing ('Peligro: Virus has sido detectado' clear enough but=
 then
runs straight into original message headers)
Advice: misleading ('Verifique su PC')
Expert user: weak; original message headers but not identified as such, v=
irus
identified, 'this e-mail was sent by ...'
Machine: none
Worm detected: yes
Original message: misleading (message/rfc822 but headers only)

MOS
Software identity: taken from "Received: by" with Version.Release.Level
From: informative ('Mail Delivery Subsystem')
Subject: unhelpful ('Returned Mail')
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: unhelpful ('The original message ...')
Advice: none
Expert user: none apart from original headers as message/rfc822
Machine:Reporting-MTA:, Arrival-Date:, X-Message-Diagnostic-Code:,
Final-Recipient:, Action:, Status:, Remote-MTA: X-Unix;, Diagnostic-Code:=
,
Last-Attempt-Date:
Worm detected: none
Original message: message/rfc822 but headers only

Panda GateDefender Performa
Software identity: first line of body no Version.Release.Level; only thre=
e
messages having little in common apart from software identity
From: unhelpful (e-mail addresses)
Subject: variable (1/3 'Probable Spam', 1/3 Delivery Status Notification'=
)
Content Type: multipart/mixed + (1/3) plain/text, (1/3) message/delivery-=
status
message/rfc822, (1/3) application/octet-stream
Body:-
Lay user: weak (2/3 'worm detected', no details of where)
Advice: none
Expert user: weak (1/3 session trace)
Machine:(1/3) Reporting-MTA:, Received-From-MTA:, Arrival-Date:,
Final-Recipient:, Action:, Status:, Diagnostic-Code:
Worm detected: yes
Original message: (1/3) worm curtailed, (1/3) message/rfc822 with worm re=
moved

SMTPD32
Software identity: taken from "Received: by" with Version.Release
From: informative ('Mail Delivery Subsystem')
Subject: informative ('Undeliverable Mail')
Content Type: plain/text
Body:-
Lay user: ok (reason for non-delivery)
Advice: none
Expert user: original message only
Machine: none
Worm detected: sometimese=
nt:,
Action:, Status:, Remote-MTA:, Diagnostic-Code:
Last-Attempt-Date:
Worm detected: yes
Original message: sometimes dangerous (2/4 message/rfc822 complete with w=
orm)

InterMail
Software identity: from "Received: by" with Version.Release.Level
From: informative ('Mail Administrator')
Subject: unhelpful ('Mail System Error - Returned Mail')
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: sparse ('This message was undeliverable ' but no message detail=
s, no
mention of worm detected)
Advice: yes ('Please contact ...')
Expert user: weak (original message as message/rfc822)
Machine: Reporting-MTA:, Arrival-Date:, Received-From-MTA:, Final-Recipie=
nt:,
Action:, Status:
Worm detected: sometimes (2/4)
Original message: complete as message/rfc822, worm replaced if detected

Internet Mail Server
Software; from X-Mailer in bounce message; nothing in body, no "Received:=
 by"
lines in original message {strange}
From: ok ('System Administrator') would be better if mail is mentioned
Subject: informative ('Undeliverable' + original subject)
Content-Type: multipart/mixed message/rfc822
Body:
Lay user: ok (To:/Subject:/Sent: 'did not receive' but 'Your message' and=
 no
mention of worm detected)
Advice: none
Expert user: none (apart from message/rfc822)
Machine: none
Worm detected: yes
Original message: odd (worm replaced with text but no "Received:" lines -
suppressed?)

MailEnable
Software identity: in body, no Version.Release.level
From: informative ('Delivery Subsystem')
Subject: informative ('Message Delivery Failure')
Content Type: none
Body:-
Lay user: ok ('message could not be delivered'
Advice: none
Expert user: weak (reply code, original message headers)
Machine: none
Worm detected: none
Original message: headers only as part of plain/text

Merak
Software: from "Received: by" with Version.Release.Level
From: informative ('Mail Delivery Subsystem')
Subject: ok ('Warning: antivirus system report'')
Content Type: multipart/report; report-type=3Dvirus-report message/rfc822
Body:-
Lay user: confusing ('Peligro: Virus has sido detectado' clear enough but=
 then
runs straight into original message headers)
Advice: misleading ('Verifique su PC')
Expert user: weak; original message headers but not identified as such, v=
irus
identified, 'this e-mail was sent by ...'
Machine: none
Worm detected: yes
Original message: misleading (message/rfc822 but headers only)

MOS
Software identity: taken from "Received: by" with Version.Release.Level
From: informative ('Mail Delivery Subsystem')
Subject: unhelpful ('Returned Mail')
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: unhelpful ('The original message ...')
Advice: none
Expert user: none apart from original headers as message/rfc822
Machine:Reporting-MTA:, Arrival-Date:, X-Message-Diagnostic-Code:,
Final-Recipient:, Action:, Status:, Remote-MTA: X-Unix;, Diagnostic-Code:=
,
Last-Attempt-Date:
Worm detected: none
Original message: message/rfc822 but headers only

Panda GateDefender Performa
Software identity: first line of body no Version.Release.Level; only thre=
e
messages having little in common apart from software identity
From: unhelpful (e-mail addresses)
Subject: variable (1/3 'Probable Spam', 1/3 Delivery Status Notification'=
)
Content Type: multipart/mixed + (1/3) plain/text, (1/3) message/delivery-=
status
message/rfc822, (1/3) application/octet-stream
Body:-
Lay user: weak (2/3 'worm detected', no details of where)
Advice: none
Expert user: weak (1/3 session trace)
Machine:(1/3) Reporting-MTA:, Received-From-MTA:, Arrival-Date:,
Final-Recipient:, Action:, Status:, Diagnostic-Code:
Worm detected: yes
Original message: (1/3) worm curtailed, (1/3) message/rfc822 with worm re=
moved

SMTPD32
Software identity: taken from "Received: by" with Version.Release
From: informative ('Mail Delivery Subsystem')
Subject: informative ('Undeliverable Mail')
Content Type: plain/text
Body:-
Lay user: ok (reason for non-delivery)
Advice: none
Expert user: original message only
Machine: none
Worm detected: sometimes (1/3)
Original message: in body, curtailed at 3kb total

SMTPSVC
Software identity: taken from "Received: by" with Version.Release.Level
From: ok ('postmaster@')
Subject: informative ('Delivery Status Notification (Failure)')
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: ok ('Delivery Failed')
Advice: none
Expert user: original message as message/rfc822 only
Machine: Reporting-MTA:, Received-From-MTA:,Arrival-Date:, Final-Recipien=
t:,
Action:, Status:
Worm detected: no
Original message: as message/rfc822 sometimes complete with worm


_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg

From asrg-bounces@ietf.org Fri Dec 15 09:24:40 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GvDwS-0003Ui-OE; Fri, 15 Dec 2006 09:21:40 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GvDwR-0003Sf-5Q
	for asrg@ietf.org; Fri, 15 Dec 2006 09:21:39 -0500
Received: from astro.systems.pipex.net ([62.241.163.6])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GvDwQ-0002Tp-Hx
	for asrg@ietf.org; Fri, 15 Dec 2006 09:21:39 -0500
Received: from pc6 (1Cust7.tnt106.lnd4.gbr.da.uu.net [213.116.60.7])
	by astro.systems.pipex.net (Postfix) with SMTP id 2FCA7E00045C;
	Fri, 15 Dec 2006 14:20:44 +0000 (GMT)
Message-ID: <034c01c7204b$cb792a20$0601a8c0@pc6>
From: "Tom Petch" <nwnetworks@dial.pipex.com>
To: <asrg@ietf.org>,
	"Frank Ellermann" <nobody@xyzzy.claranet.de>
References: <20060903170239.11718.qmail@simone.iecc.com><066c01c71aed$0add6000$0601a8c0@pc6>
	<4581BAAD.17D4@xyzzy.claranet.de>
Subject: Re: [Asrg] Re: bounceone
Date: Fri, 15 Dec 2006 14:05:47 +0100
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.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 0cff8c3ec906d056784362c06f5f88c1
Cc: 
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Tom Petch <nwnetworks@dial.pipex.com>
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

Frank

Many thanks for your comments; some thoughts of mine inline.

Tom Petch


----- Original Message -----
From: "Frank Ellermann" <nobody@xyzzy.claranet.de>
To: <asrg@ietf.org>
Sent: Thursday, December 14, 2006 9:57 PM
Subject: [Asrg] Re: bounceone


> Tom Petch wrote:
>
> > Less good is
> > postmaster@<domain-name>
> > since, while technically correct, it is unlikely to convey the
> > meaning clearly to a lay user, especially as the <domain-name>
> > may be unknown to the user.
>
> I think you want to say that there should be a display name like
> "Mail Administator" in addition to the postmaster@ address, is
> that correct ?

Yes, my terminology is sloppy; I mean that there should be a display name and
not just an e-mail address and especially not the destination e-mail address of
the original e-mail (as some do)

>
> > Other e-mail addresses are likely to mislead.
>
> +1  Whatever it is, they must be ready to get "manual" replies
> at this address, if there's no separate Reply-To.
>
> > perhaps, a SMTP trace eg
> > ----- Transcript of session follows -----
> > ... while talking to mail.example.com:
> > >>> DATA
> > <<< 554 5.7.1 virus Exploit.HTML.IFrame detected
> > 554 5.0.0 Service unavailable
>
> Somebody, maybe AOL, but I'm not sure, managed it to note the
> alleged MAIL FROM nowhere, that's bad.   I can determine it,
> it ends up in an X-Envelope-To, but that (1/3)
Original message: in body, curtailed at 3kb total

SMTPSVC
Software identity: taken from "Received: by" with Version.Release.Level
From: ok ('postmaster@')
Subject: informative ('Delivery Status Notification (Failure)')
Content Type: multipart/report message/delivery-status message/rfc822
Body:-
Lay user: ok ('Delivery Failed')
Advice: none
Expert user: original message as message/rfc822 only
Machine: Reporting-MTA:, Received-From-MTA:,Arrival-Date:, Final-Recipien=
t:,
Action:, Status:
Worm detected: no
Original message: as message/rfc822 sometimes complete with worm


_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg

From asrg-bounces@ietf.org Fri Dec 15 09:24:40 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GvDwS-0003Ui-OE; Fri, 15 Dec 2006 09:21:40 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GvDwR-0003Sf-5Q
	for asrg@ietf.org; Fri, 15 Dec 2006 09:21:39 -0500
Received: from astro.systems.pipex.net ([62.241.163.6])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GvDwQ-0002Tp-Hx
	for asrg@ietf.org; Fri, 15 Dec 2006 09:21:39 -0500
Received: from pc6 (1Cust7.tnt106.lnd4.gbr.da.uu.net [213.116.60.7])
	by astro.systems.pipex.net (Postfix) with SMTP id 2FCA7E00045C;
	Fri, 15 Dec 2006 14:20:44 +0000 (GMT)
Message-ID: <034c01c7204b$cb792a20$0601a8c0@pc6>
From: "Tom Petch" <nwnetworks@dial.pipex.com>
To: <asrg@ietf.org>,
	"Frank Ellermann" <nobody@xyzzy.claranet.de>
References: <20060903170239.11718.qmail@simone.iecc.com><066c01c71aed$0add6000$0601a8c0@pc6>
	<4581BAAD.17D4@xyzzy.claranet.de>
Subject: Re: [Asrg] Re: bounceone
Date: Fri, 15 Dec 2006 14:05:47 +0100
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.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 0cff8c3ec906d056784362c06f5f88c1
Cc: 
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Tom Petch <nwnetworks@dial.pipex.com>
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

Frank

Many thanks for your comments; some thoughts of mine inline.

Tom Petch


----- Original Message -----
From: "Frank Ellermann" <nobody@xyzzy.claranet.de>
To: <asrg@ietf.org>
Sent: Thursday, December 14, 2006 9:57 PM
Subject: [Asrg] Re: bounceone


> Tom Petch wrote:
>
> > Less good is
> > postmaster@<domain-name>
> > since, while technically correct, it is unlikely to convey the
> > meaning clearly to a lay user, especially as the <domain-name>
> > may be unknown to the user.
>
> I think you want to say that there should be a display name like
> "Mail Administator" in addition to the postmaster@ address, is
> that correct ?

Yes, my terminology is sloppy; I mean that there should be a display name and
not just an e-mail address and especially not the destination e-mail address of
the original e-mail (as some do)

>
> > Other e-mail addresses are likely to mislead.
>
> +1  Whatever it is, they must be ready to get "manual" replies
> at this address, if there's no separate Reply-To.
>
> > perhaps, a SMTP trace eg
> > ----- Transcript of session follows -----
> > ... while talking to mail.example.com:
> > >>> DATA
> > <<< 554 5.7.1 virus Exploit.HTML.IFrame detected
> > 554 5.0.0 Service unavailable
>
> Somebody, maybe AOL, but I'm not sure, managed it to note the
> alleged MAIL FROM nowhere, that's bad.   I can determine it,
> it ends up in an X-Envelope-To, but that's unreliable.  This
> point is of course moot if the bounce contains the complete
> header _with_ (forged) Return-Path somewhere, but normally
> it's only the complete header _without_ Return-Path.  Yes, I
> use one of those funny catchall vanity host mailboxes.
>

Yes, in my message 'bouncetwo', the ones I classify as v112 all have an AOL
address in them and a X-AOL-... in the original message headers.  They have
text/rfc822-headers but the headers look as if they have been edited removing
the lines that would appear before the first 'Received:'; others do this too (eg
Internet Mail Server).

> > At the very least, the extract from the original mesage must
> > contain "From:", "To:" and "Date:".
>
> NAK, complete header, no compromises, unless it's monstrous,
> a loop of Received lines until one party crashed or similar.
>
> > It should contain the entire message header
>
> SHOULD as near to a MUST as possible.
>
I am looking at this from the viewpoint of the lay user who gets a 'reply' to a
message that they never sent, so what I was trying to convey was that the
immediately visible part should make sense to the lay user - From, To, Date -
while what the professional needs - the complete header - can be in a different
part, as message/rfc822 or text/rfc822-headers.  Giving a lay user all the
'Received:' etc could increase the confusion.

> > particularly the earliest "Received:" to show where the
> > message entered the system.
>
> It allegedly entered the system there.  In reality it entered
> the system later, the bottom timestamp lines were preloaded by
> the spammer / worm author, more or less plausible.
>

This is the bit that intrigues me; I was expecting forged 'Received:' and I
don't see them; often there is but one 'Received:' which cannot then be forged
(?); in other cases, the additional 'Received:' tie in with the header of the
DSN and so look genuine to me.

> > To date, such bodies are in excess of 20kbyte so providing
> > up to 10kbyte runs no risk of propagating a virus
>
> After MyDoom (spring 2004) my ISPs blocked or deleted almost
> all worms.  Until then the limit went down to 12,000 bytes,
> that's for 1200 + 8100 * 4/3 (B64).  IIRC Sober was quite small.
>
Ah, I was ignorant of that; I know an IETF mail list that has a 10kb limit and
was trusting them to have done their homework.
>
> Another approach would be to truncate bodies at the first line
> starting with TV or UE (credits for that trick to JohnL).  Or
> any potential B64 crap that's not a potential MIME text part.
>
> > note that while message headers are currently one or two kbyte,
> > they are steadily increasing in size with the advent of
> > anti-spam procedures such as SPF and DKIM.
>
> SPF doesn't add message header fields, at least not on the side
> of the sender.  Spammers trying in vain to preload Received-SPF
> is an idea, but it's futile, receivers would either ignore it
> if they normally don't get it, or pick the top Received-SPF as
> inserted by their own side.  And Received-SPF is fairly small.
>
> For DKIM it's another issue, so you better state your limits
> for the copied part of the body, excl. the complete header, or
> you have two limits, with say 8100*4/3 for the body.  Or less.
>
> In Spamcop reports I use POP3 "TOP 10" (first ten lines of the
> body) plus complete header.  So far no abuse desk complained
> that they needed more... :-)
>
Yes, I was trying to keep it simple and using sloppy terminology; complete
header plus n lines of body is a better approach.  There are a number of headers
I do not recognise eg 'X-Habeas-SWE-' which I take to be anti-spam traps.  Also,
I am proposing this as a good idea for all DSN, including genuine ones to
genuine mail which could have SPF and DKIM in them.  (I agree that SPF is
usually small).

> > a "Content-Type:" of 'message/rfc822' will be treated as an
> > attachment
>
> If some broken UAs do this it's their problem.  Content-Type and
> Content-Disposition are in essence unrelated.  A MIME part is a
> MIME part, it's not necessarily an attachment.  Please don't use
> Microso's unreliable.  This
> point is of course moot if the bounce contains the complete
> header _with_ (forged) Return-Path somewhere, but normally
> it's only the complete header _without_ Return-Path.  Yes, I
> use one of those funny catchall vanity host mailboxes.
>

Yes, in my message 'bouncetwo', the ones I classify as v112 all have an AOL
address in them and a X-AOL-... in the original message headers.  They have
text/rfc822-headers but the headers look as if they have been edited removing
the lines that would appear before the first 'Received:'; others do this too (eg
Internet Mail Server).

> > At the very least, the extract from the original mesage must
> > contain "From:", "To:" and "Date:".
>
> NAK, complete header, no compromises, unless it's monstrous,
> a loop of Received lines until one party crashed or similar.
>
> > It should contain the entire message header
>
> SHOULD as near to a MUST as possible.
>
I am looking at this from the viewpoint of the lay user who gets a 'reply' to a
message that they never sent, so what I was trying to convey was that the
immediately visible part should make sense to the lay user - From, To, Date -
while what the professional needs - the complete header - can be in a different
part, as message/rfc822 or text/rfc822-headers.  Giving a lay user all the
'Received:' etc could increase the confusion.

> > particularly the earliest "Received:" to show where the
> > message entered the system.
>
> It allegedly entered the system there.  In reality it entered
> the system later, the bottom timestamp lines were preloaded by
> the spammer / worm author, more or less plausible.
>

This is the bit that intrigues me; I was expecting forged 'Received:' and I
don't see them; often there is but one 'Received:' which cannot then be forged
(?); in other cases, the additional 'Received:' tie in with the header of the
DSN and so look genuine to me.

> > To date, such bodies are in excess of 20kbyte so providing
> > up to 10kbyte runs no risk of propagating a virus
>
> After MyDoom (spring 2004) my ISPs blocked or deleted almost
> all worms.  Until then the limit went down to 12,000 bytes,
> that's for 1200 + 8100 * 4/3 (B64).  IIRC Sober was quite small.
>
Ah, I was ignorant of that; I know an IETF mail list that has a 10kb limit and
was trusting them to have done their homework.
>
> Another approach would be to truncate bodies at the first line
> starting with TV or UE (credits for that trick to JohnL).  Or
> any potential B64 crap that's not a potential MIME text part.
>
> > note that while message headers are currently one or two kbyte,
> > they are steadily increasing in size with the advent of
> > anti-spam procedures such as SPF and DKIM.
>
> SPF doesn't add message header fields, at least not on the side
> of the sender.  Spammers trying in vain to preload Received-SPF
> is an idea, but it's futile, receivers would either ignore it
> if they normally don't get it, or pick the top Received-SPF as
> inserted by their own side.  And Received-SPF is fairly small.
>
> For DKIM it's another issue, so you better state your limits
> for the copied part of the body, excl. the complete header, or
> you have two limits, with say 8100*4/3 for the body.  Or less.
>
> In Spamcop reports I use POP3 "TOP 10" (first ten lines of the
> body) plus complete header.  So far no abuse desk complained
> that they needed more... :-)
>
Yes, I was trying to keep it simple and using sloppy terminology; complete
header plus n lines of body is a better approach.  There are a number of headers
I do not recognise eg 'X-Habeas-SWE-' which I take to be anti-spam traps.  Also,
I am proposing this as a good idea for all DSN, including genuine ones to
genuine mail which could have SPF and DKIM in them.  (I agree that SPF is
usually small).

> > a "Content-Type:" of 'message/rfc822' will be treated as an
> > attachment
>
> If some broken UAs do this it's their problem.  Content-Type and
> Content-Disposition are in essence unrelated.  A MIME part is a
> MIME part, it's not necessarily an attachment.  Please don't use
> Microsoft (or rather OE) terminology, they don't understand MIME,
> it's a hopeless case.
>
Weeelll, there is one software provider whose UA products are in use by
ninety-something point something of the world's workstations, and they are the
ones at which the 'lay users' mostly sit; hence my descent into the language of
the 'hopeless cases'.  I do not see Content-Disposition used in the DSN at all
except where it is part of the original message (the worm is an attachment) so
what I am describing is what I am seeing, text/rfc822-headers displayed in the
body and message/rfc822 not.  Is there a default behaviour for
Content-Disposition described somewhere? (I don't see it in eg RFC3462).

> > 'message/rfc822' suitable for the (truncated) original message
> > with the headers of the original message included as a
> > "Content-Type:" of 'text/rfc822-headers'.
>
> Sending the complete header twice is a bad idea.  The truncated
> message/rfc822 is fine, it contains the complete header.  You'd
> use text/rfc822 only in conjunction with something that is _not_
> message/rfc822.
>
> > Finally the body should identify the software that is generating
> > the bounce message.
>
> That should go into the reporting header, as User-Agent or similar,
> not as part of the Subject.  Admittedly I add the id. of the tool
> truncating bodies (the "TOP 10" mentioned above) below that body,
> but that's a kludge.  For some time it was a complete URL, until I
> reported my own site as "spamvertized", then I changed it for naive
> users incl. me... :-)
>
> Frank
>
>
>
> _______________________________________________
> Asrg mailing list
> Asrg@ietf.org
> https://www1.ietf.org/mailman/listinfo/asrg


_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg





ft (or rather OE) terminology, they don't understand MIME,
> it's a hopeless case.
>
Weeelll, there is one software provider whose UA products are in use by
ninety-something point something of the world's workstations, and they are the
ones at which the 'lay users' mostly sit; hence my descent into the language of
the 'hopeless cases'.  I do not see Content-Disposition used in the DSN at all
except where it is part of the original message (the worm is an attachment) so
what I am describing is what I am seeing, text/rfc822-headers displayed in the
body and message/rfc822 not.  Is there a default behaviour for
Content-Disposition described somewhere? (I don't see it in eg RFC3462).

> > 'message/rfc822' suitable for the (truncated) original message
> > with the headers of the original message included as a
> > "Content-Type:" of 'text/rfc822-headers'.
>
> Sending the complete header twice is a bad idea.  The truncated
> message/rfc822 is fine, it contains the complete header.  You'd
> use text/rfc822 only in conjunction with something that is _not_
> message/rfc822.
>
> > Finally the body should identify the software that is generating
> > the bounce message.
>
> That should go into the reporting header, as User-Agent or similar,
> not as part of the Subject.  Admittedly I add the id. of the tool
> truncating bodies (the "TOP 10" mentioned above) below that body,
> but that's a kludge.  For some time it was a complete URL, until I
> reported my own site as "spamvertized", then I changed it for naive
> users incl. me... :-)
>
> Frank
>
>
>
> _______________________________________________
> Asrg mailing list
> Asrg@ietf.org
> https://www1.ietf.org/mailman/listinfo/asrg


_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg





From asrg-bounces@ietf.org Fri Dec 15 10:43:03 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GvFB9-0001h5-Mw; Fri, 15 Dec 2006 10:40:55 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GvFB8-0001gq-5l
	for asrg@ietf.org; Fri, 15 Dec 2006 10:40:54 -0500
Received: from astro.systems.pipex.net ([62.241.163.6])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GvFB6-0004dj-Pm
	for asrg@ietf.org; Fri, 15 Dec 2006 10:40:54 -0500
Received: from pc6 (1Cust133.tnt29.lnd3.gbr.da.UU.NET [62.188.120.133])
	by astro.systems.pipex.net (Postfix) with SMTP id 64EE9E0003BA;
	Fri, 15 Dec 2006 15:40:51 +0000 (GMT)
Message-ID: <064801c72056$fc204cc0$0601a8c0@pc6>
From: "Tom Petch" <nwnetworks@dial.pipex.com>
To: "Daniel Feenberg" <feenberg@nber.org>
References: <20060903170239.11718.qmail@simone.iecc.com><066c01c71aed$0add6000$0601a8c0@pc6><4581BAAD.17D4@xyzzy.claranet.de>
	<Pine.GSO.4.64.0612141742290.26847@nber1.nber.org>
Subject: Re: [Asrg] Re: bounceone
Date: Fri, 15 Dec 2006 15:32:51 +0100
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.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f4c2cf0bccc868e4cc88dace71fb3f44
Cc: asrg@ietf.org
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Tom Petch <nwnetworks@dial.pipex.com>
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

---- Original Message -----
From: "Daniel Feenberg" <feenberg@nber.org>
To: "Frank Ellermann" <nobody@xyzzy.claranet.de>
Cc: <asrg@ietf.org>
Sent: Thursday, December 14, 2006 11:50 PM
Subject: Re: [Asrg] Re: bounceone


>
> On Thu, 14 Dec 2006, Frank Ellermann wrote:
>
> > Tom Petch wrote:
> >
> >> Less good is
> >> postmaster@<domain-name>
> >> since, while technically correct, it is unlikely to convey the
> >> meaning clearly to a lay user, especially as the <domain-name>
> >> may be unknown to the user.
> >
> ...
>
> I have always found the overuse of the pronoun "localhost" in DSN messages
> a stumbling block to quick understanding. Substituting the actual host
> name wouldn't cost anything, would it? I understand there is no actual
> ambiguity, just a delay while the user figures it out (or gives up
> trying).
>
I assume you are referring to something like

"The original message was received at Fri, 15 Dec 2006 15:53:51 +0900
from localhost [127.0.0.1]

   ----- The following addresses had permanent fatal errors -----
<inform@adscorp.jp>
    (reason: 553 5.3.0 <inform@adscorp.jp>... No such user here)"

which ties in with a similar use of 'localhost' in the "Received:" of the DSN's
headers.  I imagine that this is the way they have configured their MTAs and
yes, I find it unhelpful.

> If the DSN included the message-id, it would be possible to automate the
> dropping of DSN messages arising from forged return addresses on messages
> to misconfigured MTAs. Most of the DSNs I get have the subject line, but
> few have the message-id. If no reasonably reliable way to determine the
> legitimacy of a DSN is established, then more MTAs will start discarding
> all of them, which would be significant reduction in service and not at
> all desirable.
>
I do see the message-id in the text/rfc822-headers, which a typical UA will
display in all its glory, and also in message/rfc822, which it will not.  I
haven't yet counted how many of my 400 bounces do use either format but most of
that data is in bouncetwo.

Tom Petch

> Daniel Feenberg
>


_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg



From asrg-bounces@ietf.org Fri Dec 15 15:55:19 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1GvK2h-00085u-Nh; Fri, 15 Dec 2006 15:52:31 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1GvK2f-00082R-NF
	for asrg@ietf.org; Fri, 15 Dec 2006 15:52:29 -0500
Received: from xuxa.iecc.com ([208.31.42.42])
	by ietf-mx.ietf.org with smtp (Exim 4.43) id 1GvK22-00073a-PQ
	for asrg@ietf.org; Fri, 15 Dec 2006 15:51:56 -0500
Received: (qmail 5160 invoked from network); 15 Dec 2006 20:51:50 -0000
Received: from simone.iecc.com (208.31.42.47)
	by mail2.iecc.com with QMQP; 15 Dec 2006 20:51:50 -0000
Received: from localhost (sendmail-bs@127.0.0.1)
	by localhost with SMTP; 15 Dec 2006 20:51:50 -0000
Date: Fri, 15 Dec 2006 15:51:50 -0500 (EST)
From: John L <johnl@iecc.com>
To: Anti Spam Research Group <asrg@ietf.org>
Message-ID: <20061215155039.C81142@simone.iecc.com>
Cleverness: None detected
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Spam-Score: -4.3 (----)
X-Scan-Signature: 3d7f2f6612d734db849efa86ea692407
Subject: [Asrg] Preliminary CFP - Conference on Email and Anti-Spam (CEAS)
 2007 (fwd)
X-BeenThere: asrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Anti-Spam Research Group - IRTF <asrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/asrg>
List-Post: <mailto:asrg@ietf.org>
List-Help: <mailto:asrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/asrg>,
	<mailto:asrg-request@ietf.org?subject=subscribe>
Errors-To: asrg-bounces@ietf.org

The CEAS conferences have consistently been good.  If you have something 
technical and interesting to say about spam or about other email topics, 
please send in a paper.

Regards,
John Levine, johnl@iecc.com, Primary Perpetrator of "The Internet for Dummies",
Information Superhighwayman wanna-be, http://johnlevine.com, Mayor
"I dropped the toothpaste", said Tom, crestfallenly.

---------- Forwarded message ----------

         THE FOURTH CONFERENCE ON EMAIL AND ANTI-SPAM (CEAS 2007)


               Thursday August 2nd and Friday August 3rd, 2007
                        Mountain View, California
                         <http://www.ceas.cc>



                      Preliminary CALL FOR PAPERS
                ** Submission Deadline: Mar 23, 2007 **


     The Conference on Email and Anti-Spam (CEAS) invites the submission of
     papers for its fourth meeting. Papers are invited on all aspects of
     electronic communication including email, instant messaging, text
     messaging, and voice over internet protocol (VoIP). Topics of interest
     include novel applications of electronic messaging, abatement of
     abuses of electronic messaging, spam, spit (spam over internet
     telephony), spim (spam over instant messenger), phishing, identity
     theft via messaging, viruses, and spyware.

     Paper submissions can be either research papers, industry reports,
     or law and policy papers. Submissions from practitioners and vendors
     are encouraged. Papers will be selected by peer review for
     presentation at CEAS 2007. Papers will be reviewed based on their
     contribution to the literature.


     SUGGESTED TOPICS:

     *  Message filtering, blocking, authentication
        -  Machine learning
        -  Natural language processing
        -  Challenge-response
        -  Payment schemes
        -  Disposable addresses
        -  Messaging protocols
        -  Digital signatures

     *  Evaluation
        - corpus and benchmark creation
        - measures and methodologies
        - tests of specific methods or products

     *  Analysis
        - Economics of spam, spit, spim, phishing, etc.
        - abuse tactics and patterns
        - legitimate use patterns
        - historical data

     *  Message organization and search
        - Advanced calendaring and scheduling
        - automatic foldering
        - categorization
        - summarization
        - search

     *  Systems and network issues
        - performance & scalability
        - reliability & security
        - archival & retrieval

     *  User issues
        - user interfaces
        - usability studies
        - messaging in support of user activities

     *  Social issues
        - deducing social phenomena
        - costs and benefits of messaging use and abuse
        - other social impacts

     *  Industry
        - Cooperation for stopping abuse
        - Messaging and abuse reporting standards
        - Interoperability

     *  Legal issues
        - spam, spit, spim and phishing, etc.
        - identity theft
        - privacy
        - freedom of speech
        - digital rights management



     KEY DATES:

     *  Paper submission deadline: Mar 23, 2007
     *  Notification of acceptance: May 11, 2007
     *  Final camera-ready version of papers: June 11, 2007
     *  Conference: August 2nd and 3rd, 2007


     REQUIREMENTS:

     Papers may be of one of two types: short papers (two pages plus
     bibliography) or full papers (eight pages plus bibliography).
     Work may not have been previously published in, or under consideration
     for publication in any other conference or journal. Work that has been
     summarily reported on-line, or in technical reports or workshops, may
     be the basis of a CEAS submission provided that presentation and
     publication by CEAS would be unencumbered by prior copyright
     assignment.

     Submissions must use the CEAS electronic system (to be announced).
     The style for submissions and final papers is a two-column, 8.5 by 11
     inch format. See http://www.ceas.cc/2007/format.htm for details

     Papers will be reviewed by a committee of experts from academic and
     industrial research centers. Accepted papers will be made freely
     available on the web, and will be published on CD-ROM.
     Authors will retain copyright of their work.


     CONTACT:

     * The conference chair and co-chairs can be reached at
       information@ceas.cc


     GENERAL CONFERENCE CHAIR:

     * Calton Pu
       Georgia Institute of Technology
       http://www-static.cc.gatech.edu/~calton/


     PROGRAM CO-CHAIRS:

     * Kang Li
       University of Georgia
       http://www.cs.uga.edu/~kangli/

     * Richard Segal
       IBM Research
       http://www.research.ibm.com/people/r/rsegal


     INDUSTRY CO-CHAIR:

     * Paul Judge
       Secure Computing
       http://www.securecomputing.com/corp_executives.cfm?Person=67


_______________________________________________
Asrg mailing list
Asrg@ietf.org
https://www1.ietf.org/mailman/listinfo/asrg



