On Tuesday, November 13, 2001, at 01:06 PM, Kevin - System Administrator 
wrote:

> 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?

This isn't necessary.  vpopmail logs information already, based on your 
--enable-logging option.  See FAQ #11 for details.  Just run vchkpw from 
tcpserver as illustrated in the INSTALL file and ditch the above script.

-Bill

Reply via email to