On Tue, 17 Dec 2002, Brian Harvell wrote:

>
> I'm trying to setup TMDA for the first time. Everything seems to be working
> except the confirm feature. If someone sends me an email, TMDA will respond
> back with a confirmation request. If the user responds to that confirmation
> request TMDA just sends the user another confirmation request.
>
> Attached is my config and incoming filter and log. What am I doing wrong?
>

So I figured out why this was not working. The envelope To was not being set
with the extension due to the configuration on the mail gateway. I have not
been able to get this resolved due to various reasons outside of my control.
However, I did get this to work:

I'm using sendmail with procmail and this is at the tail end of my procmailrc

# Set the necessary environment variables for TMDA
:0
* ^TO harvell\+.*
{
RECIPIENT=`formail -z -c -x To`
EXTENSION=`formail -z -c -x To | sed -e "s/harvell+//" -e "s/@.*//"`
SENDER=`formail -x Return-Path | sed 's/[<>]//g;s/^[ ]*//'`
}

:0 E
{
RECIPIENT="[EMAIL PROTECTED]"
EXTENSION=""
SENDER=`formail -x Return-Path | sed 's/[<>]//g;s/^[ ]*//'`
}

# Run the message through tmda-filter.
:0 w
| /usr/local/bin/tmda-filter

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

The question is what bad things can happen by relying on the To: header instead
of "To "  for the confirm messages? Lists and things will not go through this
since they are filtered beforehand with procmail and To: has to match
'harvell+.*'

Also while testing the confirm feature I notice that if someone sends you
multiple messages before confirming the first they have to confirm each one
separately. Is there an easy way to have them all confirmed at once?

Thanks
Brian (Happy and SPAM free at the moment)

-- 

Brian Harvell                [EMAIL PROTECTED]             http://ToolBoy.com/
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc


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

Reply via email to