bugGNU Mailutils - Bugs: bug #18359, mailutils "mail...

 
 

bug #18359: mailutils "mail from:"/"rcpt to:" strict rfc2821 compliance (interoperability with sendmail X)

Submitted by:  None
Submitted on:  Thu 23 Nov 2006 11:21:15 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: Sergey Poznyakoff <gray>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 14 Mar 2008 07:49:58 AM UTC, comment #1:

Patch work fine. Thank's

-----------------------
online

Anonymous
Thu 23 Nov 2006 11:21:15 AM UTC, original submission:

Hi,

The SMTP mailer in mailutils (function smtp_send_message in mailbox/smtp.c) seems to be using a slightly loose interpretation of the SMTP protocol. Specifically, the "MAIL FROM:" and "RCPT TO:" lines are sent by
smtp.c:601: "MAIL FROM: <%s>\r\n"
smtp.c:644: "RCPT TO: <%s>\r\n"
that is, with a space intervening between the colon and the address. However, a strict reading of RFC2821, sections 4.1.1.2 and 4.1.1.3, does not seem to allow that space.

I was hit by this when upgrading my MTA to sendmail X. It appears that sendmail X enforces strict RFC2821 compliance at that point and rejects the strings sent by mailutils (I guess other mailers accept them and so this has never been an issue until now).

The (very simple) attached patch solves the problem (it did for me) by removing the space between the colon and the address. It applies cleanly against 1.1 and also against current CVS. Will it be accepted for inclusion? (I must say that I have not checked if the patch breaks interoperability with other mailers.)

Javier

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #11333:  smtp.diff added by None (594B - application/octet-stream - remove space before address in "mail from:"/"rcpt to:" strings)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gray (Updated 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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 01 Sep 2009 09:17:16 AM UTCgrayOpen/ClosedOpen=>Closed
      Assigned toNone=>gray
    Thu 23 Nov 2006 11:21:15 AM UTCNoneAttached File-=>Added smtp.diff, #11333

    Back to the top


    Powered by Savane 3.1-cleanup1