Re: Logging Vpopmail pop3

2001-11-13 Thread Bill Shupp


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




RE: Logging Vpopmail pop3

2001-11-13 Thread Tim Hunter

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




Re: Logging Vpopmail pop3

2001-11-13 Thread Sean C Truman

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?