Hello Jamie,
I use this:
----[ '/usr/share/tdtools-procmail/NET_guardian' ]----------------------
:0
* ^From:.*(xxx(_at_)tamay-dogan\(_dot_)net)
{
:0c
{
TMPVAR1=${LINEBUF}
LINEBUF=10485760
TMPVAR2=`formail -cz -x From: -x To: -x Subject: -x Date:`
TMPVAR3=`formail -I '' |head -n10`
LINEBUF=${TMPVAR1}
:0fw
| (formail -r -t \
-I "Sender: xxxxxxx(_at_)tamay-dogan(_dot_)net" \
-I "From: Mail Guardian <xxxxxxx(_at_)tamay-dogan(_dot_)net>" \
-I "To: CEO <xxxxxxxx(_dot_)xxxxxxx(_at_)tamay-dogan(_dot_)net>" \
-I "Date: ${DATE_NOW_RFC}" \
-I "Subject: New message in your business account" \
-a "Message-Id:" \
-I "User-Agent: tdtools-procmail ${TDTP_VERSION}" \
-I "Mime-Version: 1.0" \
-I "Content-Type: multipart/mixed; boundary=\"1234567890-guardian-123456
echo "" ; \
echo "--1234567890-guardian-1234567890" ; \
echo "Content-Type: text/plain; charset=us-ascii" ; \
echo "Content-Transfer-Encoding: quoted-printable" ; \
echo "" ; \
echo "Hi Boss," ; \
echo "" ; \
echo "You have gotten a new message in your business account." ; \
echo "" ; \
echo "--1234567890-abuse-1234567890" ; \
echo "Content-Type: message/rfc822" ; \
echo "Content-Transfer-Encoding: 8bit" ; \
echo "" ; \
echo "${TMPVAR2}" ; \
echo "${TMPVAR3}" ; \
echo "" ; \
echo "--1234567890-guardian-1234567890--")
:0c
| sendmail -t
}
:0
.TDNet.CEO/
}
------------------------------------------------------------------------
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/> Michelle Konzack
<http://www.can4linux.org/> Apt. 917
<http://www.flexray4linux.org/> 50, rue de Soultz
Jabber linux4michelle(_at_)jabber(_dot_)ccc(_dot_)de 67100
Strabourg/France
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886 Tel. FR: +33 6 61925193
____________________________________________________________
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