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.


Wonderful, i am going to test it immediately :) thank a lot!! I will let you know the test
results of our production environment.

I have one more request. Could you have a look at
https://sourceforge.net/tracker/?func=detail&atid=577801&aid=2532389&group_id=85937
for possible inclusion in 5.5? It is a nice feature that is also useful in automation which
is currently missing in the stable brach (as far as I know).

Sincerely,
- Wouter van der Schagt



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-----


!DSPAM:49cc9bf332688953320417!

Reply via email to