Frequently asked questions¶
| Authors: | Michael JasonSmith; |
|---|---|
| Contact: | Michael JasonSmith <mpj17@onlinegroups.net> |
| Date: | 2016-04-05 |
| Organization: | GroupServer.org |
| Copyright: | This document is licensed under a Creative Commons Attribution-Share Alike 4.0 International License by OnlineGroups.net. |
If you have a question that is missing from the list below feel free to ask in the GroupServer Development group.
How do I...¶
... add another site administrator?
Multiple people can administer a site. A person must already have a profile to be an administrator. (The easiest way to create one is to create a support group and add the new site administrator to that.)
- Log into the ZMI.
- Visit the folder for your site in
/groupserver/Content.- Select the Security tab.
- Click local roles at the top of the page.
- Enter the user-identifier (it is the last segment of the profile URL, between the
/characters) into the User entry.- Select DivisionAdmin from the Roles list.
- Click the Add button.
Note
The site administrator can change any group, but only group administrators will receive notifications about each group. A site administrator can be made a group administrator using the Manage members page.
[From OnlineGroups.net Support]
... change the host name?
GroupServer uses two slightly different host names: one for the web-site and one for the mail-host. To change the host name for the site both will have to be changed.
Change the host name for the web site.
- Log into the ZMI.
- Visit the
DivisionConfigurationfor your site (by default/groupserver/Content/initial_site/).- Change the canonicalHost property to the new name.
- Click the Save changes button.
- Change the proxy forwarding (see Configuring a web proxy).
Change the various names for the mail-host.
- Change the configuration for postfix (see Configuring postfix).
- Log into the ZMI.
- Visit the
DivisionConfigurationfor your site (by default/groupserver/Content/initial_site/).- Change the emailDomain to the new name, which may or may not be the same as the canonicalHost property. The emailDomain property of the DivisionConfiguration is used by the Start a group page to determine the email-address of a new group (
{groupId}@{emailDomain}). (If absent the emailDomain of the GlobalConfugration object is used.)- Click the Save changes button.
- Change the email address for each and every group.
- Log into the ZMI.
- Visit the
ListManagerfor your site (by default/groupserver/ListManager).- For each group
- Select the group
- Select the Property tab.
- Change the mailto property so it contains the correct address.
- Click the Save changes button.
... create a new site?
GroupServer can handle more than one site. Each site will have its own set of groups, while the profiles will be shared between the sites. Sadly, the process is very manual, and prone to problems.
- Copy the folder for the initial site.
- Visit the
/groupserver/Contentfolder in the ZMI.- Select the folder.
- Click the Copy button.
- Click the Paste button to paste it into the
/groupserver/Contentfolder.- Select the new folder.
- Click the Rename button.
- Give the folder a new unique name. The new name must be unique among the sites, and all the groups.
- Click the Ok button.
- Create a new user group for the site.
- Visit
/groupserver/acl_users- Select the User Groups tab.
- Click the Add... button.
- Set the Name of the new user group to
{site-name}_member, where{site-name}is the name of your site.- Click the Add button.
- Update the site configuration.
- Update the site title.
- Visit the folder for your new site.
- Select the Properties tab.
- Edit the title.
- Click the Ok button.
- Update the URL
- Visit the
DivisionConfigurationin the folder for your new site.- Set the following at a minimum.
- Update
canonicalHostto be the hostname of your site.- Ensure that
canonicalPortis correct. If this site is going to be an HTTP sitecanonicalPortshould be80; for HTTPS it should be443- Add a new property named
emailDomain. This is the domain used after the@in the email addresses for the groups on the site. It may be the same ascanonicalHostor different.- Click the Save Changes button.
- Delete the groups.
- Visit the
groupsfolder in your new site.- Select all the groups.
- Click the Delete button.
- Set the permissions.
- Visit the folder for your new site.
- Select the Security tab.
- If there is no
DivisionAdminrole listed enterDivisionAdmininto the User defined roles entry and click Add Role- If there is no
DivisionMemberrole listed enterDivisionMemberinto the User defined roles entry and click Add Role- Click local roles at the top of the page.
- Set yourself as a site administrator.
- Set the user-group.
- Select the name of the user-group for the site from the Group list.
- Select
DivisionMemberfrom the Roles list.- Click the Add button.
- Add the proxy configuration for your new site.
- Add the Postfix configuration for your new site.
<http://groupserver.org/r/topic/44uT6Wt3mkmod7cyqugqp2> <http://groupserver.org/r/topic/1S6podvwyVodJydNUfh4DY>
... change the email address for a group?
The email address for a group is normally the group-identifier followed by the domain name for the site. However, it can be changed:
- Open the list object in the
/groupserver/ListManagerfolder.- Edit the
mailtoproperty to the new value.- Click the Save changes button.
... change the footer?
To change the footer edit a file called
footerlinks.xmlin the ZMI.
Log into the ZMI.
Visit the file
/groupserver/Templates/output/footerlinks.xml.Change the contents of the page template to the footer you desire. Something like the following:
<ul class="inline-list pull-right"> <li>Like</li> <li>This</li> </ul>Click the Save Changes button.
... change the host name?
The host-name is normally set during installation. However, it can be changed afterwards.
- Visit the
/groupserver/folder in the ZMI.- Open the
GlobalConfigurationobject.- Edit the
canonicalHostproperty to the new value.- Click the Save changes button.
- Visit the
/groupserver/ListManagerfolder.- Change the email address for every group in the folder
... change the password for another person?
For security reasons, people can only change their own passwords. GroupServer deliberately prevents administrators from changing the passwords of other members.
If someone has forgotten their password then they should use the Password reset to set a new password. The page is linked from the Sign in page.
... change the Reply-to behaviour for a group?
GroupServer sets the email address in the Reply-to header when sending a message from a group. The address can be that of the group, the author, or both. The default Reply-to is set depending according to the type of group.
Group type Default Reply-to Discussion Group Announcement Author Support Author To change the default Reply-to
- Visit the Group page.
- Select Change the general properties in the This group section of the Admin area.
- Select the new setting from Email replies go to…
- Click the Change button.
[From OnlineGroups.net Support]
... change the support email?
The email address for support is first set during the GroupServer installation. To change it
- Visit the
/groupserver/folder in the ZMI,- Open the
GlobalConfigurationobject, and- Edit the
supportEmailproperty.- Click the Save changes button.
... create a page?
Some pages in GroupServer (such as
/about) are editable.
- Visit the folder that should contain the page in the ZMI.
- Add a new folder.
- Visit the new folder.
- Select the Interfaces tab.
- Select
Products.GSContentManager.interfaces.IGSContentManagerFolderMarkerin the Available Marker Interfaces list.- Click the Add button.
... delete a post?
Once a post has been made then the group members will receive an email message containing that post, and there is no way to recall the message. However, a post can be hidden in the archive: click the Hide button next to the post. The post will be replaced with a message saying why it was deleted.
To actually delete a post:
- Any associated files must be removed from the
filetable,- The
first_post_id,last_post_idandnum_postsmust be updated in thetopictable, and- The post itself must be removed from the
posttable.After deleting a post anyone following a link to the post on the archive (from the earlier message) will see a
404 (Not found)error rather than the nicer410 (Gone)error.
... disable email address obfuscation?
You cannot disable this feature. If a person posts from a domain controlled by DMARC (RFC 7489) then GroupServer rewrites the From header so others will receive the message. (If this was skipped then the message will fail the DMARC check and the group members would never see the message.) This conforms to the draft DMARC interoperability specification.
... disable HTML email
HTML formatted email messages from a group can be disabled for an entire site.
- Log into the ZMI.
- Visit the
DivisionConfigurationfor your site (by default/groupserver/Content/initial_site/).- Add the
htmlEmailproperty.
- Add
htmlEmailto the Name entry.- Select
booleanas the Type.- Leave the Value as blank (
False).- Click the Add button.
To enable HTML formatted email messages either delete the
htmlEmailproperty, or set it toTrue.[From OnlineGroups.net Support]
... import posts from another system?
To import posts from another system first export the posts as an
mboxfile, then use the mbox2gs script to import the posts into GroupServer (documentation).
... make all the members of a group moderated?
Ideally you would change the moderation of a group to Moderate specified members, and all new members that join this group before the new members are added. However, if this was skipped, and a large number of people has been added, then it is possible to set the list of moderated members.
- Visit the
/groupserver/folder in the ZMI.- Open the
acl_usersobject.- Select the User groups tab.
- Open the user-group.
- Copy the list of user-identifiers from the Users list into a text editor.
- Remove the identifiers for each the administrator and moderator.
- Visit the
/groupserver/ListManagerfolder in the ZMI.- Open the mailing list object for the group.
- Copy the list of members to be moderated from the text editor into the
moderated_memberslist.- Click the Save changes button.
... remove a user?
When a person leaves their last group on a site they are no longer a site member, but they will still have a user-object. These objects can be deleted, but it is discouraged.
- Visit the
/groupserver/folder in the ZMI,- Open the
acl_usersobject,- Select the user-object to delete, and
- Click the
Deletebutton.
... scan for viruses?
... secure GroupServer?
Ensuring the following should enhance your security, and the members of your site should notice very little change.
- The GroupServer site should only be accessible via HTTPS (as in HTTP over TLS). See Secure connections: TLS, SSL, and HTTPS.
- Postfix should be using SMTPS (as in SMTP over TLS).
- Postfix should be grey-listing all incoming messages.
- Postfix should be running DMARC checks for all incoming messages.
- Postfix should add DKIM signing to messages from the groups.
- Scan for viruses.
- Keep the operating system up to date.
- Keep GroupServer up to date.
... set multiple people to receive the support email?
The easiest way for multiple people to receive messages to the Support email address is to create a new Support group.
- Start a secret group.
- Change the group type to Support.
- Add the people who need to receive the messages to support to the group.
- Change the support email address to the email address of the new group.
... turn off a feature?
Normally the easiest way to turn off a feature is to hide it in the CSS.
- Get used to changing the skin.
- Make your own skin, based off the Blue or Green skin (see Development guide).
- Hide the interface element in question by setting it to
display: none.For example:
- Hide post: <http://groupserver.org/r/post/3e6qousrx7qyvpsK0HsZUt>
- Password toggle: <http://groupserver.org/r/post/7ezGHt8QtK9zdl82uSxrgo>
Why do I see...¶
... an error setting up the database?
Towards the end of the GroupServer installation process the system will try and create some tables. If the permissions for PostgreSQL are set to
IDENTbased authentication you will see the following error:psql: FATAL: Ident authentication failed for user “gsadmin”Change the PostgreSQL authentication to
md5.
Open the file
pg_hba.conf. (It is normally found within/etc/postgresql, but the specific location depends on your version of PostgreSQL and distribution.)Change
identtomd5in the lines that read:host all all 127.0.0.1/32 ident host all all ::1/128 identThey should end up like the following:
host all all 127.0.0.1/32 md5 host all all ::1/128 md5Restart PostgreSQL.
... an error with distribute?
Sometimes there is an issue with installing the
distributepackage:Error: There is a version conflictWe already have : distribute 0.6.24The solution is
Go to your GroupServer folder,
Get pip to install the correct version of distribute:
$ ./bin/pip install "distribute == 0.6.49"Carry on installing GroupServer:
$ ./gs_install_ubuntu.sh
... “couldn’t install: lxml”?
To compile
lxmlthe system needs at least 1024M of RAM.
... email messages with the wrong CSS?
The web-hook that adds a message may use different URL to the one used for normal web traffic (see Change the skin). If this is the case GroupServer may have to be explicitly told the skin to use.
- Visit the
/groupserver/folder in the ZMI,- Open the
GlobalConfigurationobject,- Set the
emailSkinproperty to the same value that is used in the proxy configuration.
... “Error with the configuration file” when sending the digest?
Specify the full path to the
gsconfig.inion the command line to senddigest. (See also Daily digest of topics.)
... no email when I make a post?
If you are testing, ensure that your group members are on One email per post.
... Request Entity Too Large?
... so many errors when installing?
GroupServer can only run as a normal user, never as the
rootsuperuser. Change the ownership of the GroupServer directory and all of its contents to a normal user.