delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/16/14:25:51

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
Message-ID: <02aa01c39412$e219ce10$647ba8c0@neth.hp.com>
From: "Frank Slootweg" <franks_cygwin AT yahoo DOT com>
To: <cygwin AT cygwin DOT com>
References: <00be01c393c0$869213b0$647ba8c0 AT neth DOT hp DOT com> <3F8ECA3E DOT 9040608 AT ision DOT net>
Subject: Re: ssmtp 2.38.7-4 reads headers from message body.
Date: Thu, 16 Oct 2003 20:21:38 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
x-mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Antivirus: avast! (VPS 13/10/2003), Outbound message
X-Antivirus-Status: Clean

Felix van Hove <felix DOT hove AT ision DOT net> wrote:

> -t isn't supported, see man ssmtp.
>
> I have no problem to forward your message without this option, same
> ssmtp version 2.38.7.

  I beg to differ (that -t isn't supported). (Of course) I have looked
into this in detail before I posted.

  The SSMTP(8) manpage says:

> OPTIONS
>        Most sendmail options are irrelevent to sSMTP. Those marked
>        ``ignored'' or ``default'' have no effect on mail transfer.
>        Those marked ``unsupported'' are fatal errors.  Those marked
>        ``simulated'' are not errors, but the result is for the
>        program to exit with an informative message. A sort of fatal
>        non-error.

  I.e. an "unsupported" option should give a fatal error, but "-t" does
*not* give a fatal error if the From: address in the body is correct.

  Also the manual page says:

> -t     Read   message, searching for recipients. ``To:'', `Cc:'', and
>        ``Bcc:'' lines will be scanned for people to send to. Any
>        addresses in   the  argument list will be suppressed (not sup-
>        ported).

  For all other options, "(unsupported)" is listed *directly after* the
option, i.e. for example:

 > -bd    (unsupported) Run as a daemon.

  For the "-t" option it is listed at the *end* (and, to nit-pick, says
"not supported", not "unsupported"). I take it to mean that it only
applies to the last sentence ("Any addresses in the argument list will
be suppressed").

  My tests prove my thinking, i.e. "-t" *is* processed. However ssmtp
should not interpret the body of the message in any way (i.e. it should
not interpret any From: line in the body), it should just send it.





--
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