/etc/init.d/tenshi stop does not work, ps aux | grep ten still shows the tenshi perl script, and the tail process. Reproducible: Always Steps to Reproduce: 1. 2. 3.
which version do you speak about?
latest stable x86 version I think. (unless tenshi is only ~, then i'd have unmasked it to ~x86) I should also mention that I can't easily reproduce this, it has only happened a handful of times.
You still having this issue?
Closing due to lack of feedback.
I installed a new server that's using 0.3.4 and I am having this issue again. Right now I'm also having other problems with tenshi though (sorting out config/email stuff)... I'll let you know if it's related to a weird configuration problem.
sorry, forgot to reopen it :)
I found the source of this problem! my mail server wasn't able to receive traffic from 127.0.0.1:25 because iptables was blocking it. Tenshi won't stop if it can't flush the queues and send out the mail. (when i ran it in the foreground, i had to hit ctrl-C a few times and it gave a message about 127.0.0.1:25 finally)
There's no timeout in Net::SMTP for binding, only a timeout for SMTP replies. So you are using kernel tcp/ip stack timeouts there and tenshi is just waiting for the connection. I'm afraid there's no sensible solution for this atm (not without ugly hacks anyway)