How to match preamp and power amp?

How to match them by looking at the preamp output impedance and the input impedance of the amp? Any magic numbers? I don't understand their relationship. Please help.
Buying within the same mfg. line takes all the guesswork out of equipment matching.They spend hundreds of thousands of dollars on R&D to insure their equipment works together.I'm not in any way saying mix and match does not work,just stating the obvious.
Ok, I am going to borrow from Wikipedia, and also add some things I have found to work.

If you think of your preamp as a source, and your power amp as a load, then you may consider that maximum power transfer can occur when the output impedance of the preamp matches the input impedance of the power amp. However, in high fidelity audio, it is typically considered optimum to have a source with low impedance connected to a load with high impedance. In that case, the power that can pass through the connection is limited by the higher impedance (so power transfer is not maximum), but the electrical voltage transfer is higher and less prone to corruption than if the impedances had been matched.

When matching preamps to power amps, a general rule of thumb is for the load (amp) input impedance to be at least 10 times higher than the source (preamp) output impedance to provide a suitably flat frequency response. Many prefer using a minimum ratio closer to 20 to 1, or having an amp with input impedance 20 times or more greater than the preamp output impedance.

With solid state preamps, this is generally not a problem since most have output impedance of only a few hundred ohms or less, while most SS amps have input impedance of at least 10K ohms. However, you must pay much closer attention when trying to match tubed preamps to SS amps, since many tubed preamps have an output impedance of several thousand ohms or greater. Another thing to watch is how the output impedance spec is reported, since it is sometimes limited to a measurement at a given frequency such as 1K Hz, while the actual output impedance may vary with frequency. It is not unusual for the output impedance of tubed preamps to rise significantly as the signal approaches a lower frequency of 20 Hz, because of the size of coupling capacitors used in the preamp. In these cases, a low frequency roll off can occur whereby, for the same power output, the lower frequencies drop in output compared to the rest of the frequency range, resulting in a loss of deep bass.

The good news is that most tubed amps have sufficiently high input impedance to allow the use of most preamps, tubed or SS. Also, for SS power amps, input impedances of around 50K ohms and above are common and these amps should work well with the vast majority of tubed and SS preamps.

Only a couple of manufacturers make SS amps with input impedances of 10K ohms (e.g., McCormack DNA500), and a couple (such as Pass) make SS amps with input impedance of 20K ohms. These lower impedance amps would require careful matching with tubed preamps. If you are trying to match a preamp with one of these lower input impedance amps, you should try to find information on your preamp's output impedance throughout the entire frequency range. Some manufacturer's report this information and some do not. A good source is a Stereophile review, since JA commonly provides the information as part of his measurements. Others will likely have good suggestions I have missed, but this information should give you a good starting point.
Others will likely have good suggestions I have missed ...
Not me! That was a REALLY excellent writeup, Mitch2.

I'll just add a little emphasis to your mention in the first paragraph that power transfer is completely unimportant between preamp and power amp, as well as for any other line-level interfaces. What matters is transferring the signal VOLTAGE accurately.

And although it's not directly relevant, it may be worth mentioning that high preamp output impedance in combination with high cable capacitance can produce a slight upper treble rolloff. That will usually only be a significant effect if the run is very long, and the cable type has high capacitance per unit length, and the preamp output impedance is high.

Best regards,
-- Al