Difference between revisions of "SME Server:Documentation:User Manual:Chapter2"

From SME Server
Jump to navigationJump to search
Line 81: Line 81:
 
Your SME Server automatically maintains a Directory and populates it with users names and contact details when Admin enters these in the server-manager. Any client program that uses LDAP (Lightweight Directory Access Protocol), such as the address book in Thunderbird, will be able to access the Directory - but by default this will be read-only access. For example, with Thunderbird, look under the "Tools" menu and choose "Address Book". Then look under the "File" - "New" menu and select "LDAP Directory".  
 
Your SME Server automatically maintains a Directory and populates it with users names and contact details when Admin enters these in the server-manager. Any client program that uses LDAP (Lightweight Directory Access Protocol), such as the address book in Thunderbird, will be able to access the Directory - but by default this will be read-only access. For example, with Thunderbird, look under the "Tools" menu and choose "Address Book". Then look under the "File" - "New" menu and select "LDAP Directory".  
  
You will see a dialog box similar to what is shown here.
+
You will see a dialog box similar to the one shown here.
  
 
[[Image:Netscape_prefs_directory.png]]
 
[[Image:Netscape_prefs_directory.png]]
[[Image:Thunderbird_ldap_ssl.png]]
+
 
[[Image:Evolution_LDAP_startls.png]]
+
The following table is a resume of what you will need to enter depending of your client available settings. There are 3 main configurations : Anonymous, authenticated using starttls and authenticated using the SSL port. Pay attention that some client won't accept to connect if you use a self signed certificate. Also, important to note:
+
*For the name you wish to give your company directory - any name will do.
You will need to enter the following information:
 
*Enter the name you wish to give your company directory - any name will do.
 
  
 
*The LDAP server or Hostname  is the name of your web server, in the form www.yourdomain.xxx.
 
*The LDAP server or Hostname  is the name of your web server, in the form www.yourdomain.xxx.
Line 94: Line 92:
 
*The Server Root information can be found on the "Directory" screen in your server-manager (more information on this is available in the next chapter). The usual form, assuming your domain is yourdomain.xxx, is dc=yourdomain,dc=xxx . (No spaces should be entered between the "dc=" statements.)
 
*The Server Root information can be found on the "Directory" screen in your server-manager (more information on this is available in the next chapter). The usual form, assuming your domain is yourdomain.xxx, is dc=yourdomain,dc=xxx . (No spaces should be entered between the "dc=" statements.)
  
*The Port Number is always 389.
+
{| class="wikitable"
 
+
|+LDAP Settings
Once the address book has been created, enter a term into the search field, if you type an '''@''' you will list the contact details of all email accounts on the SME Server.
+
!
 +
!clear
 +
!STARTTLS
 +
!SSL
 +
|-
 +
|Name
 +
| colspan="3" |My Koozali SME Server LDAP
 +
|-
 +
|Server
 +
| colspan="3" |domain.tld
 +
|-
 +
|Port
 +
| colspan="2" |389
 +
|636
 +
|-
 +
|Encryption
 +
|none
 +
|startTLS
 +
|SSL
 +
|-
 +
|Authentication Method
 +
|Anonymous
 +
| colspan="2" |use Distinguished Name (DN)
 +
|-
 +
|Username / Bind DN
 +
|
 +
| colspan="2" |uid=USERNAME,ou=Users,dc=domain,dc.tld
 +
|-
 +
|Base DN
 +
| colspan="3" |ou=Users,dc=domain,dc.tld
 +
|-
 +
|Snapshot
 +
|[[Image:Netscape_prefs_directory.png|alt=|120x120px]]
 +
|[[Image:Thunderbird_ldap_ssl.png|alt=|120x120px]]
 +
|[[Image:Evolution_LDAP_startls.png|alt=|185x185px]]
 +
|}

Revision as of 21:16, 14 July 2022


Chapter 2 - Configuring Applications on your Computer

Configuring an email client

Warning.png Work in Progress:
This page is a Work in Progress. The contents off this page may be in flux, please have a look at this page history the to see list of changes.


Your email client application (Outlook, Thunderbird etc) requires setting up with information about your email accounts: how to route outgoing email and credentials required to pick up your incoming email. This information is usually entered in the "preferences" or "options" section of the email client.

Most email clients require you to enter the following information:

User's email address: This is the user account name (as created in the server-manager) followed by @domain name. Typically it will be in the form of username@yourdomain.xxx (e.g. afripp@tofu-dog.com).

Email server (outgoing SMTP mail server): The address of the mail server. As you prefer, you can enter the ip address of the SME Server, or you should be able to use the server's full domain name, like mail.yourdomain.xxx (e.g. mail.tofu-dog.com).

Email account name or username: this is the name before the @ in the email address. For example, the username for "afripp@tofu-dog.com" is " afripp ".

The mail client may offer you the choice between POP3 and IMAP operation modes.


Warning.png Warning:
In general we strongly recommend that you use IMAPs which is a much more modern protocol, but POP is supported if you have no other choice


If you choose POP3 email service:

  • Enable POP3 protocol: Typically, to enable the POP3 protocol for incoming email, you click on a POP3 checkbox or select POP3 from a pull-down menu in the section of your email application dedicated to the incoming mail server.
  • Disable IMAP protocol: To disable the IMAP protocol for outgoing mail (not all email client applications have IMAP protocol) click the IMAP checkbox "off".
  • Delete read email from server: We recommend you configure your pop3 email client application to delete each message from the server when it has been downloaded to your client application. To do this, click off the checkbox marked "leave mail on server" or click on the checkbox marked "delete mail from server".

