On Sat, Oct 18, 2008 at 2:33 PM, Ralf Hildebrandt
<[EMAIL PROTECTED]> wrote:
> * Meno <[EMAIL PROTECTED]>:
>> Hi,
>>
>> have you got any idea how to decode maildir
>> format(with any type of attachments) to real
>> type without using the mail client.
>
> What is "real type"?
>
> --
> Ralf Hildebrandt ([EMAIL PROTECTED])          [EMAIL PROTECTED]

Probably is about decode base64.

A simple example:

$ openssl enc -a <<< 'A binary string'
QSBiaW5hcnkgc3RyaW5nCg==
$ openssl enc -a -d <<< QSBiaW5hcnkgc3RyaW5nCg==
A binary string

$ openssl enc -a < photo.jpg > photo-jpg.b64
$ openssl enc -a -d < photo-jpg.b64 > photo.jpg

-- 
Reinaldo de Carvalho
http://korreio.sf.net
http://python-cyrus.sf.net

Reply via email to