Global settings g_user

Note: as well as global / domain settings, these features can be set on a per user basis in the user settings page.

g_user_access - Allow / Restrict user access to features based on g_access_group

g_user_access group="wildcard" access="list"

This setting matches the g_access_group the user is in to the wildcard specified and applies the specified list to that user, giving / restricting thier access to certain features. The list may include any of the following:

ValueResult
aliasAccess to the "Alias" page and features.
blogAccess to the "Blogs" page and features.
centipaidAccess to the "Centipaid" page and features.
deleteAccess to the "Delete" button, which deletes the email account.
enotifyAccess to the "Email Notification" page and features.
exceptionsAccess to the "Exceptions" page.
filterAccess to filtering of messages. (g_filter_pipeg_mfilter_fileg_dmail_filter)
friendsAccess to the "Friends" pages, and system.
fwdAccess to the "Forwarding" features, forwarding, auto-responder.
fwdonlyAccess to the "Forwarding" features. Without this only the auto responder is shown on the forwarding page
listsAccess to the "Lists" page and features.
logAccess to the "Log" page.
mailboxAccess to the "Mailbox" page, view mailbox, setup rules.
mainAccess to the "Main" page containing user details.
passAccess to the "Password" features, change password, password retrieval.
smsAccess to the "Sms" page.
spamAccess to the "Spam" page, and SmiteSpam and Aspam processing of messages.
spamprivAccess to the "Spam" pages' spam private feature
spfAccess to the "Spf" page and features.
surgeplusAble to connect to SurgeMail using the SurgePlus client.
virusAccess to virus scanning of messages. (g_virus_cmdg_virus_filterg_virus_avastg_scan_cmd)
webmailAccess to the "WebMail" button which logs the user into WebMail.

In addition you can prefix any of the above with ! to deny access. There are two other special case values, "all" and "none" which mean exactly what they say, access to "all" or "none" of the features.

Example:

g_user_access group="simple" access="all,!spam,!virus"

The above setting gives users in the 'simple' group access to all the features except spam and virus features.

Syntax: g_user_access group=string access=string

g_user_access_default - Default user features granted to users

This setting is a default access list for all users on the server, it is specified in the same maner as the g_user_access settings 'access' parameter. eg:

g_user_access_default "all,!spam,!virus"

Syntax: g_user_access_default string

g_user_access_from - When sending use from for useraccess rules

When sending a message the user access rules which are applied can be based on the 'from' header, this is not secure but is sometimes useful.

Syntax: g_user_access_from bool

g_user_access_webonly - Means user_access rules only stop web interface not actual spam checking etc

This setting has no further documentation currently available

Syntax: g_user_access_webonly bool

g_user_alias - Number of aliases accounts can create

This setting specifies the maximum number of account aliases an account (optionally in specified group) can create. The format of these aliases is specified in the file specified by the g_user_alias_file setting. eg.

g_user_alias quota="10" group=""
g_user_alias quota="20" group="grp1"
g_user_alias quota="30" group="grp2"

Syntax: g_user_alias group=string quota=int

g_user_alias_file - User aliases configuration file

This setting specifies the configuration file for user aliases. This file is in the following format:

domain alias_domain,access[,access]...

where domain is the domain name eg: email.com, alias_domain is the domain in which aliases can be created, and access specifies who is allowed to create these aliases, it can have one of the following values:

userUsers can create these aliases.
domadminDomain administrators can create these aliases.
adminThe Administrator can create these aliases.
privateSame as domadmin,admin. The Administrator and the Domain administrators can create these aliases.
publicSame as user,domadmin,admin. Everyone can create these aliases.

Example alias.dat file:

email.com *.email.com,public
email.com sport.email.com,public
internal.email.com email.com,private
internal.email.com internal.email.com,admin

Syntax: g_user_alias_file string

g_user_blogs - Number of blogs accounts can create

Specifies blog limit based on user group.

Syntax: g_user_blogs group=string quota=int

Example: g_user_blogs group=premium quota=15

g_user_cookies - Enable browser cookies for user self management

Enable browser cookies for user self management.

Syntax: g_user_cookies bool

g_user_delete - Let users delete themselves

Enables the user delete button in the user self management page, assuming the use access rules also allow it

Syntax: g_user_delete bool

g_user_disable - Filename listing users to disable

This setting has no further documentation currently available

Syntax: g_user_disable string

g_user_domainlist - Show domains list on user pages

This setting decides who will see the drop-down list of domains on the user check, add, login, and management pages. It has three possible values: user, domadmin and admin. A value of 'user' allows everyone to see the list, 'domadmin' allows domain admins and the admin to see the list, and 'admin' allows only the admin to see the domains list.

Syntax: g_user_domainlist string

g_user_filter_early - Process user ex

Was this article helpful?

Related Articles