Am Mi, den 01.09.2004 schrieb Wendell Smith um 20:24:
Hey all!
I have installed sqwebmail on my qmail server due to a few requests from
my users who need webmail access after hours and are not savvy enough to
configure their own smtp/pop clients.
Thing is, I don't want all of my users to be able to use webmail. I want
to turn it "off" so-to-speak for everyone except for those I deem worthy
of using it.
Are there any provisions within the sqwebmail configuration that would
empower me with the ability to do this?
You could do this on the command-line with vmoduser
or with vqadmin, with a gui.
root@mail3# ./vmoduser -h
vmoduser: usage: [options] email_addr or domain ( for the entire 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
-u ( set no dialup flag )
-d ( set no password changing flag )
-p ( set no pop access flag )
-s ( set no smtp access flag )
-w ( set no web mail access flag )
-i ( set no imap access flag )
-b ( set bounce mail flag )
-o ( set override domain limits flag )
-r ( set no external relay flag )
-a ( grant qmailadmin administrator privileges)
-0 ( set V_USER0 flag )
-1 ( set V_USER1 flag )
-2 ( set V_USER2 flag )
-3 ( set V_USER3 flag )
-x ( clear all flags )
cheers,
Rainer