delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/29/05:25:01

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: Tue, 29 Oct 2002 11:24:43 +0100 (CET)
From: Marcos Lorenzo <marcos AT it DOT uc3m DOT es>
To: cygwin AT cygwin DOT com
Subject: how to set "To:" and "Subject:" with ssmtp
Message-ID: <Pine.LNX.3.96.1021029111844.4963A-100000@varpa.it.uc3m.es>
MIME-Version: 1.0
Note-from-DJ: This may be spam

I'm unable to fill some fields in mail header with ssmtp:

When I run:

marcos AT MOZART ~$ echo "testing mail" | ssmtp -f administrador AT mozart -F Administrador staff AT it DOT uc3m DOT es


I get the following:

----------------------------------------------------------------------------
Received: from arpa.it.uc3m.es (root AT arpa DOT it DOT uc3m DOT es
[163.117.139.120])
        by varpa.it.uc3m.es (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id
LAA27580;
        Tue, 29 Oct 2002 11:17:57 +0100
Received: from varpa.it.uc3m.es (root AT varpa DOT it DOT uc3m DOT es [163.117.139.253])
        by arpa.it.uc3m.es (8.9.3/8.9.3) with ESMTP id LAA26700
        for <staff AT smtp DOT it DOT uc3m DOT es>; Tue, 29 Oct 2002 11:17:56 +0100
Received: from mozart.lab.it.uc3m.es (mozart.lab.it.uc3m.es
[163.117.144.225])
        by varpa.it.uc3m.es (8.9.3/8.9.3/Debian 8.9.3-21) with SMTP id
LAA27512
        for <staff AT it DOT uc3m DOT es>; Tue, 29 Oct 2002 11:17:56 +0100
Message-Id: <200210291017 DOT LAA27512 AT varpa DOT it DOT uc3m DOT es>
Received: by mozart.lab.it.uc3m.es (sSMTP sendmail emulation); Tue, 29 Oct
2002 11:17:56 +0100
From: Administrador <administrador AT mozart DOT uc3m DOT es>
Date: Tue, 29 Oct 2002 11:17:56 +0100
To: undisclosed-recipients:;
X-Spam-Status: No, hits=-92.8 required=6.0
        tests=FROM_LOCAL,FROM_NAME_NO_SPACES,UNDISC_RECIPS,SUBJ_MISSING,
              MSG_ID_ADDED_BY_MTA_2,AWL
        version=2.31
X-Spam-Level:

testing mail
----------------------------------------------------------------------------


Which is quite OK but I cannot see any option in ssmtp to set the To or
the Subject fields as with the From one. I searched the docs and read the
manpage, but I didn't find any documentation on setting the fields Subject
and To.


thx in advance,
m4c.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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