I had asked Eric,
T> Does address1(_at_)newdomain(_dot_)com by any chance equal the address where
you're
T > running this recipe?
H> Nope.
OK.
T> What happens, Eric, if you replace the perl recipe with just this,
T> :0a
T> ! `cat /path/file_of_addresses.txt`
H> The same thing happens (multiple forwards), of each of the two
H> addresses in the .txt file (scaled it down to only 2 entries).
But both addresses receive it. With the perl command you said that only
the first address receives it.
I think we do have a loop here: somehow it is coming back to the address
that runs the recipe. Sean Straw's advice to make the Old-Postmark: line
do double duty as a loop detector was very good:
:0fhw
* ^TOwhatever(_at_)it\(_dot_)was
* ! ^Old-Postmark:
| formail -R 'From ' Old-Postmark:
:0a
! `cat /path/file_of_addresses.txt`
Please try that and let us know what happens.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail