On the proximity effect in unconventional superconductors