-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've added the vmoduserflags binary to 5.5.  It handles what people were 
looking for
in regards to toggling of settings in a user's bitfield.

Here it is in use:

# ./vmoduserflags
Usage: ./vmoduserflags <email> [<+|-><option>]
Options:
         chpass pop webmail imap bounce
         relay dialup user0 user1 user2
         user3 smtp domadmin domquota spam
         sysadmin expert maildrop

# ./vmoduserflags t...@test.com
t...@test.com:
  +chpass +pop +webmail +imap -bounce
  +relay +dialup -user0 -user1 -user2
  -user3 +smtp -domadmin +domquota +spam
  -sysadmin -expert +maildrop

# ./vmoduserflags t...@test.com -chpass
Changing:  -chpass
t...@test.com:
  -chpass +pop +webmail +imap -bounce
  +relay +dialup -user0 -user1 -user2
  -user3 +smtp -domadmin +domquota +spam
  -sysadmin -expert +maildrop

# ./vmoduserflags t...@test.com +chpass +expert -relay
Changing: +chpass -relay +expert
t...@test.com:
  +chpass +pop +webmail +imap -bounce
  -relay +dialup -user0 -user1 -user2
  -user3 +smtp -domadmin +domquota +spam
  -sysadmin +expert +maildrop

So, there you have it.
- --
/*
    Matt Brookings <m...@inter7.com>       GnuPG Key D9414F70
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknMAKMACgkQ6QgvSNlBT3B0bgCgpGCtAbiqHx4XFiAPfqiCRsib
1TMAoJg2WOw3FgxK57vEM++RudVyRlOH
=Cm+G
-----END PGP SIGNATURE-----

Reply via email to