If you choose IMAP email service:

  • Enable IMAP protocol: Typically, to enable the IMAP protocol for incoming email (note that not all email client applications offer IMAP support) you click on the IMAP checkbox or select IMAP from a pull-down menu in the section of your email client application dedicated to the incoming mail server.
  • Disable POP3 protocol: To disable the POP3 protocol for outgoing mail, click the POP3 checkbox "off".

The images below show you the setup sequence in the Mozilla Thunderbird mail client.

First you choose Preferences from the Edit menu and click on Mail Servers as shown in:

ScreenshotAccountSettings.jpg


If you have not entered details about your mail server yet, you will need to press the Add button and enter some information. Otherwise, you will select the default mail server listed and click on the the Edit button. This will bring up a screen where you enter the username and choose whether you are using IMAP or POP3:

Thunderbird should now be ready to send and receive email.

IMAP versus POP3 email

There are two common standards for email management, IMAP and POP3. Your server supports both protocols. You will need to select the protocol that is right for your organization, although IMAP is favoured for almost all situations.

IMAP email, is designed to permit interactive access to multiple mailboxes from multiple client machines. You manage your email on the mail server over the network. You read your email over the network from your desktop, but the email is not stored on your desktop machine - rather, it is permanently stored and managed on the server.

Benefits of IMAP: You can access all of your new and stored email from any machine connected to a network. Because all employee email is stored on the server, backup of email is easily accomplished.

IMAP allows better overall management of email across a number of end user devices. Whatever you do on one, is reflected to all others, even adding new folders and moving messages to archive folders. eg you can send on a workstation and see all your sent messages on the phone and so on.

Whatever email you send or receive, folder changes etc at any email client including workstations, phones, remote workstations and even webmail (accessed via web browser from home or anywhere), will all show the same. You can set the email clients to retain local copies of messages if that is important.

Drawbacks of IMAP: If you are not connected to a network, new and remote stored email messages are not available to you.(stored emails can be solved with current email clients for desktop - i.e. Thunderbird option to cache the mails for offline working - some clients for mobile devices do this also, practically you'll have the last snapshot from the moment when you were online )

POP3 is an earlier and ageing email legacy protocol. POP3 was designed to permit on-demand retrieval to a single client machine. Email is stored on the mail server until you retrieve it, at which time it is transferred over the network to your desktop machine and stored in your email box there.

Benefits of POP3: Even when you are not connected to your network, you have access to the email stored on your desktop.

Drawbacks of POP3: POP3 was not originally intended to support users accessing and managing their email from remote systems. Because your email is stored on your desktop, setting up remote access of your email when you are at a different computer can be complex.

Configuring Your Web Browser

Most browsers (Internet Explorer, Firefox etc) are configured using a dialog box called "preferences", "network preferences" or "options". Some browsers need to be configured to access the Internet either directly or via a proxy server. When required, most desktop applications, your web browser included, should be configured as though they were directly accessing the Internet. Although the server uses a security feature known as IP masquerading, thereby creating an indirect connection to the Internet, this is a transparent operation to most of your desktop applications. Hence, you should ensure that the "Direct connection to the Internet" check box is clicked "on" in your web browser.

Under certain circumstances, using a proxy server can improve the perceived performance of your network. The server includes HTTP, FTP and Gopher proxy servers. Normally, we recommend these be disabled in your browser.

If you decided that you do want to use proxy servers #3, you will need to enter the IP address or domain name of the proxy server (i.e. your server) into the configuration screens of your web browser. The port number you will need to enter to connect to the proxy server is 3128. This information is the same for HTTP, Gopher and FTP proxying. Alternatively your browser can find the proxy details for itself by entering http://proxy/proxy.pac into Automatic proxy configuration URL:

The image below shows how a proxy server would be configured in Mozilla Firefox.

Firefox connection settings.png



#3 Note that laptop users should disable proxy servers when working away from their local area networks.

Configuring Your Company Directory (Address Book)

Your SME Server automatically maintains a Directory and populates it with users names and contact details when Admin enters these in the server-manager. Any client program that uses LDAP (Lightweight Directory Access Protocol), such as the address book in Thunderbird, will be able to access the Directory - but by default this will be read-only access. For example, with Thunderbird, look under the "Tools" menu and choose "Address Book". Then look under the "File" - "New" menu and select "LDAP Directory".

You will see a dialog box similar to the one shown here.

Netscape prefs directory.png

The following table is a resume of what you will need to enter depending of your client available settings. There are 3 main configurations : Anonymous, authenticated using starttls and authenticated using the SSL port. Pay attention that some client won't accept to connect if you use a self signed certificate. Also, important to note:

  • For the name you wish to give your company directory - any name will do.
  • The LDAP server or Hostname is the name of your web server, in the form www.yourdomain.xxx.
  • The Server Root information can be found on the "Directory" screen in your server-manager (more information on this is available in the next chapter). The usual form, assuming your domain is yourdomain.xxx, is dc=yourdomain,dc=xxx . (No spaces should be entered between the "dc=" statements.)
LDAP Settings
clear STARTTLS SSL
Name My Koozali SME Server LDAP
Server domain.tld
Port 389 636
Encryption none startTLS SSL
Authentication Method Anonymous use Distinguished Name (DN)
Username / Bind DN uid=USERNAME,ou=Users,dc=domain,dc.tld
Base DN ou=Users,dc=domain,dc.tld
Snapshot