Greetings,
   Using Russell's suggestion, I am able to defer mail to certain
users using our hacked qmail-getpw...

I'd like to do the same w/ people POP'ing mail.  We have a script
which gives the impression of no mail, but that replaces everything
after pop3 on the tcpserver line for when we want to do it for all 
users (and seems to run as root?).

The problem is I don't know until after qmail-popup which user
is checking mail.  So if I could avoid checkpassword for the
affected users (after reading a control file) and just return 
"no mail", that would be great, while the rest I'd send through
checkpassword and on to qmail-pop3d w/o delay.  

If that is not possible, I have also played w/ checkpassword so
that it sets an environment variable telling to look or not look 
for mail.  So a script after checkpassword might work too.  I'm 
able to get the env var into a script, but telling some users
they have no mail has been elusive.

We have our maildir's owned by mailq and grab our password info
from a database.  User directories are located w/ a hash algorithm.

Any suggestions?
Thanks,
-- 
mike b. ---------------------------------------------------------------
[EMAIL PROTECTED]    http://home.sprynet.com/~boyiazis/mikehome.htm
"I propose we leave math to the machines and go play outside."  Calvin
-----------------------------------------------------------------------
__________________________________________
NetZero - Defenders of the Free World
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html

Reply via email to