> My tmda-ofmipd-wrapper contains: > #!/bin/sh > exec /usr/src/tmda/tmda-1.1.7/bin/tmda-ofmipd -f -1 -d -R > imaps://mail.ercolano.net \ > -S /usr/src/tmda/tmda-1.1.7/contrib/vpopmail-vdir.sh \ > 2>&1
This command redirects tmda-ofmipd's stderr (to which debug logs are sent) to tmda-ofmipd's stdout (which is handling the SMTP session). As such, stunnel is receiving tmda-ofmipd's debug log, and attempting to interpret is as an SMTP protocol stream, hence the messages: > 2006.10.10 04:48:03 LOG3[17137:3083996048]: Unknown server welcome > 2006.10.10 04:48:03 LOG5[17137:3083996048]: Protocol negotiation failed > 2006.10.10 04:48:03 LOG3[17137:3083996048]: Protocol negotiations failed To fix this, redirect stderr somewhere else, e.g.: > My tmda-ofmipd-wrapper contains: > #!/bin/sh > exec /usr/src/tmda/tmda-1.1.7/bin/tmda-ofmipd -f -1 -d -R > imaps://mail.ercolano.net \ > -S /usr/src/tmda/tmda-1.1.7/contrib/vpopmail-vdir.sh \ > 2> /var/log/something
signature.asc
Description: OpenPGP digital signature
_____________________________________________ tmda-users mailing list (tmda-users@tmda.net) http://tmda.net/lists/listinfo/tmda-users