I have recently flown 4 segments with TAM (domestic) and posted the miles in my Flying Blue account. It's quite a good deal, as you earn a minimum of 750 miles (on most fares).
Otherwise, TAM miles can be credited to UA MP or TP Victoria (if you're looking for *A) or, of course, in TAM's own "Fidelidade" programme.