Hello, 

A few weeks ago, I installed tmda with a bit of 
difficulty on my RedHat 7.3 system running sendmail.

Now, I seem to be having some problems.
For example, some guy sent me 2,500 identical junk
mails which ended up in my pending folder. Due to some
apparent instabilities in tmda-pending, I finally had
to blow away my pending directory with everything in
it.  

The tmda-pending problems: well, among the 2,500 identical
messages there were a few others, and for some reason they
cause tmda-pending to crash. Once it crashes, it apparently
looses track of the fact that it already released several
hundred messages, so the next invocation of tmda-pending,
I'm back to square one.  

Here is the output of a typical tmda-pending crash:

1030555269.2975.msg (276 of 1890 / 27893 bytes)
  >> Date: Tue, 27 Aug 2002 03:33:36 -0500
  >> From: "Brian Fleener" <[EMAIL PROTECTED]>
  >>   To: None
  >> Subj: $5 IN YOUR MAILBOX ! LEARN HOW !!
([p]ass / [s]how / [r]el / [d]el / [w]hite / [b]lack / [q]uit) [pass]: 
release 1030555269.2975.msg
Traceback (most recent call last):
  File "/usr/local/tmda/bin/tmda-pending", line 497, in ?
    main()
  File "/usr/local/tmda/bin/tmda-pending", line 463, in main
    release(headers, body, msg)
  File "/usr/local/tmda/bin/tmda-pending", line 295, in release
    Util.sendmail(headers, body, recipient, return_path)
  File "./TMDA/Util.py", line 425, in sendmail
  File "./TMDA/SMTP.py", line 51, in sendmail
  File "/usr/lib/python2.2/smtplib.py", line 651, in sendmail
    (code,resp) = self.data(msg)
  File "/usr/lib/python2.2/smtplib.py", line 449, in data
    q = quotedata(msg)
  File "/usr/lib/python2.2/smtplib.py", line 185, in quotedata
    re.sub(r'(?:\r\n|\n|\r(?!\n))', CRLF, data))
  File "/usr/lib/python2.2/sre.py", line 143, in sub
    return _compile(pattern, 0).sub(repl, string, count)

The message shown above is one of the 2,500 messages (I had
previously worked it down by hand to 1890.  
Apparently the next message causes some problem and
if I attempt to release it, kaboom.  If I delete it, OK.
However, given the sheer volume it is impossible to do it
manually. I was at the point of feeding tmda-pending 1890
"r" commands via a script when this bug came up. 

======= end of first problem causing total loss of pending folder ====

Now, I look in my tmda log file, and I have 2.7 megabytes of the
following messages:

============ log messages ============
Uncaught Python 2.2 Exception (Fri Aug 30 17:01:23 2002):
---------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/tmda/bin/tmda-filter", line 50, in ?
    execfile(os.path.join(execdir, 'tmda-rfilter'))
  File "/usr/local/tmda/bin/tmda-rfilter", line 736, in ?
    main()
  File "/usr/local/tmda/bin/tmda-rfilter", line 693, in main
    bouncegen('bounce', Defaults.BOUNCE_TEXT_FILTER_INCOMING)
  File "/usr/local/tmda/bin/tmda-rfilter", line 629, in bouncegen
    send_bounce(bounce_message, already_confirmed=1)
  File "/usr/local/tmda/bin/tmda-rfilter", line 344, in send_bounce
    envelope_sender, Defaults.BOUNCE_ENV_SENDER)
  File "./TMDA/Util.py", line 425, in sendmail
  File "./TMDA/SMTP.py", line 51, in sendmail
  File "/usr/src/build/87651-i386/install/usr/lib/python2.2/smtplib.py", line 650, in 
sendmail
    raise SMTPRecipientsRefused(senderrs)
SMTPRecipientsRefused: {'[EMAIL PROTECTED]': (550, '5.1.1 <[EMAIL PROTECTED]>... 
User unknown')}


If anyone has any idea why this is happening, I would appreciate
a word. 

==================

After using this for a time, I find the idea quite OK, but tmda
seems to crash a lot. Not acceptable. In addition, what I REALLY
want is that tmda would drop pending messages into my standard
mail pending folder (standard IMAP folder on my server in my 
home directory).  That way, I could examine the pending messages
using a standard email program such as Evolution, and I would 
know what messages I had seen and which I had not seen.

Then after some defined time, I would like tmda to move the message
to either the trash bin, or my Spam folder (standard IMAP folder).

This would be really cool. I would then be able to manipulate
the messages more or less as I want from Evolution. Of course,
tmda should be smart enough to realize that I have moved
messages out of the pending folder.

Best regards,

Kern

PS: Sorry, I haven't yet taken the time to get output filtering
    to work, so unless you email me from tmda.net, you'll need
    to do the little reply jig.

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

Reply via email to