Re: Testing tmda-ofmipd

Stephen Warren <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
> 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')

You can't run in "-1" mode, unless the stdin/out of the process is a
socket. To test out your TMDA configuration "interactively", you'll need
to remove "-1" from the command-line, stop xinetd/whatever from
listening on that port, and let tmda-ofmipd accept its own inbound TCP
connections.

Alternatively, simply set it up to run from xinetd/whatever to run
tmda-ofmipd, and just send email from your mail client.
signature.asc (application/pgp-signature, 250 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFRWuyhk3bo0lNTrURAl3xAKCeMpHHpfAgXZ70fJhKnIQfOLTS6gCeNA1r
whVtgtIiuAhLyBjMm6jmOUs=
=ok+x
-----END PGP SIGNATURE-----
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.