On Tue, Jul 17, 2001 at 02:49:06PM -0700, Chris Scheller wrote:
> if you are using mysql backend it becomes trivial to find the users
> maildir. just write a quick cgi to give you the list of users for a
> domain, this is what i do.

or you could doit like this:

#!/usr/local/bin/perl -w
use vpopmail;

my ($user, $domain) = split(/\@/, shift(@ARGV));

my $mailspool = sprintf("%s/Maildir", 
                ( vauth_getpw($user, $domain) )->{pw_dir});

print "$mailspool\n";


> 
> On Tue, 17 Jul 2001, Bill Shupp wrote:
> 
> > on 7/17/01 3:27 PM, rich at [EMAIL PROTECTED] spake:
> >
> > > Hello All.
> > > Our vpopmail has started to create user account under directories named
> > > 0,1,2 under the domain that they are added to.  The server still works but
> > > this
> > > makes it a pain to find a users account.  Is this a default behavior of vpop
> > > or
> > > something else.
> >
> > Yes, it's the default behavior.  After a directory has 100 entries (I
> > think), vpopmail starts creating accounts in 0, then 1 after 0 has 100, etc.
> > I think it's documented somewhere, but the idea is to improve performance.
> >
> > Cheers,
> >
> > Bill Shupp
> >
> >
> 
> Chris Scheller
> System Administartor
> http://www.pobox.com/~schelcj/
> 

-- 
-------------------------
Sean P. Scanlon
http://bluedot.net/
perl -e 'print pack("h*", "3707370426c6575646f647e2e65647"), "\n"'
-------------------------

Reply via email to