Hi,

thanks again, do you know how I can view the flags set to this user ?

Shai

On 12/28/06, Alexey Loukianov <[EMAIL PROTECTED]> wrote:

Greetings, Shai.

On 28 ??????? 2006 ?., 8:53:04 you wrote:
>>> I want to disable one of the accounts on the server since we no
>>> longer use it for getting new mail but on the other hand, want to keep
the emails there for review.
>>> How can I do this?
>> # ~vpopmail/bin/vmoduser -b [EMAIL PROTECTED]
>>
> Yep, works :) How can I change this back?

Check out this:

[EMAIL PROTECTED] etc]# ~vpopmail/bin/vmoduser --help
/home/vpopmail/bin/vmoduser: invalid option -- -
vmoduser: usage: [options] email_addr or domain (for each user in domain)
options: -v ( display the vpopmail version number )
         -n ( don't rebuild the vpasswd.cdb file )
         -q quota ( set quota )
         -c comment (set the comment/gecos field )
         -e encrypted_passwd (set the password field )
         -C clear_text_passwd (set the password field )
the following options are bit flags in the gid int field
         -x ( clear all flags )
         -d ( don't allow user to change password )
         -p ( disable POP access )
         -s ( disable SMTP AUTH access )
         -w ( disable webmail [IMAP from localhost*] access )
            ( * full list of webmail server IPs in vchkpw.c )
         -i ( disable non-webmail IMAP access )
         -b ( bounce all mail )
         -o ( user is not subject to domain limits )
         -r ( disable roaming user/pop-before-smtp )
         -a ( grant qmailadmin administrator privileges)
         -S ( system administrator privileges - access all domains )
         -E ( expert privileges - edit .qmail files )
  [The following flags aren't used directly by vpopmail, but are]
  [included for other programs that share the user database.]
         -u ( set no dialup flag )
         -0 ( set V_USER0 flag )
         -1 ( set V_USER1 flag )
         -2 ( set V_USER2 flag )
         -3 ( set V_USER3 flag )
         -f ( disable spamassassin)
         -F ( delete spam)


Most probably you will have to run "clear flags" command "-x". But
I'd before tried to issue "-b" command once again to see if it
switches set "bounce" flag back to zero.

--
Best regards,
Alexey Loukianov                          mailto:[EMAIL PROTECTED]
System Engineer,
IT Department,
Lavtech Corp


---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to