Re: Envelope tests on null or illegal MAIL FROM (non)addresses
Kjetil Torgrim Homme <kjetilho@ifi.uio.no> Wed, 14 June 2006 21:37 UTC
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id k5ELbBYi040995; Wed, 14 Jun 2006 14:37:11 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id k5ELbBJf040993; Wed, 14 Jun 2006 14:37:11 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.10.4]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id k5ELb9C8040962 for <ietf-mta-filters@imc.org>; Wed, 14 Jun 2006 14:37:10 -0700 (MST) (envelope-from kjetilho@ifi.uio.no)
Received: from mail-mx4.uio.no ([129.240.10.45]) by pat.uio.no with esmtp (Exim 4.43) id 1Fqd2v-0003uf-RH; Wed, 14 Jun 2006 23:37:05 +0200
Received: from mattugur.ifi.uio.no ([129.240.68.168]) by mail-mx4.uio.no with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.43) id 1Fqd2t-0005Cm-K9; Wed, 14 Jun 2006 23:37:03 +0200
Subject: Re: Envelope tests on null or illegal MAIL FROM (non)addresses
From: Kjetil Torgrim Homme <kjetilho@ifi.uio.no>
To: Ned Freed <ned.freed@mrochek.com>
Cc: ietf-mta-filters@imc.org
In-Reply-To: <01M3LWTYKQV000007A@mauve.mrochek.com>
References: <01M3LWTYKQV000007A@mauve.mrochek.com>
Content-Type: text/plain
Date: Wed, 14 Jun 2006 23:37:00 +0200
Message-Id: <1150321020.16538.12.camel@mattugur.ifi.uio.no>
Mime-Version: 1.0
X-Mailer: Evolution 2.6.0
Content-Transfer-Encoding: 7bit
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.142, required 12, autolearn=disabled, AWL -0.14, UIO_MAIL_IS_INTERNAL -5.00)
Sender: owner-ietf-mta-filters@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-mta-filters/mail-archive/>
List-ID: <ietf-mta-filters.imc.org>
List-Unsubscribe: <mailto:ietf-mta-filters-request@imc.org?body=unsubscribe>
On Wed, 2006-06-14 at 08:03 -0700, Ned Freed wrote: > FWIW, I'd be in favor of having a null MAIL FORM result in an empty string > being tested regardless of which ADDRESS-PART is specified. agreed. > As for invalid > MAIL FROM values, I'm inclined to say that :all should test against the > literal string inside the <>s and :domain and :localpart should test > against the empty string. This way you can test for specific bogons and > handle them accordingly. as a user, I would expect it to do the simple thing, and split on the (rightmost) @. but by requiring syntax correctness, we protect users from themselves, ie. if they write a match expression which didn't consider the possibility of some particular external garbage. wouldn't it be better to say that :localpart and :domain never match when the address is a bogon, though? I don't see what we gain by making it "alias" into an empty sender, even if the recommended and natural way of checking for the empty sender is with :all. -- Kjetil T.
- Envelope tests on null or illegal MAIL FROM (non)… Ned Freed
- Re: Envelope tests on null or illegal MAIL FROM (… Kjetil Torgrim Homme
- Re: Envelope tests on null or illegal MAIL FROM (… Ned Freed
- Re: Envelope tests on null or illegal MAIL FROM (… Mark E. Mallett