Re: Starting tmda-ofmipd globally
Anthony Ercolano <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
What version of tmda does one need to be running to use the "-1" switch? I was on the 1.03 version (the stable version for gentoo). I just did a quick upgrade to 1.1.4 (the latest test version available ebuild for gentoo). "-1" didn't seem to be there. The quick upgrade to 1.1.4 didn't seem to help tmda-cgi very much. I'm off to fix that now. On 2006-10-06 22:35:35 -0700, Stephen Warren <[email protected]> said: > This is an OpenPGP/MIME signed message (RFC 2440 and 3156) > > This is an OpenPGP/MIME signed message (RFC 2440 and 3156) > > Anthony Ercolano wrote: >> Now I want to start it at boot and make sure it always is around. =20 >> Seemed like the best thing was to copy how qmail keeps itself running=20 >> and to use the supervise service in conjunction with tcpserver. >> =20 >> To test this I took the line from the runscript and I then tried from=20 >> the command line, and telneted to mail.ercolano.net 8025: >> =20 >> mail tmda-ofmipd # /usr/bin/tcpserver -v -x=20 >> /etc/tcprules.d/tcp.tmda-ofmipd.cdb -c 40 -u 89 -g 89 mail.ercolano.net= > =20 >> 8025 /usr/bin/tmda-ofmipd -d -R imaps://mail.ercolano.net -S=20 >> /usr/lib/tmda/contrib/vpopmail-vdir.sh >> ... > >> Traceback (most recent call last): >> File "/usr/bin/tmda-ofmipd", line 1257, in ? >> main() >> File "/usr/bin/tmda-ofmipd", line 1217, in main >> ('localhost', 25)) >> File "/usr/bin/tmda-ofmipd", line 997, in __init__ >> self.bind(localaddr) >> File "/usr/lib/python2.4/asyncore.py", line 304, in bind >> return self.socket.bind(addr) >> File "<string>", line 1, in bind >> socket.error: (98, 'Address already in use') >> tcpserver: end 15665 status 256 >> tcpserver: status: 0/40 >> =20 >> Any thoughts n what I'm not understanding here? (tcp.tmda-ofmipd (used = > >> to create the cdb) contains a simple ":allow") > > By default, tmda-ofmipd expects to open the network port itself, and > listen for new connections, and handle them. > > If instead, you're using tcpserver/stunnel/xinetd/... to do this, you > need to put tmda-ofmipd into "one-session" mode. > > To run in one-session mode, simply pass the "-1" (that's dash one) > command-line option. > > See the following URL for details: > > http://wiki.tmda.net/TmdaOfmipdHowto#head-906d80417bc02c8c7157ade2f32afef= > cc5ac180e > > > > This message has one or more attachments. Select "Save Attachments" > from the File menu to save. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org