Re: Starting tmda-ofmipd with tcpserver and stunnel

Anthony Ercolano <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
Thank you so much, it works beautifully now.

On 2006-10-10 08:33:37 -0700, Stephen Warren <[email protected]> said:

> This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
> 
> This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
> 
>> 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 faile=
> d
> 
> 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
> 
> 
> 
> 
> This message has one or more attachments. Select "Save Attachments" 
> from the File menu to save.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.