Hi, Here's some suggestions for sendmail applet. While I understand it's "bare bones" implementation, it should at least handle the most common cases for recipient addresses, or if not possible, then fail in a safe manner. This set tries to implement/fix the following (when -t is used):
* If the address looks wrong, don't try to correct it, instead drop it and warn. * Support "Real Name <[email protected]>" type of addresses. * Support multiple comma-separated addresses. * Support long header fields when adding recipient addresses. * Don't add multiple To: fields. I'll only accept review comments sent with busybox sendmail. :-) Aaro Koskinen (7): sendmail: avoid sending mail to wrong addresses sendmail: don't mangle e-mail headers sendmail: support addresses inside angle brackets sendmail: support address lists sendmail: support long header fields for recipients sendmail: don't add To: header if it already exists sendmail: don't add multiple To: headers mailutils/sendmail.c | 112 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 104 insertions(+), 8 deletions(-) -- 1.7.10.4 _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
