A member over at TAGSRWC (The Andy Griffith Show Rerun Watchers Club) posts a couple of pages of photos from Star Trek episodes that made use of the set for good ol' Mayberry:
On this web page I will be showing some of the buildings of Mayberry that were used in 2 episodes of Star Trek, the original series. The Episodes are "Miri" and "The City on the Edge of Forever". Both have some great glimpses of Mayberry that we normally never see in a TAGS episode.
I would have loved to see Mr. Spock encounter Barney Fife. "You only carry one bullet? How illogical."