First: Hallo to everibody. This is my first message in here.
This recipe I found on
http://www.xray.mpe.mpg.de/cgi-bin/w3glimpse2html/procmail/1998-05/msg00091.html?106#mfs
#This sends my resume as a mime attachment to anyone who wants a
#copy of my resume in PDF (Acrobat) format
:0ch
* ^Subject:.*send pdf resume
* !^X-Loop: msaroff(_at_)pca\(_dot_)net
| (formail -r \
-I"X-Loop: msaroff(_at_)pca\(_dot_)net"\
-I"MIME-Version: 1.0"\
-I"Content-Type: multipart/mixed; boundary=\"fls3jekls3=_sd3\"";\
echo "--fls3jekls3=_sd3";\
echo "Content-type: TEXT/PLAIN; charset=US-ASCII";\
echo "";\
cat $HOME/pdf.rsp;\
echo "--fls3jekls3=_sd3";\
echo "Content-Type: APPLICATION/PDF; name=\"saroffm.pdf\"";\
echo "Content-Transfer-Encoding: base64";\
echo "Content-Description:";\
echo "";\
/usr/bin/mimencode -b $HOME/saroffm.pdf;\
echo "--fls3jekls3=_sd3--") | $SENDMAIL -t
well, it doesn't work on my system. This is my recipe:
:0 cw
* ^Subject:.*dummy*
* ? test $CONDIZIONE -ge 20
* !^X-Condiz
| (/bin/formail -r -I "From: MESSAGGIO AUTOMATICO
<claves(_at_)dei(_dot_)unipd(_dot_)it>" \
-I "Subject: Incontriamoci: AGGIORNAMENTO" \
-I "To: $DIFFERITA" -i "X-Condiz: differited"; \
echo "Aggiornamento in data `date`"; \
/usr/local/bin/mimencode -b $HOME/Mlist/Incontriamoci.gz) | /usr/lib/sendmail
-t
and I'm sure the path for mimencode is the one I used. Anyway I get the
response:
"/bin/sh: /usr/local/bin/mimencode: not found"
I'd like receive hints.
--
Claves do Amaral "Those who eat meat or drink
claves(_at_)dei(_dot_)unipd(_dot_)it alcohol are animals in human
form
http://www.dei.unipd.it/claves/ and burden on earth"
- Chanakya -