Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 27 Nov 2003 17:13:51 +0000 From: Robert R Schneck To: cygwin AT cygwin DOT com Subject: ssmtp -t alters To: header of outgoing mail MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: Running ssmtp -t with input like --- Date: Thu, 27 Nov 2003 16:57:42 +0000 From: schneck AT math DOT berkeley DOT edu To: schneck AT math DOT berkeley DOT edu, cygwin AT cygwin DOT com Subject: test test --- will result in the following being sent to *both* recipients: --- Date: Thu, 27 Nov 2003 16:57:42 +0000 From: schneck AT math DOT berkeley DOT edu To: schneck AT math DOT berkeley DOT edu Subject: test test --- That is, it ends the To: line at the first comma. It's easy to see why from the source, is finds the comma, puts in a null to easily read the address, but then never puts the comma back in. Additionally, running ssmtp -t with input like --- Date: Thu, 27 Nov 2003 16:57:42 +0000 From: schneck AT math DOT berkeley DOT edu To: schneck AT math DOT berkeley DOT edu, cygwin AT cygwin DOT com Subject: test test --- results in a message being sent to "schneck AT math DOT berkeley DOT edu", "@math.berkeley.edu", "cygwin AT cygwin DOT com". That is, when there is a comma at the end of a line, it still interprets the empty space at the end of the line as an address. Most smtp servers seem to ignore the invalid address, but I have had at least one refuse to deliver because of it. Thank you, Robert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/