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

Re: 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

Viele wege führen nach Rom. Aber der ist mir dann doch zu 
umständlich.

-- 
cu

Roland Kruggel  mailto: rk-liste@gmx.de
System: Intel 3.2Ghz, Debian sid, 2.6.7, KDE 3.3.1



Reply to: