* <linux4michelle(_at_)tamay-dogan(_dot_)net> [10.09.2009 18:53]:
Am 2009-09-10 13:00:07, schrieb Thomas Göbel:
The whole recipe looks like this:
TO=`formail -rtzxTo:`
:0HB
* ^content-type:.*multipart/(mixed|alternative)
* .*name=.*\.(ppt|xls|doc)
* ! ^X-Loop: mail(_at_)web(_dot_)www
{
:0
{
Remove this!
FOO=`sed -e "1a\To: $TO" $HOME/.mailreply > $HOME/.mail`
DUMMY=`msmtp -a gmx "$TO" < $HOME/.mail`
BAR=`rm $HOME/.mail`
}
Remove this!
I changed the
{
FOO
DUMMY
BAR
}
lines to this:
{ DUMMY=`echo "To: $TO" | cat - .mailreply | msmtp -a gmx "$TO"` }
Or what did you mean?
Greetings,
Tom
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
pgp0_wNltzGyg.pgp
Description: PGP signature
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail