
ralsina at kde
Mar 16, 2007, 8:10 AM
Post #5 of 10
(3278 views)
Permalink
|
|
Re: domain literals [was: The require-valid-helo test]
[In reply to]
|
|
On Fri 16 Mar 2007 11:54:47 Scott Kitterman wrote: > On Fri, 16 Mar 2007 10:23:19 -0300 Roberto Alsina <ralsina [at] kde> wrote: > >On Fri 16 Mar 2007 06:33:06 Frank Ellermann wrote: > >> Roberto Alsina wrote: > >> > what's one supposed to do on the mail server if a client uses > >> > that kind of HELO? Not important, but I am a curious guy :-) > >> > >> As far as SPF is concerned a:%{h} after HELO [127.2.3.4] doesn't > >> match because domain literals don't have A-records - same idea > >> as for HELO oemcomputer > > > >I was thinking abut the RFC's strong suggestion to check the HELO > > identity. If the HELO identity is a literal IP (which is legal), that > > can't be done. > > IIRC, RFC 4408 says "if HELO is a FQDN". A literal IP is not a FQDN and so > HELO check is a no-op. Well, it's understood it should do that, but it's not explicit, unless I am reading wrong (or at the wrong place): 2.1. The HELO Identity The "HELO" identity derives from either the SMTP HELO or EHLO command (see [RFC2821]). These commands supply the SMTP client (sending host) for the SMTP session. Note that requirements for the domain presented in the EHLO or HELO command are not always clear to the sending party, and SPF clients must be prepared for the "HELO" identity to be malformed or an IP address literal. At the time of this writing, many legitimate E-Mails are delivered with invalid HELO domains. It is RECOMMENDED that SPF clients not only check the "MAIL FROM" identity, but also separately check the "HELO" identity by applying the check_host() function (Section 4) to the "HELO" identity as the <sender>. -- ("\''/").__..-''"`-. . Roberto Alsina `9_ 9 ) `-. ( ).`-._.`) ralsina [at] kde (_Y_.)' ._ ) `._`. " -.-' KDE Developer (MFCH) _..`-'_..-_/ /-'_.' (l)-'' ((i).' ((!.' Buenos Aires - Argentina Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. --Brian W. Kernighan ------- To unsubscribe, change your address, or temporarily deactivate your subscription, please go to http://v2.listbox.com/member/?list_id=1007
|