> % mailfs -t imap.gmail.com > /sbin/stunnel exec failed at /usr/sbin/stunnel3 line 39. > mailfs: imapconnect: no greeting
I think your stunnel3 is broken. stunnel3 is actually a perl script that runs stunnel 4. In your case, it thinks stunnel 4 is at /sbin/stunnel, but it's not. fhs