User manual
3 Software Configuration
4. cp /etc/apache2/sites-available/default /etc/apache2/sites-available/ssl
5. ln -s /etc/apache2/sites-available/ssl /etc/apache2/sites-enabled/ssl
6. ssl file must be changed:
NameVirtualHost *:443
<VirtualHost *:443>
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem
SSLCertificateKeyFile /etc/apache2/apache.pem
...
</VirtualHost>
7. to activate port 443 for https-Queries edit /etc/apache2/ports.conf. Add
Listen 443
8. activate SSL module:
a2enmod ssl
9. restart Apache:
apache2ctl restart
3.7.7. Mail Server (courier)
The Courier mail transfer agent (MTA)
20
is an integrated mail/groupware server based on open
commodity protocols, such as ESMTP, IMAP, POP3, LDAP, SSL and HTTP. Courier provides
ESMTP, IMAP, POP3, webmail and mailing list services within a single, consistent, framework.
Individual components can be enabled or disabled at will. Courier now implements basic web-
based calendaring and scheduling services integrated in the webmail module. Advanced groupware
calendaring services will follow soon.
The mail server can be conveniently configured via web interface using courierwebadmin tool. It
can be started with the following URL
https://mail-server-address/cgi-bin/courierwebadmin.
Execute webadmin-tool, setup server name and local domains under Mail server name and local
domains menu. Then create a user:
adduser --ingroup users testuser
login as testuser
cd /home/testuser
maildirmake Maildir (this creates user’s maildir folder structure)
Execute webmail-tool
https://mail-server-address/cgi-bin/sqwebmail
and log on. From now on one can send and receive e-mails.
3.7.8. NTP
NTP
21
is a protocol designed to synchronize the clocks of computers over a network to a common
timebase (usually UTC).
20
http://www.courier-mta.org
21
http://www.ntp.org
May 2014 OnRISC User Manual 22