Cory Wright <[EMAIL PROTECTED]> writes:

> Here is the bounce.txt header from the account I will use
> in this example:
> 
>   From.US-ASCII: <%(confirm_accept_address)s>
>   Subject.US-ASCII: failure notice
> 
> I have updated the confirm_request.txt and confirm_accept.txt files too.
> Here is what is being spit out in my LOGFILE_DEBUG:
> 
>   Uncaught Python 2.2.1 Exception (Thu Nov 28 00:02:14 2002):
>   -----------------------------------------------------------
>   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 771, in ?
>       main()
>     File "/usr/local/tmda/bin/tmda-rfilter", line 766, in main
>       do_default_action(default_action, 'action_incoming', bouncetext)
>     File "/usr/local/tmda/bin/tmda-rfilter", line 392, in do_default_action
>       bouncegen('request')

A call to bouncegen with 'request' as a parameter means that a
confirmation message is being generated.  You've shown us your
bounce.txt template above, but what we really need to see is your
confirm_request.txt.  I suspect you're including the original subject
in your confirm_request.txt's Subject field.

> I thought that it might have something to do with the charset, so I
> looked in qmail's queue and found a message that was causing this
> error.  Here is the top of that file:
> 
>   Subject: Fw: wonlo.com - <BB><E1><D2><E9><B5><E7><BB><B0>

This garbage is why I suspect you're including the original subject.

> Is this a problem with my template headers?  Must I specify each charset that I 
> want, or can I do something like:
> 
>   Subject.US-ASCII: failure notice in us-ascii
>   Subject.DEFAULT: failure notice for all others

I believe the problem you're seeing is that the Subject uses non-ASCII
characters but is not properly RFC2047-encoded.  This is a bug in the
software that sent the mail, but we can at least try to figure out how
to make TMDA react a little more gracefully.

When Jason gets back, he'll probably take a look at it.  I would, but
I barely have time to breathe this weekend.


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

Reply via email to