You're not going to believe this!

Paul Tomblin ptomblin at xcski.com
Tue Oct 12 15:25:23 UTC 1999


Remember the bug I reported a couple of days ago with innmail putting
whitespace before the "To:" and "Subject:" headers?  Well, a little testing
with raw sendmail proved that the problem is that innmail puts a TAB after the
colon, instead of a space.  Changing it to a space fixed the problem.  I
believe that RFC822 allows any whitespace, and it's only the news RFCs that
are more restrictive (only allowing a single space), in which case this
appears to be a Sun bug.  However, the simple work-around is to change:

print MTA "To:\t", join (",\n\t", at addrs), "\n" ;
print MTA "Subject: $opt_s\n" ;
print MTA "\n" ;

To:

print MTA "To: ", join (",\n\t", at addrs), "\n" ;
print MTA "Subject: $opt_s\n" ;
print MTA "\n" ;

In innmail.

-- 
Paul Tomblin, not speaking for anybody.
SETI at Home:  Finally a *good* way to impress Jodie Foster
http://www.setiathome.ssl.berkeley.edu/


More information about the inn-bugs mailing list