Koozali.org: home of the SME Server

smtfront-qmail not logging

Jens H. Kruuse

smtfront-qmail not logging
« on: August 20, 2003, 02:41:20 AM »
I have a working email system with AVMailgate (www.free-av.com) which works just fine. Before installing that wonderful piece of software I had a working email system using just mailfront and fetchmail (& qmail). I used a couple of blacklists and everything was just fine.

However, for some (to me) unfathomable reason smtpfront-qmail has stopped logging anything at all. It is not because of the AV stuff as they were both working for a while concurrently with the logs in order. I know that the daemon is still running and working as killing it leads to no mail and the Mailgate complaing.

If I try starting /var/service/smtpfront-qmail/log/run though the console the process is not working. It shows up as "T" (terminated?) instead of "R" (running) or "S" (service?) in ps.

This is not a critical problem but I would like to have the log back. Any suggestions? Btw, the server has been rebooted without any luck. :-(

Jens Kruuse

Re: smtfront-qmail not logging
« Reply #1 on: September 20, 2003, 02:05:45 AM »
(Answering my own question to save an answer for "searches).

I installed Upgrade5, did the various signal-events and following the reboot things were back in order. :-)

Btw, I had tried lots of things and made absolutely sure that the directory permissions were as they should be, e.g. 1755 for /var/service/smtpfront-qmail/log

/Jens

David Bray

Re: smtfront-qmail not logging
« Reply #2 on: October 17, 2003, 06:28:58 PM »
I make it that the permisions on /var/service/smtpfront-qmail should be sticky

see;
http://cr.yp.to/daemontools/faq/create.html#runlog

mine wasn't, change with;
chmod o+t /var/service/smtpfront-qmail

not sure how to restart so rebooted for effect.