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.

^D
$

it tells me:

sendmail: illegal option -- a
sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [ arg ... ]

i see the archive of the anoucement list and the manual page and my syntax seems
to be right. i tried without options but the result is the same.

after a lot of test, i need some help, thx
Dji.
-- 
Audouy Jérôme - 3rd year student in E.S.S.I. (Ecole Supérieure en Sciences 
Informatiques)
e-mail : [EMAIL PROTECTED] / [EMAIL PROTECTED]
www    : http://djidji.citeweb.net / http://www.essi.fr/~audouy


Reply via email to