From: "Loryan Strant" <[EMAIL PROTECTED]>
> I am running vpopmail 4.9.10 on OpenBSD.
> I would like to be able to have the POP3 logs in a different file.
> How do I go about doing this?

I supervise pop3d and here are my run scripts ...

bash-2.04# cat /var/qmail/supervise/qmail-pop3d/run
#!/bin/sh
exec /usr/local/bin/softlimit -m 2000000 \
tcpserver -l0 -v -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
updegrove.net /var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1

bash-2.04# cat /var/qmail/supervise/qmail-pop3d/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill multilog t /var/log/qmail/pop3d

tail -f /var/log/qmail/pop3d/current | /usr/local/bin/tai64nlocal

yields logs like ...

2001-04-28 19:25:53.016385500 tcpserver: status: 1/40
2001-04-28 19:26:04.328102500 tcpserver: status: 2/40
2001-04-28 19:26:04.329268500 tcpserver: pid 14920 from 192.168.0.2
2001-04-28 19:26:04.329444500 tcpserver: ok 14920 0:10.10.0.33:110
:192.168.0.2::1387
2001-04-28 19:26:04.587193500 tcpserver: end 14920 status 256
2001-04-28 19:26:04.587284500 tcpserver: status: 1/40


Reply via email to