This is the line for me to log pop3 connections to /var/log/maillog
#!/bin/sh
/usr/bin/logger -p mail.info -t pop3d "[$USER] logged in from $TCPREMOTEIP [$TCPREMOTEHOST]"
exec /var/qmail/bin/qmail-pop3d $1
 
it works fine and shows the ip and host if its resolvable but it doesnt show the username
am i using the wrong variable? do i need a patch? does vpopmail use different scheme for loggin this?
 

Reply via email to