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

Re: mail



Am 2004-11-29 10:38:23, schrieb Roland M. Kruggel:
> hallo Liste,
> 
> kann Mail eigentlich keine Dateianhänge?

NEIN.

> Ich kann darüber nichts finden.

man mail

Willst Du von der commandline versenden ?
Dann nimm entwerder 'base64-encode' (mime-codecs) und bastele Dir den
MIME Teil selber (boundary=...) oder Du nimmst gleich "mime-construct"

Und kleibst das plain/text teil and einen Header ran...

echo "To: Victim <spam@opfer.tld>"            >$tmpfile
echo "From: Spamer <spamer@spamers.org>"     >>$tmpfile
echo "Subject: SPAM"                         >>$tmpfile
echo "Date: `date -R`"                       >>$tmpfile
echo "Content-Type: aplication/octet-stream" >>$tmpfile
echo                                         >>$tmpfile
mime-construct --output --file $spamfile     >>$tmpfile
echo                                         >>$tmpfile

Das ganze kannste dann ganz einfach mit 

    cat $tmpfile |sendmail -t

loswerden


Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: