Attached are two short Perl scripts to retrieve or change
the Imail user flags on the registry from the command line.
Usage examples are as follows:

    perl setflags.pl admin mail.domain.com 1414

        Set flags for [EMAIL PROTECTED] to 1414 which is
                1024 (List administrator) +
                 256 (Host administrator) +
                 128 (Enable web access) +
                    4 (user can not change password) +
                    2 (hide from information services)

    perl getflags.pl fred mail.domain.com

        Gets flags for [EMAIL PROTECTED]

'sefflags.pl' should be helpful to administrators that want to set
the host admin and other flags from a batch procedure.
Documentation for Imail flags can be found at
    support.ipswitch.com/kb/IM-19990609-DM02.htm
(also within the script files) . The scripts were tested using Imail
6.02 and Perl 5.22e for NT from www.activestate.com . Send
suggestions, comments and/or problem reports to [EMAIL PROTECTED] .

getflags.pl

setflags.pl

Reply via email to