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
vpopmail has its own logging mechanism, its a compile time option.
-Original Message-
From: Kevin - System Administrator [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 2:06 PM
To: [EMAIL PROTECTED]
Subject: Logging Vpopmail pop3
This is the line for me to log pop3
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 $
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 user