Can he try this on QControl, Eric? 


-----Mensagem original-----
De: Eric Shubert [mailto:e...@shubes.net] 
Enviada em: terça-feira, 25 de maio de 2010 15:08
Para: qmailtoaster-list@qmailtoaster.com
Assunto: [qmailtoaster] Re: Disable Webmail

Mahesh Bhat wrote:
> Hi all,
> 
> How do I disable Webmail for certain users.
> 
> /-Regards
> 
> Mahesh Bhat
> 
> /

Just curious, why would you want to do this?

vmoduser appears to have an option for this (-w flag):

# /home/vpopmail/bin/vmoduser
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 ( grant system administrator privileges - access all domains )
          -E ( grant expert privileges - edit .qmail files )
          -f ( disable spamassassin)
          -F ( delete spam)
   [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 )

-- 
-Eric 'shubes'


----------------------------------------------------------------------------
-----
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
----------------------------------------------------------------------------
-----
     Please visit qmailtoaster.com for the latest news, updates, and
packages.
     
      To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
     For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com




---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
     Please visit qmailtoaster.com for the latest news, updates, and packages.

      To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
     For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to