Jason,

This one is for you. I don't know if it's already been reported; if that's
the case, then this is just "more data."

A particular spam message apparently causes TMDA to crash. Fortunately (at
least for debugging purposes) this spam message is sent very often,
turning the crash into a periodic error. From what I can gather, the
message is caught by the incoming filter, and a confirm message is sent;
however, TMDA appears to crash while the confirm message is being
assembled.

The problem was first seen in TMDA 1.0.2 and persists in TMDA 1.0.3.

I hope the information below is enough to figure out what happens. Please
let me know if you need more information.

 - wolf -


Here's the tmda debug log entry:

==============================================================
Uncaught Python 2.2.3 Exception (Mon May  3 20:52:51 2004):
-----------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/tmda/bin/tmda-filter", line 53, in ?
    execfile(os.path.join(execdir, 'tmda-rfilter'))
  File "/usr/local/tmda/bin/tmda-rfilter", line 891, in ?
    main()
  File "/usr/local/tmda/bin/tmda-rfilter", line 863, in main
    bouncegen('request')
  File "/usr/local/tmda/bin/tmda-rfilter", line 772, in bouncegen
    send_bounce(bounce_message, mode)
  File "/usr/local/tmda/bin/tmda-rfilter", line 442, in send_bounce
    ar.send()
  File "./TMDA/AutoResponse.py", line 226, in send
  File "./TMDA/Util.py", line 553, in msg_as_string
  File "./TMDA/pythonlib/email/Generator.py", line 103, in flatten
  File "./TMDA/pythonlib/email/Generator.py", line 131, in _write
  File "./TMDA/pythonlib/email/Generator.py", line 157, in _dispatch
  File "./TMDA/pythonlib/email/Generator.py", line 231, in
_handle_multipart
  File "./TMDA/pythonlib/email/Generator.py", line 103, in flatten
  File "./TMDA/pythonlib/email/Generator.py", line 131, in _write
  File "./TMDA/pythonlib/email/Generator.py", line 157, in _dispatch
  File "./TMDA/pythonlib/email/Generator.py", line 298, in _handle_message
  File "./TMDA/pythonlib/email/Generator.py", line 103, in flatten
  File "./TMDA/pythonlib/email/Generator.py", line 131, in _write
  File "./TMDA/pythonlib/email/Generator.py", line 157, in _dispatch
  File "./TMDA/pythonlib/email/Generator.py", line 200, in _handle_text
TypeError: string payload expected: <type 'list'>
==============================================================

The TMDA incoming log entry for this particular email message is as
follows, albeit with the recipient email address deleted:

==============================================================
Date: Mon May 3 20:52:51 CEST 2004
From: "Mable Metcalf" <[EMAIL PROTECTED]>
Rept: "Mable Metcalf" <[EMAIL PROTECTED]>
  To: [EMAIL PROTECTED]
Subj: Need a home l.oan?
Actn: CONFIRM (headers "^X-Spam-Level:\s\+{10}" confirm)               
(3391)

Date: Mon May 3 20:52:51 CEST 2004
From: "Mable Metcalf" <[EMAIL PROTECTED]>
Rept: "Mable Metcalf" <[EMAIL PROTECTED]>
  To: [EMAIL PROTECTED]
Subj: Need a home l.oan?
Actn: CONFIRM pending 1083610371.16040.msg                             
(3391)
==============================================================

The TMDA config file has set the BOUNCE_ENV_SENDER to a non-existing email
address that is intercepted (and dropped) via the incoming filter.

The spam email is as follows (again, valid recipients have been deleted):

==============================================================
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 19873 invoked by uid 527); 30 Apr 2004 09:52:50 -0000
Received: from [EMAIL PROTECTED] by blazingangles.com by uid 0
with qmail-scanner-1.22
 (clamscan: 0.70. spamassassin: 2.63. 
Clear:RC:0(195.41.53.68):SA:1(11.8/5.0):.
 Processed in 10.458421 secs); 30 Apr 2004 09:52:50 -0000
X-Spam-Status: Yes, hits=11.8 required=5.0
X-Spam-Level: +++++++++++
Received: from unknown (HELO fupA.post.tele.dk) (195.41.53.68)
  by blazingangles.com with SMTP; 30 Apr 2004 09:52:39 -0000
Received: from cicero2.cybercity.dk (cicero2.cybercity.dk [212.242.40.53])
        by fupA.post.tele.dk (Postfix) with ESMTP id 27203D239
        for <[EMAIL PROTECTED]>; Fri, 30 Apr 2004 11:52:39 +0200 (CEST)
Received: from user3.cybercity.dk (user3.cybercity.dk [212.242.41.36])
        by cicero2.cybercity.dk (Postfix) with ESMTP id 0A62018FB08
        for <[EMAIL PROTECTED]>; Fri, 30 Apr 2004 11:52:26 +0200 (CEST)
Received: from cicero1.cybercity.dk (cicero1.cybercity.dk [212.242.40.4])
        by user3.cybercity.dk (Postfix) with ESMTP
        id B867993C0F; Fri, 30 Apr 2004 11:52:25 +0200 (CEST)
Received: from pop9-903.catv.wtnet.de (pop9-903.catv.wtnet.de
[213.209.75.136])
        by cicero1.cybercity.dk (Postfix) with SMTP
        id DB5447E3A05; Fri, 30 Apr 2004 11:52:20 +0200 (CEST)
Received: from 84.207.98.135 by 213.209.75.136; Fri, 30 Apr 2004 07:48:20
-0300
Message-ID: <[EMAIL PROTECTED]>
From: "Mable Metcalf" <[EMAIL PROTECTED]>
Reply-To: "Mable Metcalf" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED]
Subject: Need a home l.oan?
Date: Fri, 30 Apr 2004 07:45:20 -0300
MIME-Version: 1.0
Content-Type: text/html;
        boundary="--8829173781325633130"
X-Priority: 3
X-IP: 142.0.104.36
X-TMDA-Recipient: [EMAIL PROTECTED]

----8829173781325633130
Content-Type: text/html;
Content-Transfer-Encoding: 7Bit

<html><meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"><p>Take advantage of the LOWEST mort.gage rat.es in
over 14 years!
<p>
Now is the perfect time to refi.nance your existing mort.gage, take cash
out for home improvements, or consol.idate your de.bt into one low
monthly payment.
<p>
<b><a href="http://www.expeditemortgage.net/?mal";>Apply Now</a></b>
<p><p><font color=#CCCCCC>deactivate electrician beech donnelly asymmetry
epithelial index clockwatcher drill inborn bruckner condemnatory cowbell
lethe celerity bedspring garry keaton humanitarian pm doe javelin
greatcoat  stalwart botanist bud cayenne consanguineous clipboard
divergent peggy astrology auctioneer juicy allstate captor dither ghoul
focus turgid desist histrionic patti michelson backboard nostalgia
ornament gibbon convocate decomposition cashier mayhem quint symphony pal
elba cosgrove coniferous atkinson conference alamo haines conductance
sequitur arose bethesda rhodes by monty suey tablecloth xerography larch
crime phrasemake inexcusable v symposia epidermic akin obese hayden
mcgovern realisable psychopomp pyrex %T</font>
<a href="http://www.expeditemortgage.net/100/";>re.move</a><p>
</html>

----8829173781325633130--
==============================================================
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to