Hi there.
I currently set it up like this in /etc/rc.d/init.d/qmail:
supervise /var/lock/qmail-pop3d tcpserver -H -R -v -c100 0 110 \
/var/qmail/bin/qmail-popup yoursite.com /home/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d-log1 Maildir 2>&1 | setuser qmaill accustamp | \
setuser qmaill cyclog -s5000000 -n5 /var/log/qmail/qmail-pop3d &
with qmail-pop3d-log1 being a shell script:
#!/bin/sh
logger -p local2.info -t pop3d "$USER logged in from $TCPREMOTEIP
($TCPREMOTEINFO)"
exec /var/qmail/bin/qmail-pop3d $1
I'm still having problems with logging the username though ($USER doesn't
seem to work).
Anyway, at least connections to the pop3 server are logged.
Any idea for the username logging???
Regards!
J.M. Roth
----- Original Message -----
From: "Cameron Arnott" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 26, 1999 1:32 AM
Subject: qmail pop3d not logging..
> i've set up all the logging scripts the same send qorks smtpd works but
> logging for pop3d doesn't..
>
> I does however access the dir and files for the logging as is verified
> when i delete the dir and files therein.. because the next time i start
> qmail up it rebuilds the dir and the files inside the dir.. ..
>
> pop3d is working fine.. everyons getting their mail.. its simply not
> logging..
>
> any suggestions welcome and questions will be answered
>