On Monday, Feb 23, 2004, at 15:35 US/Mountain, Lloyd Zusman wrote:


Jeff Ross <[EMAIL PROTECTED]> writes:

[ ... ]

I even put tmda-ofmipd back under daemontools [ ... ]

This is off your original topic: I use daemontools for other services, but I had trouble getting tmda-ofmipd to work that way.

Would you be willing to post how you set it up under daemontools?

Thanks, either way.

-- Lloyd Zusman
[EMAIL PROTECTED]


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



This is adapted from a message that Tim Legant posted some time back.


[EMAIL PROTECTED] $ cat /service/tmda-ofmipd/run
#!/bin/sh
#start tmda-ofmipd
exec /usr/local/src/tmda/bin/tmda-ofmipd -f \
        -p heinlein.openvistas.net:8025 \
        -R pop3://heinlein.openvistas.net \
        2>&1 | logger -t TMDA


and is for this platform:


[EMAIL PROTECTED] $ tmda-pending -V
TMDA/1.0 "Cannonade" (Python/2.3.3 on OpenBSD-3.4-i386-Intel_Pentium_Pro_-GenuineIntel-_686- class,_256KB_L2_cache-32bit-ELF)



logger doesn't see any traffic unless I add the -d flag to tmda-ofmipd, but it then sends all output to syslog (for me socklog). I don't know if logger is OpenBSD specific or not.


If you haven't ever watched tmda-ofmipd running with the -d flag in place, be prepared for a lot of logging! A couple of e-mails will fill the default multilog size and roll into the next one.

One other caveat...although tmda-ofmipd seems to run okay under daemontools, sending a svc -d to /service/tmda-ofmipd will not cause the daemon to go down. Instead, svstat /service/tmda-ofmipd will report that the service is up but wants down, and that's where it stays. svc -t seems also not to work as it should. In fact, in my limited testing so far, I found the easiest way to have tmda-ofmipd run with different flags (i.e., -d or not) was to reboot.

Jeff
--
Jeff Ross
Open Vistas Networking, Inc.
http://www.openvistas.net
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to