Re: Testing tmda-ofmipd
[email protected] (Jason R. Mastaler)
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
David Leangen <[email protected]> writes: > Well, things work with localhost... > > su vpopmail -c '/usr/local/src/tmda/bin/tmda-ofmipd -d -f > --vhome-script /home/vpopmail/bin/vpopmail-vdir.sh -A > "/usr/local/vpopmail/bin/vchkpw /usr/bin/true"' > tmda-ofmipd started at Mon, 30 Oct 2006 13:37:04 +0900 > Listening on localhost.localdomain:8025 > Incoming connection from: ('127.0.0.1', 36174) > Incoming connection to: ('127.0.0.1', 8025) > > And I am positive that the packet is getting past my firewall. Just to > be sure, I even totally shut down my firewall for a few seconds to test > without a firewall. Still the same thing: > > telnet my.host.com 8025 > Trying [my.ip.address]... > telnet: connect to address [my.ip.address]: Connection refused > telnet: Unable to connect to remote host: Connection refused You have to start tmda-ofmipd on my.host.com if you want my.host.com:8025 to answer incoming connections. You do this with the '-p' option: -p HOST:PORT, --proxyport=HOST:PORT The HOST:PORT to listen for incoming connections on. The default is FQDN:8025 (i.e, port 8025 on the fully qualified domain name for the local host). Use '0.0.0.0:PORT' to listen on all available interfaces. So try adding '-p my.host.com:8025' to your tmda-ofmipd invocation.