tmda 1.1.8 and import email.mime stuff

David Ford <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
'lo

I'm getting an error w/ the new tmda stuff.  My system is gentoo and 
stock python installation.   Any suggestions?  docs.python.org suggests 
the following for the message handling.

from http://docs.python.org/lib/node162.html,

[...]
from email.mime.text import MIMEText
from email.mime.image import MIMEImage
from email.mime.multipart import MIMEMultipart
[...]

and so on in different flavors which appears to be a different form than is used in tmda.

you get the idea :)


David
p.s. i'm not a python person so i could be off the mark

> Uncaught Python 2.4.3 Exception (Thu Oct 19 20:33:44 2006):
> -----------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/bin/tmda-filter", line 53, in ?
>     execfile(os.path.join(execdir, 'tmda-rfilter'))
>   File "/usr/bin/tmda-rfilter", line 166, in ?
>     from TMDA import Defaults
>   File "/usr/lib/python2.4/site-packages/TMDA/Defaults.py", line 116, in ?
>     import Util
>   File "/usr/lib/python2.4/site-packages/TMDA/Util.py", line 27, in ?
>     import email
>   File 
> "/usr/lib/python2.4/site-packages/TMDA/pythonlib/email/__init__.py", 
> line 118, i
> n ?
>     import email.mime
> ImportError: No module named mime
> Traceback (most recent call last):
>   File "/usr/bin/tmda-filter", line 67, in ?
>     from TMDA.Defaults import LOGFILE_DEBUG
>   File "/usr/lib/python2.4/site-packages/TMDA/Defaults.py", line 116, in ?
>     import Util
>   File "/usr/lib/python2.4/site-packages/TMDA/Util.py", line 27, in ?
>     import email
>   File 
> "/usr/lib/python2.4/site-packages/TMDA/pythonlib/email/__init__.py", 
> line 118, i
> n ?
>     import email.mime
> ImportError: No module named mime
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.