RE: logging pop3d access into a separate log file

2001-04-29 Thread Loryan Strant

I reconfigured vpopmail 4.9.10, with the following options:
--enable-logging=y
--enable-log-name=vpopmail

but it's still logging for /var/log/maillog

any other ideas?

Loryan

-Original Message-
From: Rick Updegrove [mailto:[EMAIL PROTECTED]]
Sent: Monday, 30 April 2001 1:19 PM
To: Loryan Strant
Cc: [EMAIL PROTECTED]
Subject: Re: logging pop3d access into a separate log file


From: Loryan Strant [EMAIL PROTECTED]
 I want to keep the logs the way they currently are, but have them log into
a
 file like /var/log/vpopmail.
 I'm also running courier-imap 1.3.5, so unfortunately your script doesn't
 help me.
 Any other ideas?

./configure --help
--enable-logging=e|y|n|p|v   Turn on (y) or off (n) logging to syslog, (e)
only
log errors, include passwords in errors (p)
--enable-log-name=vpopmail   set syslog name.

I know the changelog for 4.99 indicates that --enable-log-name was not
being
used in vchkpw.c - fixed  I also know that was an ongoing source of
confusion
which has been hopefully cleared up once and for all.


Rick Up






logging pop3d access into a separate log file

2001-04-28 Thread Loryan Strant

Hi,

Currently the following messages are showing up in my /var/log/maillog file:
Apr 29 12:18:06 hermes pop3d: LOGIN, [EMAIL PROTECTED],
ip=[203.45.2.42]
Apr 29 12:18:06 hermes pop3d: LOGOUT, [EMAIL PROTECTED],
ip=[203.45.2.42], top=0, retr=0

I am running vpopmail 4.9.10 on OpenBSD.
I would like to be able to have the POP3 logs in a different file.
How do I go about doing this?

Thanks,

Loryan

 winmail.dat


Re: logging pop3d access into a separate log file

2001-04-28 Thread Rick Updegrove

From: Loryan Strant [EMAIL PROTECTED]
 I am running vpopmail 4.9.10 on OpenBSD.
 I would like to be able to have the POP3 logs in a different file.
 How do I go about doing this?

I supervise pop3d and here are my run scripts ...

bash-2.04# cat /var/qmail/supervise/qmail-pop3d/run
#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
tcpserver -l0 -v -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
updegrove.net /var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21

bash-2.04# cat /var/qmail/supervise/qmail-pop3d/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill multilog t /var/log/qmail/pop3d

tail -f /var/log/qmail/pop3d/current | /usr/local/bin/tai64nlocal

yields logs like ...

2001-04-28 19:25:53.016385500 tcpserver: status: 1/40
2001-04-28 19:26:04.328102500 tcpserver: status: 2/40
2001-04-28 19:26:04.329268500 tcpserver: pid 14920 from 192.168.0.2
2001-04-28 19:26:04.329444500 tcpserver: ok 14920 0:10.10.0.33:110
:192.168.0.2::1387
2001-04-28 19:26:04.587193500 tcpserver: end 14920 status 256
2001-04-28 19:26:04.587284500 tcpserver: status: 1/40





RE: logging pop3d access into a separate log file

2001-04-28 Thread Loryan Strant

I want to keep the logs the way they currently are, but have them log into a
file like /var/log/vpopmail.
I'm also running courier-imap 1.3.5, so unfortunately your script doesn't
help me.
Any other ideas?

Thanks,

Loryan

-Original Message-
From: Rick Updegrove [mailto:[EMAIL PROTECTED]]
Sent: Monday, 30 April 2001 12:29 AM
To: [EMAIL PROTECTED]
Cc: Loryan Strant
Subject: Re: logging pop3d access into a separate log file


From: Loryan Strant [EMAIL PROTECTED]
 I am running vpopmail 4.9.10 on OpenBSD.
 I would like to be able to have the POP3 logs in a different file.
 How do I go about doing this?

I supervise pop3d and here are my run scripts ...

bash-2.04# cat /var/qmail/supervise/qmail-pop3d/run
#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
tcpserver -l0 -v -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
updegrove.net /var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
21

bash-2.04# cat /var/qmail/supervise/qmail-pop3d/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill multilog t /var/log/qmail/pop3d

tail -f /var/log/qmail/pop3d/current | /usr/local/bin/tai64nlocal

yields logs like ...

2001-04-28 19:25:53.016385500 tcpserver: status: 1/40
2001-04-28 19:26:04.328102500 tcpserver: status: 2/40
2001-04-28 19:26:04.329268500 tcpserver: pid 14920 from 192.168.0.2
2001-04-28 19:26:04.329444500 tcpserver: ok 14920 0:10.10.0.33:110
:192.168.0.2::1387
2001-04-28 19:26:04.587193500 tcpserver: end 14920 status 256
2001-04-28 19:26:04.587284500 tcpserver: status: 1/40





Re: logging pop3d access into a separate log file

2001-04-28 Thread Rick Updegrove

From: Loryan Strant [EMAIL PROTECTED]
 I want to keep the logs the way they currently are, but have them log into a
 file like /var/log/vpopmail.
 I'm also running courier-imap 1.3.5, so unfortunately your script doesn't
 help me.
 Any other ideas?

./configure --help
--enable-logging=e|y|n|p|v   Turn on (y) or off (n) logging to syslog, (e) only
log errors, include passwords in errors (p)
--enable-log-name=vpopmail   set syslog name.

I know the changelog for 4.99 indicates that --enable-log-name was not being
used in vchkpw.c - fixed  I also know that was an ongoing source of confusion
which has been hopefully cleared up once and for all.


Rick Up