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

MIME based remailing commands

From: "Perry E. Metzger" <[email protected]>
>     I'd say that it would work far better if things were changed to MIME
>     formats. You would send a message by recursively encapsulating your
>     message to be remailed inside a MIME message. Simple and clean...

Here is an example of how such a mesage might look.  I created it using
the safe-tcl scripting language.  Interestingly, safe-tcl can to a
considerable extent be considered a tcl extension to let you work easily
with mime messages.  It makes it easy to create and parse them.

The whole message could be encrypted and marked with the "Encrypted: PGP"
header as we do now, or when the new PGP/MIME standard is finalized then
that could be followed.

I made up two new content types for this, one to hold the composite
multipart message, and one to hold the remailer commands themselves.
Although these types are not implemented, I think it would be very easy
to make a remailer that would use this structure, built out of safe-tcl.
(The batching and latency would not be trivial, but the basic remailing
would be easy.)


> To: [email protected]
> Subject: No subject
> Mime-Version: 1.0
> Content-Type: multipart/remail; boundary="----- =_792174086"
> Content-ID: <[email protected]>
> ------- =_792174086
> Content-Type: application/remail-commands
> Content-ID: <[email protected]>
> Latency: 2 hours
> Minimum-Batch-Size: 5 messages
> Anon-Send-To: [email protected]
> Subject: Example of remailed message
> ------- =_792174086
> Content-Type: text/plain
> Content-ID: <[email protected]>
> This is a message which is being sent to the mailing list.
> It is being remailed via a MIME-based structure where two new content types
> are defined: multipart/remail and application/remail-commands.  The
> multipart/remail type is supposed to be composed of two parts, the
> application/remail-commands part which has remailer commands, and the
> other part which is the "payload" to be remailed.
> ------- =_792174086--