Dave Steinberg <[EMAIL PROTECTED]> writes:

> Got this in my tmda-ofmipd logfile today:
> 
> error: uncaptured python exception, closing channel
> <__main__.VDomainProxy listening mail.geekisp.com:7025 at 0x10390c>
> (socket.error:(22, 'Invalid argument')
> [/usr/ports/lang/python/2.2/w-python-2.2.1p1/fake-i386/usr/local/lib/
> python2.2/asyncore.py|poll|95]
> [/usr/ports/lang/python/2.2/w-python-2.2.1p1/fake-i386/usr/local/lib/
> python2.2/asyncore.py|handle_read_event|386]
> [/usr/local/bin/tmda-ofmipd|handle_accept|1026]
> [/usr/local/bin/tmda-ofmipd|__init__|633])
> 
> 
> And was hoping someone might know if I goofed something along the way.
> I'm also not sure what I did to invoke it.  Generally tmda-ofmipd has
> been stable for me.

Is the SSL port-forwarding a new thing?  Are you using stunnel?  One
possible problem (I'm stretching here, trying to understand the
problem without full information about changes to your setup) is that
when tmda-ofmipd makes a name query (it uses gethostbyaddr()) for the
address 127.0.0.1, it gets an error.

This could be because your local DNS doesn't provide a reverse mapping
for 127.0.0.1 or because you're using /etc/hosts instead of a real DNS
server and your /etc/hosts doesn't properly map 127.0.0.1 to
localhost.

> Not too sure what might be relevant, but here's how I'm invoking
> tmda-ofmipd:
> 
> 
> sudo -u vpopmail sh -c 'PATH=$PATH:/usr/local/bin
> /usr/local/bin/tmda-ofmipd -u vpopmail -p mail.geekisp.com:7025 -R
> imap://mail.geekisp.com -S /usr/local/tmda/contrib/vpopmail-vdir.sh >>
> /var/log/tmda-ofmipd.log 2>&1 '

You don't need (and shouldn't use) the -u flag when running
tmda-ofmipd from sudo as the user 'vpopmail'.  I don't think that's
the cause of the above problem, though.

> I've got SSL managing the connection on port 8025, hooking it into
> port  7025.  Everything else is pretty much stock.  TMDA version 0.83.

This is what makes me curious about your name resolver setup.


Tim

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to