I was thinking 1864; that Lincoln wasn't on any CSA state ballots, obviously, even though they were/are states.
In 1860, it was a real mess. Officially, there were four candidates in the running. You had Lincoln-Hamlin for the GOP, Breckinridge-Lane for the Southern Democrat faction, Douglas-Johnson for the Regular Democrat faction, and Bell-Everett for the Constitutional Union (essentially ex-Whig).
There were 32 states participating in the election (SC opted out). Of those, only 7 had ALL 4 candidates on the ballot (CA, CT, DE, MA, MO, OH & PA).
Of the remaining 25, some had just two or three (with differing combos):
Those featuring Lincoln/Breckinridge/Douglas were IN, ME, NH, OR, VT.
Breckinridge/Bell/Douglas were AL, AR, GA, KY, LA, MD, MS, NC, TN, VA.
Breckinridge/Bell were FL & TX.
Lincoln/Douglas were IL, IA, MI, MN, NJ, NY, RI, WI.