Ken, all:

I've posted a patch to my dev version of 0.60pre7 of qmailadmin that allows
for the control of the default gid (i.e. available services) value of all
new users created via qmailadmin.

Here's what I added to INSTALL, #6, which describes the use of
.qmailadmin-limits:


#######################################################################
In addition, you can use qmailadmin-limits to disable services on a per
domain basis for the creation of new users.  If you choose to disable
services on a domain that has existing user accounts, you will need to
modify the existing user accounts manually with vmoduser.

You may disable these services:

        a) POP Access
        b) IMAP Access
        c) Roaming Users (External Relaying)
        d) Webmail Access
        e) Dialup Access
        f) Password Changing

The syntax of the .qmailadmin-limits file for disabling the above
services, respectively, is:

disable_pop
disable_imap
disable_external_relay
disable_webmail
disable_dialup
disable_password_changing

These services are enabled by default, unless manually changed
via vmoduser.
#######################################################################



This patch adds load_user_defaults(), which gets the settings from
.qmailadmin-limits.  When a new user is successfully added, vmoduser is then
called with the appropriate arguments.

Here's how to apply the patch:

If you don't have qmailadmin-0.60pre7, get it here:

http://shupp.org/patches/qmailadmin-0.60pre7.tar.gz

Then:

tar xvzf qmailadmin-0.60pre7.tar.gz
cd qmailadmin-0.60pre7
lynx --source http://shupp.org/patches/0.60pre7-user-defaults.patch.gz |
patch -p0


Thoughts?

Cheers,

Bill Shupp

Reply via email to