My version:

TMDA/1.0 "Cannonade" (Python/2.3 on
Linux-2.4.22-10mdkenterprise-i686-with-mandrake-9.2-FiveStar)

I installed TMDA 1.0 via the tarball on a Mandrake 9.2 system.  I'm using
postfix version 2.0.16.

I'm getting this in my debug log:

Uncaught Python 2.3 Exception (Mon Jan  5 10:03:01 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 807, in main
    envelope_sender)
  File "./TMDA/Util.py", line 471, in confirm_append_address
ValueError: unpack list of wrong size

I'm guessing it has to do with receiving bounced messages.  That's the only
thing I think of where the envelope sender wouldn't have an @ to split on.

My incoming filter looks like this:

# Accept all bounces (messages with an empty envelope sender)
from <> ok

# Include my blacklist and whitelist
from-dbm -optional ~/.tmda/lists/blacklist.db drop
from-cdb -optional ~/.tmda/lists/whitelist.cdb accept
from-file -optional -autodbm ~/.tmda/lists/nastygrams bounce
from-file -optional -autocdb ~/.tmda/lists/confirmed ok
from-file -optional ~/.tmda/lists/whitelist_wildcards accept

My outgoing filter looks like this:

# All mail from postmaster is sent bare
from [EMAIL PROTECTED] bare
from [EMAIL PROTECTED] bare

# All whitelisted contacts receive untagged messages
to-cdb -optional ~/.tmda/lists/whitelist.cdb bare
to-file ~/.tmda/lists/whitelist_wildcards bare

Here is some more info from my mail logs.  Looks like the problem is
definitely when the message is from <>.

This is from my postfix info log:

Jan  4 12:18:51 darius postfix/pickup[10261]: 59BEE2827B: uid=417
from=<[EMAIL PROTECTED]>
Jan  4 12:18:51 darius postfix/cleanup[12415]: 59BEE2827B:
message-id=<[EMAIL PROTECTED]>
Jan  4 12:18:51 darius postfix/nqmgr[8712]: 59BEE2827B: from=<>, size=4993,
nrcpt=1 (queue active)
Jan  4 12:18:51 darius postfix/local[12459]: 59BEE2827B:
to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>,
relay=local, delay=0, status=deferred (temporary failure. Command output:
See /home/andrea/.tmda/logs/debug for traceback )

Jan  4 12:37:56 darius postfix/nqmgr[8712]: 59BEE2827B: from=<>, size=4993,
nrcpt=1 (queue active)
Jan  4 12:37:57 darius postfix/local[23580]: 59BEE2827B:
to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>,
relay=local, delay=1146, status=deferred (temporary failure. Command output:
See /home/andrea/.tmda/logs/debug for traceback )

Jan  4 13:11:16 darius postfix/nqmgr[8712]: 59BEE2827B: from=<>, size=4993,
nrcpt=1 (queue active)
Jan  4 13:11:17 darius postfix/local[8942]: 59BEE2827B:
to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>,
relay=local, delay=3145, status=deferred (temporary failure. Command output:
See /home/andrea/.tmda/logs/debug for traceback )

[...]

Jan  5 12:00:44 darius postfix/nqmgr[6595]: 59BEE2827B: from=<>, size=4993,
nrcpt=1 (queue active)
Jan  5 12:00:45 darius postfix/local[10440]: 59BEE2827B:
to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>,
relay=local, delay=85314, status=deferred (temporary failure. Command
output: See /home/andrea/.tmda/logs/debug for traceback )

Here's my TMDA debug log that corresponds to 12:00:45:

Uncaught Python 2.3 Exception (Mon Jan  5 12:00:45 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 807, in main
    envelope_sender)
  File "./TMDA/Util.py", line 471, in confirm_append_address
ValueError: unpack list of wrong size


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

Reply via email to