How can you expect the $USER to be set when /var/qmail/bin/qmail-pop3d is the program the aquires the USER name and password?
Sean ----- Original Message ----- From: Kevin - System Administrator To: [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 1:06 PM Subject: Logging Vpopmail pop3 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?