Program failure (75) (help)

Márcio Luciano Donada <[email protected]> Tue, 11 Aug 2009 10:58:49 -0300
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
Hi list,
My configuration is

# cd /home/fulano
# cat .forward
"|/usr/bin/procmail -p"


# cat .procmailrc
:0 w
| /usr/local/tmda/bin/tmda-filter

# Take the exit code from TMDA.
EXITCODE=$?

# TMDA takes care of final delivery
DEFAULT=/dev/null

# cd .tmda
# cat config
import os,time
MAIL_TRANSFER_AGENT = "postfix"
RECIPIENT_DELIMITER = "+"
RECIPIENT_HEADER = "to"
#RECIPIENT_HEADER = "delivered-to"
#RECIPIENT_HEADER = "x-originally-to"
CRYPT_KEY_FILE = "/home/fulano/.tmda/crypt_key"
CONFIRM_ADDRESS = "[email protected]"
CONFIRM_APPEND = "/home/fulano/.tmda/lists/confirmed"
DATADIR = "/home/fulano/.tmda/"
FILTER_INCOMING = "/home/fulano/.tmda/filters/incoming"
FILTER_OUTGOING = "/home/fulano/.tmda/filters/outgoing"
FULLNAME = 'fulano'
HOSTNAME = "xxxxxxxxxxx.com.br"
LOGFILE_DEBUG = "/home/fulano/.tmda/tmdadebug.log"
LOGFILE_INCOMING = "/home/fulano/.tmda/tmdaincoming.log"
LOGFILE_OUTGOING = "/home/fulano/.tmda/tmdaincoming.log"
ADDED_HEADERS_CLIENT = {"X-Primary-Address": "[email protected]"}
PENDING_BLACKLIST_APPEND = "/home/fulano/.tmda/lists/blacklist"
PENDING_WHITELIST_APPEND = "/home/fulano/.tmda/lists/whitelist"
TEMPLATE_DIR = "/home/fulano/.tmda/templates/"
#DELIVERY = "|/usr/bin/procmail -f $SENDER"
DELIVERY = "~/Maildir/"

In tmdadebug log file:
Uncaught Python 2.4.4 Exception (Tue Aug 11 10:40:46 2009):
-----------------------------------------------------------
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 213, in ?
    orig_msgin_as_string = Util.msg_as_string(msgin)
  File "./TMDA/Util.py", line 552, in msg_as_string
  File "./TMDA/pythonlib/email/generator.py", line 84, in flatten
  File "./TMDA/pythonlib/email/generator.py", line 109, in _write
  File "./TMDA/pythonlib/email/generator.py", line 135, in _dispatch
  File "./TMDA/pythonlib/email/generator.py", line 266, in _handle_message
  File "./TMDA/pythonlib/email/message.py", line 185, in get_payload
TypeError: Expected list, got <type 'str'>


In the postfix log file:
temporary failure. Command output: procmail: Program failure (75) of
"/usr/local/tmda/bin/tmda-filter"

Some ideas

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
tmda-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmda-users