On Mon, 6 Jan 2003, Brian Harvell wrote:
>
> 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/^[ ]*//'`
> }
So I did end up having to make one change to this
RECIPIENT=`formail -z -c -x To | /usr/local/bin/eaddrparse.pl`
EXTENSION=`formail -z -c -x To | /usr/local/bin/eaddrparse.pl | sed -e "s/harvell+//"
-e "s/@.*//"`
eaddrparse.pl is the example script from the perl regexp for validating email
addresses with a few modifications. Some mailers like Outlook put <> on your address
even when confirming. The eaddrparse should be able to handle almost anything now.
> 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?
>
I guess no one has an easy way to do this yet? Sounds like a nice feature for
tmda-pending.... clear everything that matches my confirmed/whitelisted addresses.
Brian
--
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