I sent a patch to Ken a while back that implemented this in vpopmail 3.4.11. It
doesn't really do any 'detection' of new users in the database, it simply creates
the maildir for the user if it doesn't exist. IE: I have 2 patches, one for
vchkpw and vdelivermail. The vdelivermail patch, for example, will get the
user's directory from the database, if it doesn't exist, instead of immediately
erroring, it will attempt to create the directory and then finish the delivery.
I thought these patches went into the 3.4.12 development branch, but I could be
wrong. If you want the patches, contact me off list, as I'm sure they're already
in the archives of this list a few times over. They should be easily workable
into the newer code.
On Mon, Jul 24, 2000 at 08:43:58AM -0700, Jim Serio wrote:
// > > Has anyone that's using IMP hacked vpopmail.c/vdeluser.c
// > > to remove all rows for a person if you remove them from
// >
// > vdeluser should remove the [EMAIL PROTECTED] users directory
// > and everything under that directory.
// >
// > Does the hacked IMP not store it's files under
// > the user's directory?
//
// IMP stores it's data in a SQL database. So I'd have to
// hack vdeluser to delete the row(s) in teh database matching
// the user ID. not hard.
//
// BTW..months ago I recall that there would be an implementation
// for vpopmail to detect new rows in the databse and create
// the proper user(s) directories. Has this been implemented
// yet? Since I need my registration in real time I hate the
// idea of having a suid Perl script calling vadduser.
//
// Jim
// --
// Jim Serio - [EMAIL PROTECTED]
// Producer, World of Coasters
--
Joey Miller
Sr. Systems Engineer
iBIZ Technology Corp.