STunnel Not Reading Configuration File
Solution 1:
You may have both stunnel3 & stunnel4 installed on your system.
The default for "stunnel" is to softlink it to stunnel3:
root@sibelius:/usr/bin# ls -l stunnel*
lrwxrwxrwx 1 root root 8 Oct 18 2011 stunnel -> stunnel3
-rwxr-xr-x 1 root root 2797 Oct 18 2011 stunnel3
-rwxr-xr-x 1 root root 109904 Oct 18 2011 stunnel4
The syntax of the stunnel.conf for stunnel3 is not compatible with the one for stunnel4.
Hence the error. Try removing stunnel3.
Solution 2:
Found my problem... It's not really documented (at least on my Ubuntu system). If I run the command
> stunnel4 config.conf
Then everything works, and all output shows up in the debug log file (if configured in the config file).