Tom Collins wrote:
> On Mar 28, 2006, at 10:37 AM, Robin Bowes wrote:
>> However, I see that doing "stuff" when you create users logically
>> belongs with the program that creates users - vpopmail in this case. So
>> to my "perfectionist" mind, I'd rather make vpopmail do this once when
>> the user is added than checking for it every time the account is
>> accessed for the lifetime of the account.
> I agree with this as well.  A single patch to vpopmail to add "hooks"
> for adding and deleting users and domains allows for a lot of flexibility.
> I've seen requests to automatically send a welcome message to new
> users.  Instead of adding it as a feature to vpopmail, it can be a
> script that gets called automatically.
> Robin's original requirement (and one that others have had) is to have
> an alternate Maildir directory layout, with symbolic links.  Again, this
> is easily accommodated (and updated) by calling a script/program on user
> add.


One possible issue with using hooks is that they won't work in
vqadmin/qmailadmin because the httpd process won't allow the CGI scripts
to fork a shell process.

Or at least that's what I think was stopping my code to copy skel dirs
using a system("cp -r") command from working.


Reply via email to