Bug 6200 - Sendmail butchers RCPT TO field
Summary: Sendmail butchers RCPT TO field
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: 1.18.x
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-22 22:06 UTC by D Hawkins
Modified: 2013-04-22 22:07 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description D Hawkins 2013-04-22 22:06:57 UTC
BusyBox v1.18.5 on Toastman Tomato Linux running on an Asus RT-N16 router

Summary: When using sendmail with a user friendly name in the TO field, sendmail butchers it to where the mail is undeliverable.

Using the busybox command:
sendmail -t -f no-reply@myserver.com -S MyServer -auMyUser -apMyPass < mail.txt

And mail.txt is:

To: "John Smith the Third" <john@yahoo.com>
From: Joe@MyServer.com
Date: Sat, 20 Apr 2013 11:01:42 -0400
Subject: test mail

Test Message.


For some reason, sendmail strips the quote characters and brackets from the TO field, and incorrectly generates the following line:

RCPT TO:<johnsmiththethirdjohn@yahoo.com>

It should not do that.