bugZoneCheck - Bugs: bug #22925, SMTP requests not fully compliant...

 
 

bug #22925: SMTP requests not fully compliant with the standard

Submitted by:  Stephane Bortzmeyer <bortzmeyer>
Submitted on:  Wed 16 Apr 2008 09:58:03 AM UTC  
 
Category: testsSeverity: Low
Priority: 5 - NormalItem Group: Crash/Error
Status: FixedPrivacy: Public
Assigned to: Eric Redon <redon>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 04 Feb 2010 01:24:33 PM UTC, comment #1:

Fixed in CVS

Fabien CHABANNE <chabannf>
Project Member
Wed 16 Apr 2008 09:58:03 AM UTC, original submission:

[Reported by B. Johannessen and checked by KM Kaplan and
S. Bortzmeyer]

The current version of ZoneCheck syntax errors in it's SMTP check. A
strict reading of RFC 2821 will show you that you're not allowed to
insert a space between the ":" and the "<" in MAIL and RCPT commands
(see formal syntax as well as examples in RFC 2821, sections 4.1.1.2
and 4.1.1.3).

diff -ruN zonecheck-orig/zc/mail.rb zonecheck/zc/mail.rb
--- zonecheck-orig/zc/mail.rb 2004-02-19 15:20:42.000000000 +0100
+++ zonecheck/zc/mail.rb 2008-03-24 17:17:11.000000000 +0100
@@ -138,8 +138,8 @@
def banner ; cmd(nil)
; end
def helo(host) ; cmd("HELO #{host.gsub(/\.$/, "")}")
; end
def vrfy(user) ; cmd("VRFY #{user.gsub(/\.$/, "")}")
; end
- def mail_from(from) ; cmd("MAIL FROM: <#{from.gsub(/\.$/, "")}>")
; end
- def rcpt_to(to) ; cmd("RCPT TO: <#{to.gsub(/\.$/, "")}>")
; end
+ def mail_from(from) ; cmd("MAIL FROM:<#{from.gsub(/\.$/, "")}>")
; end
+ def rcpt_to(to) ; cmd("RCPT TO:<#{to.gsub(/\.$/, "")}>")
; end
def rset ; cmd("RSET")
; end
def quit ; cmd("QUIT")
; end

Stephane Bortzmeyer <bortzmeyer>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by chabannf (Posted a comment)
  • -unavailable- added by bortzmeyer (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 12 Feb 2010 11:45:35 AM UTCchabannfOpen/ClosedOpen=>Closed
    Thu 04 Feb 2010 01:24:33 PM UTCchabannfStatusConfirmed=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1