Bug 91530 - Sendmail does not check for non-printable characters properly
Summary: Sendmail does not check for non-printable characters properly
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: sendmail
Version: 8.0
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Florian La Roche
QA Contact: David Lawrence
URL: http://p1.selectacast.net/~jks/char.txt
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-23 20:05 UTC by Joseph Shraibman
Modified: 2007-04-18 16:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-08-13 22:56:22 UTC
Embargoed:


Attachments (Terms of Use)
patch against sendmail 8.12.9 (412 bytes, patch)
2003-05-23 20:06 UTC, Joseph Shraibman
no flags Details | Diff

Description Joseph Shraibman 2003-05-23 20:05:12 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030401

Description of problem:
When sendmail checks for non-printable characters it does not handle 8 bit
characters properly.

Version-Release number of selected component (if applicable):
sendmail-8.12.8-5.80

How reproducible:
Always

Steps to Reproduce:
1. Try to send mail to an address like solg�r through your local
sendmail 

    

Actual Results:  May 23 00:33:47 p5 sendmail[6661]: h4N4XVDj006661: Syntax error
in mailbox address "solg?rd" (non-printable character)

Expected Results:  Should have sent the mail

Additional info:

This bug appears in sendmail-8.12.8-5.80 but not in sendmail-8.11.6-1.62.3 

I have reported this to sendmail

Since this keeps mail from being delivered I'm setting the severity to high

Comment 1 Joseph Shraibman 2003-05-23 20:06:51 UTC
Created attachment 91932 [details]
patch against sendmail 8.12.9

Comment 2 Joseph Shraibman 2003-05-23 20:23:28 UTC
It appears the email address I entered into bugzilla didn't come through.  To
see it: http://p1.selectacast.net/~jks/char.txt

Comment 3 Florian La Roche 2003-08-13 21:51:19 UTC
You request 8-bit cleanliness, while sendmail checks for "non-printable" chars.
I agree that this is a pretty strict check, but would assume sendmail does the
right thing here. Have you tried submitting this to the sendmail maintainers?

greetings,

Florian La Roche


Comment 4 Joseph Shraibman 2003-08-13 22:10:35 UTC
What's really going on is that sendmail isn't doing its checks properly, and is
printing out the wrong error message.

According to the rfcs, 7 bit chars are not allowed, but sendmail doesn't check
properly, so by chance that char also triggers the non printable char check. The
sendmail maintainers didn't think this was worth fixing, but once you realize
what the real problem is fixing this is trivial.

I'm changing severity to low.

Comment 5 Florian La Roche 2003-08-13 22:56:22 UTC
Ok, have looked now also further down in the same function. So this is only
a misleading error reporting. I am puzzeled that not all chars with the high
bit set are rejected.

I am closing this here, waiting for an upstream bugfix release for this, not
something I want to put into the RHL rpm packages.

greetings,

Florian La Roche



Note You need to log in before you can comment on or make changes to this bug.