Re: Testing tmda-ofmipd
David Leangen <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
> Don't test the service using telnet. The example in the wiki just
> shows that tmda-ofmipd answers on the specified port. To test more
> than that it's best to just start it in a terminal using -f -d, and
> try to send mail through it. You'll be able to view the debugging
> output in that terminal.
Thanks so much for all your help!!
I'm obviously doing something wrong here... any hints?
Running this:
su vpopmail -c '/usr/local/src/tmda/bin/tmda-ofmipd -f -d -1
--vhome-script /home/vpopmail/bin/vpopmail-vdir.sh -A
"/usr/local/vpopmail/bin/vchkpw /usr/bin/true"'
I get this:
Traceback (most recent call last):
File "/usr/local/src/tmda/bin/tmda-ofmipd", line 1254, in ?
main()
File "/usr/local/src/tmda/bin/tmda-ofmipd", line 1215, in main
proxy = VDomainProxyProcessor()
File "/usr/local/src/tmda/bin/tmda-ofmipd", line 1012, in __init__
self._channel = SMTPChannel(self, conn)
File "/usr/local/src/tmda/bin/tmda-ofmipd", line 560, in __init__
self.__peer = conn.getpeername()
socket.error: (88, 'Socket operation on non-socket')
There appears to be a problem with "getpeername()"...
Another thing I don't yet understand is how the parameters for the
username and password are treated by tmda-ofmipd, so I'm not sure how to
test for this...
Cheers,
David