delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/28/15:28:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: Sat, 28 Jun 2003 15:27:37 -0400
From: Robert R Schneck <schneck AT math DOT berkeley DOT edu>
To: cygwin AT cygwin DOT com
Subject: ssmtp -t issues
Message-ID: <Pine.CYG.4.55.0306281518310.636@heavy>
MIME-Version: 1.0
Note-from-DJ: This may be spam

Hello, I'm using ssmtp 2.38.  I use Pine as my mail agent and ssmtp to
actually send the mail out.  Thus I use ssmtp -t (which searches through
the message headers to find all the recipients).

Two bugs:
 * The big one: ssmtp -t accidentally overwrites the headers so that the
To: line only has the first address on the line.  Basically it overwrites
each comma with a null as it searches for addresses on the line.  There's
a one-line fix, of course, just write the comma back in afterward.

 * ssmtp -t doesn't understand the syntax "group-name: addresses;".
In particular it doesn't like when Pine creates a To: line with
"undisclosed-recipients: ;" when all addresses are in the Bcc:.

Also, I note that the README says
"Known problems:
  Pine uses a lot of sophiticated options to talk to sendmail, and uses
batched SMTP input which is not supported. The solution is to use your
mailhub as smtpserver in pine.conf."

But in fact, setting the "sendmail-path" in Pine's config file to
"/usr/sbin/ssmtp -t" works fine.  (More usefully, it can be set to a
script which queues mail for ssmtp -t to look at later.)

Best,
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019