Hello,
I'm trying to understand how does the splooger work. I'm using
qmail-1.03, ucspi-tcp, daemontools and supervise-scripts.
There are run script in /var/qmail/service/<service> and
/var/qmail/service/<service>/log.
The run script in the log dirs starts 'splogger' with the name of
service.
But how does the splogger know what to log? As I looked to its sources
it reads stdin and passes it to the syslog. Who redirects the output
from the daemon (e.g. pop3, smtp, ...) to the appropriate splogger?
I want to know it as I use Courier-IMAP and I want to use it with
tcpserver (instead of its own couriertcp), and I want to have some log
from IMAP server.
Can someone describe the qmail logging internals? I hove found nothing
on the web and in the docs and reading sources didn't engligten me.
Regards,
Martin