Re: Trouble using stunnel and tmda-ofmidd

Kevin Goodsell <[email protected]> Thu, 2 Jun 2011 19:09:23 -0700
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
On Thu, Jun 2, 2011 at 1:20 PM, Anthony V. Ercolano <[email protected]> wr=
ote:
>
> My /etc/tmda/stunnel/tmda-ofmipd-wrapper is:
> #!/bin/sh
> exec /usr/local/src/tmda/current/bin/tmda-ofmipd -d -f -1
> -R=A0imaps://mail.ercolano.net=A0\
> =A0=A0=A0=A0=A0=A0=A0=A0-S /usr/local/src/tmda/current/contrib/vpopmail-v=
dir.sh \
> 2>>/var/log/tmdaofmipd
>
> (I see no messages in /var/log/tmdaofmipd.)

It seems quite strange that you would see nothing here. tmda-ofmipd
with -d should output something. It may be because you are only
capturing stderr. I'd suggest getting stdout also with something like
2>&1 >>/var/log/tmdaofmipd.

If you really get no output from tmda-ofmipd, I'd say it probably
isn't actually running. You might want to try running it in the
foreground from a terminal to see what happens.

> 2011.06.01 21:21:10 LOG3[32556:3083143808]: connect: Operation now in
> progress (115)
> 2011.06.01 21:21:10 LOG5[32556:3083143808]: Connection reset: 0 bytes sent
> to SSL, 0 bytes sent to socket
> 2011.06.01 21:21:10 LOG7[32556:3083143808]: Service stunnel finished (0
> left)
>
>
> The next to last line seems like where things really break. =A0Is there s=
ome
> sort of protocol mismatch between stunnel and tmda-ofmipd?

You might want to try connecting with openssl to see if there are any
clues there:

openssl s_client -connect address:port -crlf

I'm not sure if you need the -starttls smtp option or not with your
configuration.

-Kevin

---------------------------------------------------------------------------=
---
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. =

http://p.sf.net/sfu/quest-dev2dev2 =

_______________________________________________
tmda-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmda-users