I have qmail + vmailmgr set up and working, qmail pop accesses are 
being logged via daemontools and multilog and end up in 
/var/log/qmail/pop3d/current. 
i can get  /etc/vmailmgr/checkvpw-postexec
to write to a file (/tmp/vm), but I can't make its output show up in 
the pop3d
logs via multilog (by changing the >> /tmp/vm to >&2 as suggested in 
the archives of the vmailmgr list <see below>). 

I expect lines like this:

Thu May 31 12:19:43 EDT 2001 /etc/vmailmgr/checkvpw-postexec u:janitors 
v:joe m:./users/joe
h:/home/janitors

to show up in /var/log/qmail/pop3d/current ... am i looking in the 
wrong place?

Here are what my files look like:

/etc/vmailmgr/checkvpw-postexec :
#!/bin/sh
echo `date` $0 $1 $2 u:$USER v:$VUSER m:$MAILDIR h:$HOME >&2
echo `date` $0 $1 $2 u:$USER v:$VUSER m:$MAILDIR h:$HOME >> /tmp/vm

/var/qmail/supervise/qmail-pop3d/run :
#!/bin/sh
/usr/local/bin/softlimit -m 2000000 \
    /usr/local/bin/tcpserver -v -R 0 110 /var/qmail/bin/qmail-popup \
        FQDN /usr/local/bin/checkvpw /var/qmail/bin/qmail-pop3d  
Mailbox/ 2>&1

/var/qmail/supervise/qmail-pop3d/log :
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t 
/var/log/qmail/pop3d



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Reply via email to