mimedecode.py -t application/pdf -t application/postscript -t text/plain -b text/html -B 'image/*' -i '*/*'
+Version 2.9.0 (2017-12-??)
+
+ Split mimedecode.py into a mimedecode library and a small script.
+
+ Made the library executable via ``python -m mimedecode``.
+
Version 2.8.0 (2017-11-03)
Python 3.
Stop supporting Python 2.6.
- Code cleanup: fixed flake8 errors and warnings.
-
- Pushed to GitHub. Tests at Travis.
-
WHERE TO GET
Home page: http://phdru.name/Software/Python/#mimedecode
+Version 2.9.0 (2017-12-??)
+
+ Split mimedecode.py into a mimedecode library and a small script.
+
+ Moved formatparam_27.py and mimedecode_version.py to the library.
+
+ Made the library executable via ``python -m mimedecode``.
+
+ Renamed mimedecode_version.py to __version__.py.
+
Version 2.8.0 (2017-11-03)
Python 3.
mimedecode.man: mimedecode.docbook Makefile.4xslt
4xslt $< $(DOCBOOK_XSL)/manpages/docbook.xsl
- mv mimedecode.py.1 $@
+ mv mimedecode.1 $@
mimedecode.txt: mimedecode.html Makefile.4xslt
elinks -dump -no-numbering -no-references $< >$@
mimedecode.html: mimedecode.docbook Makefile.sgmlt
sgmltools -b html $<
- mv mimedecode/mimedecode.py.html mimedecode.html
+ mv mimedecode/mimedecode.html mimedecode.html
rmdir mimedecode
mimedecode.man: mimedecode.docbook Makefile.sgmlt
mimedecode.man: mimedecode.docbook Makefile.xsltproc
xsltproc $(DOCBOOK_XSL)/manpages/docbook.xsl $<
- mv mimedecode.py.1 $@
+ mv mimedecode.1 $@
mimedecode.txt: mimedecode.html Makefile.xsltproc
elinks -dump -no-numbering -no-references $< >$@
-Split mimedecode.py into a library and a small script.
-Move formatparam_27.py and mimedecode_version.py to the library.
-Rename mimedecode_version.py to __version__.py.
-
-
-Release 2.9.
-
-
Convert mimedecode.py library from global functions to a class.
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"file:///usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd">
-<refentry id="mimedecode.py">
+<refentry id="mimedecode">
<refentryinfo>
- <title>mimedecode.py</title>
+ <title>mimedecode</title>
<productname>mimedecode.docbook</productname>
<author>
<firstname>Oleg</firstname>
</refentryinfo>
<refmeta>
- <refentrytitle>mimedecode.py</refentrytitle>
+ <refentrytitle>mimedecode</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
- <refname>mimedecode.py</refname>
+ <refname>mimedecode</refname>
<refpurpose>decode MIME message</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
- <command>mimedecode.py</command>
+ <command>mimedecode</command>
<arg choice="opt">
<option>-h|--help</option>
</arg>
</para>
<para>
- Here is a solution - mimedecode.py!
+ Here is a solution - mimedecode!
</para>
<para>
<para>
Save output to the file related to the destination directory from
option -O. Also useful in case of redirected stdin:
- <programlisting language="sh">mimedecode.py -o output_file < input_file
-cat input_file | mimedecode.py -o output_file</programlisting>
+ <programlisting language="sh">mimedecode -o output_file < input_file
+cat input_file | mimedecode -o output_file</programlisting>
</para>
</listitem>
</varlistentry>
<para>
<code language="sh">
- mimedecode.py -t application/pdf -t application/postscript -t text/plain
+ mimedecode -t application/pdf -t application/postscript -t text/plain
-b text/html -B 'image/*' -i '*/*'
</code>
</para>
<refsect1>
<title>SEE ALSO</title>
<para>
- mimedecode.py home page:
+ mimedecode home page:
<ulink url="http://phdru.name/Software/Python/#mimedecode">http://phdru.name/Software/Python/#mimedecode</ulink>
</para>
</refsect1>
--- /dev/null
+from .mimedecode import main
+
+if __name__ == "__main__":
+ main()
-__version__ = "2.8.0"
+__version__ = "2.9.0"
__author__ = "Oleg Broytman <phd@phdru.name>"
__copyright__ = "Copyright (C) 2001-2017 PhiloSoft Design"
__license__ = "GNU GPL"
import subprocess
import sys
-from mimedecode_version import __version__, __copyright__
+from .__version__ import __version__, __copyright__
if sys.version_info[0] >= 3:
# Replace email.message._formatparam with _formatparam from Python 2.7
# to avoid re-encoding non-ascii params.
- import formatparam_27 # noqa: F401: Imported for its side effect
+ from mimedecode import formatparam_27 # noqa: F401: Imported for its side effect
me = os.path.basename(sys.argv[0])
return arguments
-if __name__ == "__main__":
+def main():
arguments = get_opts()
la = len(arguments)
g.host_name = socket.gethostname()
g.outfile = outfile
+ global output
if hasattr(outfile, 'buffer'):
def output_bytes(s):
if not isinstance(s, bytes):
finally:
infile.close()
outfile.close()
+
+
+if __name__ == "__main__":
+ main()
#! /usr/bin/env python
+from imp import load_source
+from os.path import abspath, dirname, join
+
try:
from setuptools import setup
is_setuptools = True
from distutils.core import setup
is_setuptools = False
-from mimedecode_version import __version__, __copyright__, __license__
+versionpath = join(abspath(dirname(__file__)), "mimedecode", "__version__.py")
+load_source("mimedecode_version", versionpath)
+from mimedecode_version import __version__, __copyright__, __license__ # noqa: ignore flake8 E402
kw = {}
if is_setuptools:
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
- py_modules=['formatparam_27', 'mimedecode_version'],
- scripts=['mimedecode.py'],
+ packages=['mimedecode'],
+ entry_points={
+ 'console_scripts': [
+ 'mimedecode = mimedecode.__main__:main'
+ ]
+ },
**kw
)
Content-Type: image/gif; name="dingusfish.gif"
Content-Transfer-Encoding: 8bit
content-disposition: attachment; filename="dingusfish.gif"
-X-MIME-Autoconverted: from base64 to 8bit by test id mimedecode.py
+X-MIME-Autoconverted: from base64 to 8bit by test id mimedecode
X-Test: set
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
Hi,
X-Test: set; test="set"
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
Hi,
Date: Fri, 4 May 2001 14:05:44 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
Hi,
Content-description: Masthead (Ppp digest, Vol 1 #2)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
Send Ppp mailing list submissions to
ppp@zzz.org
Content-description: Today's Topics (5 msgs)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
Today's Topics:
Precedence: bulk
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
hello
Precedence: bulk
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
hello
Precedence: bulk
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
hello
Precedence: bulk
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
hello
Precedence: bulk
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
hello
Content-description: Digest Footer
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
_______________________________________________
Ppp mailing list
Content-description: Masthead (Ppp digest, Vol 1 #2)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
Send Ppp mailing list submissions to
ppp@zzz.org
Content-description: Today's Topics (5 msgs)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
Today's Topics:
Precedence: bulk
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
hello
Precedence: bulk
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
hello
Precedence: bulk
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
hello
Precedence: bulk
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
hello
Precedence: bulk
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
hello
Content-description: Digest Footer
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
_______________________________________________
Ppp mailing list
X-Url: http://barry.wooz.org
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
--BOUNDARY
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
--BOUNDARY
X-MIME-Autoconverted: from text/html to text/plain by test id ./html2txt.py
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode
--BOUNDARY
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-2 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-2 to utf-8 by test id mimedecode
--BOUNDARY
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from koi8-r to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from koi8-r to utf-8 by test id mimedecode
--BOUNDARY--
--BOUNDARY
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
--BOUNDARY
X-MIME-Autoconverted: from text/html to text/plain by test id ./html2txt.py
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode
--BOUNDARY
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from koi8-r to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from koi8-r to utf-8 by test id mimedecode
--BOUNDARY--
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
This is a 7bit encoded message.
--BOUNDARY
Content-Transfer-Encoding: 8bit
-X-MIME-Autoconverted: from Quoted-Printable to 8bit by test id mimedecode.py
+X-MIME-Autoconverted: from Quoted-Printable to 8bit by test id mimedecode
X-MIME-Autoconverted: from text/html to text/plain by test id ./html2txt.py
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode
¡This is a Quoted Printable encoded message!
--BOUNDARY
Content-Transfer-Encoding: 8bit
-X-MIME-Autoconverted: from Base64 to 8bit by test id mimedecode.py
+X-MIME-Autoconverted: from Base64 to 8bit by test id mimedecode
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode
This is a Base64 encoded message.
--BOUNDARY
Content-Transfer-Encoding: 8bit
-X-MIME-Autoconverted: from Base64 to 8bit by test id mimedecode.py
+X-MIME-Autoconverted: from Base64 to 8bit by test id mimedecode
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode
This is a Base64 encoded message.
--BOUNDARY
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode
This has no Content-Transfer-Encoding: header.
--BOUNDARY
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
--BOUNDARY
X-MIME-Autoconverted: from text/html to text/plain by test id ./html2txt.py
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode
--ANOTHER
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-2 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-2 to utf-8 by test id mimedecode
--ANOTHER
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-3 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-3 to utf-8 by test id mimedecode
--ANOTHER--
--BOUNDARY
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
--BOUNDARY
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from koi8-r to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from koi8-r to utf-8 by test id mimedecode
--BOUNDARY--
--BOUNDARY
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
--BOUNDARY
X-MIME-Autoconverted: from text/html to text/plain by test id ./html2txt.py
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode
--ANOTHER
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-2 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-2 to utf-8 by test id mimedecode
--ANOTHER
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-3 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-3 to utf-8 by test id mimedecode
--ANOTHER--
--BOUNDARY
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
--BOUNDARY
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from koi8-r to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from koi8-r to utf-8 by test id mimedecode
--BOUNDARY--
Date: Fri, 4 May 2001 14:05:44 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
Hi,
--MS_Mac_OE_3071477847_720252_MIME_Part
Content-transfer-encoding: 8bit
-X-MIME-Autoconverted: from quoted-printable to 8bit by test id mimedecode.py
+X-MIME-Autoconverted: from quoted-printable to 8bit by test id mimedecode
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode
Some removed test.
--MS_Mac_OE_3071477847_720252_MIME_Part
Content-type: text/html; charset="ISO-8859-1"
Content-transfer-encoding: 8bit
-X-MIME-Autoconverted: from quoted-printable to 8bit by test id mimedecode.py
+X-MIME-Autoconverted: from quoted-printable to 8bit by test id mimedecode
<HTML>
<HEAD>
--MS_Mac_OE_3071477847_720252_MIME_Part
Content-transfer-encoding: 8bit
-X-MIME-Autoconverted: from quoted-printable to 8bit by test id mimedecode.py
+X-MIME-Autoconverted: from quoted-printable to 8bit by test id mimedecode
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode
Some removed test.
--MS_Mac_OE_3071477847_720252_MIME_Part
Content-type: text/html; charset="ISO-8859-1"
Content-transfer-encoding: 8bit
-X-MIME-Autoconverted: from quoted-printable to 8bit by test id mimedecode.py
+X-MIME-Autoconverted: from quoted-printable to 8bit by test id mimedecode
Message body of type text/html skipped.
--MS_Mac_OE_3071477847_720252_MIME_Part
Content-transfer-encoding: 8bit
-X-MIME-Autoconverted: from quoted-printable to 8bit by test id mimedecode.py
+X-MIME-Autoconverted: from quoted-printable to 8bit by test id mimedecode
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode
Some removed test.
--MS_Mac_OE_3071477847_720252_MIME_Part
Content-transfer-encoding: 8bit
-X-MIME-Autoconverted: from quoted-printable to 8bit by test id mimedecode.py
+X-MIME-Autoconverted: from quoted-printable to 8bit by test id mimedecode
X-MIME-Autoconverted: from text/html to text/plain by test id ./html2txt.py
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode
--Boundary_(ID_PGS2F2a+z+/jL7hupKgRhA)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode
This report relates to a message you sent with the following header fields:
X-Mailman-Version: 2.1a3
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
I always love to find more Ian's that are over 3 years old!!
--Boundary_(ID_PGS2F2a+z+/jL7hupKgRhA)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode
This report relates to a message you sent with the following header fields:
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
I always love to find more Ian's that are over 3 years old!!
--Boundary_(ID_PGS2F2a+z+/jL7hupKgRhA)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-1 to utf-8 by test id mimedecode
This report relates to a message you sent with the following header fields:
List-Archive: <http://socal-raves.org/mailman/private/scr/>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
I always love to find more Ian's that are over 3 years old!!
X-Foobar-Spoink-Defrobnit: wasnipoop
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
spooge="yummy"; hippos="gargantuan"; marshmallows="gooey"
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
Date: Fri, 4 May 2001 14:05:44 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
Hi,
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
One
--BOUNDARY
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
Two
--BOUNDARY--
To: bperson@dom.ain (Barney P. Erson)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
test
Subject: ee
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
message 1
Subject: ee
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
message 2
Date: Fri, 4 May 2001 14:05:44 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
Hi,
Date: Fri, 4 May 2001 14:05:44 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; title*="us-ascii'en'This%20is%20even%20more%20%2A%2A%2Afun%2A%2A%2A%20isn%27t%20it%21"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
Hi,
Subject: ee
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
message 1
Subject: ee
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
message 2
X-Loop: FreeBSD.org
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
Some message.
--EeQfGwPcQSOJBaQU
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
-X-MIME-Autoconverted: from quoted-printable to 8bit by test id mimedecode.py
+X-MIME-Autoconverted: from quoted-printable to 8bit by test id mimedecode
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
part 1
Content-ID: <20592.1022586929.15@example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
--
It's never too late to have a happy childhood.
Content-ID: <20592.1022586929.3@example.com>
Content-Description: patch1
Content-Transfer-Encoding: 8bit
-X-MIME-Autoconverted: from base64 to 8bit by test id mimedecode.py
+X-MIME-Autoconverted: from base64 to 8bit by test id mimedecode
XXX
Content-ID: <20592.1022586929.4@example.com>
Content-Description: patch2
Content-Transfer-Encoding: 8bit
-X-MIME-Autoconverted: from base64 to 8bit by test id mimedecode.py
+X-MIME-Autoconverted: from base64 to 8bit by test id mimedecode
XXX
Content-ID: <20592.1022586929.15@example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
--
It's never too late to have a happy childhood.
Content-ID: <20592.1022586929.3@example.com>
Content-Description: patch1
Content-Transfer-Encoding: 8bit
-X-MIME-Autoconverted: from base64 to 8bit by test id mimedecode.py
+X-MIME-Autoconverted: from base64 to 8bit by test id mimedecode
]u
------- =_aaaaaaaaaa1
Content-ID: <20592.1022586929.4@example.com>
Content-Description: patch2
Content-Transfer-Encoding: 8bit
-X-MIME-Autoconverted: from base64 to 8bit by test id mimedecode.py
+X-MIME-Autoconverted: from base64 to 8bit by test id mimedecode
]u
------- =_aaaaaaaaaa1--
Content-ID: <20592.1022586929.15@example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from us-ascii to utf-8 by test id mimedecode
--
It's never too late to have a happy childhood.
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-X-MIME-Autoconverted: from iso-8859-15 to utf-8 by test id mimedecode.py
+X-MIME-Autoconverted: from iso-8859-15 to utf-8 by test id mimedecode
Testing email forwarding with Groupwise 1.2.2010
fi
shift
- $PYTHON ../mimedecode.py -H test -f utf-8 "$@" input/"$infile" >tmp/"$expfile" || return 1
+ mimedecode -H test -f utf-8 "$@" input/"$infile" >tmp/"$expfile" || return 1
if cmp -s expected/"$expfile" tmp/"$expfile"; then
rm tmp/"$expfile" && return 0 || return 1
else