On 29-Aug-2000, Rainer Link wrote:
> On Tue, 29 Aug 2000, Audouy Jérôme wrote:
>
> > I have a problem with the /var/qmail/bin/sendmail program
> > i try to send a mail via a script (AMaViS) but the command line doesn't work :
> >
> > $cat <<EOF | /usr/lib/sendmail -i -t [EMAIL PROTECTED] [EMAIL PROTECTED]
> > From: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > Subject: test
> > my test text.
> >
> Well, using -t and -f together does not make sense imho.
It could make sense if you need the ENVELOPE sender (-f) to be
different than the From HEADER (-t), e.g. automatically send bounces
to blackhole but the recipient can still reply to the email according
to the From header.
> Here's a quote of the man-page from sendmail
> -t Extract recipients from message headers. This
> requires that no recipients be specified on the
> command line.
The problem is that he specified [EMAIL PROTECTED] on the command
line, not because of the -f option.
Ronny