[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mail



Am 2008-07-02 22:03:01, schrieb Thorsten Haude:
> Moin,
> 
> * Michelle Konzack wrote (2008-07-02 17:09):
> >Am 2008-06-28 18:40:07, schrieb Thorsten Haude:
> >> Ist ja eine Superinterpretation seiner Worte. Der OP hat hier eine
> >> Frage gestellt, die Interpretation kommt von Dir. Wenn eine Binärdatei
> >> mit diesem Befehl zum Mailbody wird, kommt eine Mail dabei heraus, die
> >> nichts regelkonform ist und anderswo abgelehnt wird.
> >
> >Dann sotest Du aber auch
> >
> >    Mime-Type: 1.0
> >    Content-Type: application/x-gnuzip
> >    Content-Transfer-Encoding: 8bit
> >
> >setzen und vor allem die Mail selber erstellen was ich von  scripten  in
> >massen mache.
> 
> Ich sehe keinen Zusammenhang zu meinen Ausführungen. Please elaborate.

Du kannst mit "mail" keine binär Datei  INLINE  als  BODY  senden  weil
"maiL"  immer  eine  texteingabe  erwartet  und  dem entsprechend   den
"Content-Type:" header zu "text/plain" setzt.

Wenn du als wirklich 8bit binary inline versenden willst, mußte das dann
ungefähr so machen:

----8<------------------------------------------------------------------
TMPFILE=$(mktemp -t binarysender.XXXXXX || exit 1)

echo "\
To: Thorsten <binaryspam@unknown.com>
From: Michelle <binaryspam@tamay-dogan.net>
Subject: Ich spame mit binaries 
Date: $(date --rfc-822)
Mime-Type: 1.0
Content-Type: application/x-gnuzip; inline
Content-Transfer-Encoding: 8bit
" >{TMPFILE}

cat /vmlinuz >${TMPFILE}

sendmail -t <${TMPFILE}
rm --force ${TMPFILE}
----8<------------------------------------------------------------------

ansonsten:
            Content-Transfer-Encoding: base64
und dann
            cat /vmlinuz |yyencode >${TMPFILE}

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: