Difference between revisions of "Email - Setting up E-mail clients for SME 8.0"

From SME Server
Jump to navigationJump to search
Line 59: Line 59:
 
===What to do about your Security Certificate===
 
===What to do about your Security Certificate===
  
The next time you start Outlook, compose a new email and run a 'Send and Receive.' Outlook will ask you whether you are happy to use the server: the dialogue is shown below...
+
The next time you start Outlook, compose a new email and run a 'Send and Receive,' Outlook will ask you whether you are happy to use the server: the dialogue is shown below...
  
 
[[File:Security Question.jpg]]
 
[[File:Security Question.jpg]]

Revision as of 01:58, 5 February 2011

Why This Is Needed

From SME 8.0beta6 onwards, unauthorised access to SMTP on Port 25 has been prevented, by design, even for users in the local network, and replaced with SSL-authorised access on Port 25. The result is that setting-up clients to successfully authorise against SME-Server SMTP has become a little complicated. This Howto is intended to give step-by-step instructions using Microsoft Outlook 2010 as an example. The same procedures should apply to most Email Clients, although the locations of the settings may vary.

Thanks

This Howto could not have been written without the help and advice of 'byte.' He doesn't identify himself in his profile in the forums, but he is owed a pint or two next time he hits rural Suffolk!

Assumptions

This Howto was tested on a system where the server is used as the SMTP server for the network. Systems with a Smarthost configured should work in the same way because the fundamental principle is to allow clients to authorise to the SME Server before mail is accepted for transmission. Perhaps someone with such a system can check and confirm this assumption.


PythonIcon.png Skill level: low
The instructions on this page can be followed by a beginner.


Things to do in the Server Manager

Allow SSMTP

Login to the server manager at http://your_server_address/server-manager and click on the menu item Email. Then click the button labelled 'Change e-mail reception settings.'

Change 'SMTP authentication' to 'Allow both SMTP and SSMTP' and save the new settings.

Things to do in Outlook

Make sure the Fully Qualified Server Name is used

This is necessary because the SME Server's self-issued security certificate uses this name. Servers described by IP addresses will cause Outlook to require that the certificate be accepted again every time the program is restarted and will play havoc with automatic email use.

Click 'File' then 'Account Settings' and then the drop-down 'Account Settings' button.

In the 'Account Setings' dialogue, highlight an email account and click the small 'Change' button above.

Account Settings.jpg

In the first page of the dialogue that results, make sure that both incoming and outgoing servers are entered as the fully qualified name of your server. This will take the form - 'server_machine_name.domain_name.com' [ or .co.uk, .org etc.] and will be as shown in the top left hand corner of the Server Manager screen with the username 'admin' in front. Use the part after 'admin@' - In my case this is 'mini-itx.theformsonline.com,' as shown below.


Server Name.jpg


The Change Account dialogue is shown below with the fully qualified server name in both incoming and outgoing server settings.

Change Account.jpg

Set encryption and authorisation parameters

Now take the tick out of the 'Test Account Settings by clicking the Next botton' item on this page and click 'More Settings.' Then click the 'Outgoing Server' tab in the resulting dialogue and make it look like the figure below.

Outgoing Server.jpg

Now click the Advanced tab and change the settings for the Outgoing Server to those shown below - ie. Port 25 and Auto encryption - and save the settings with 'OK,' 'Next,' 'Finish' and 'Close.' Then shut Outlook down.


Advanced.jpg

Thats all of the settings done. Now you have to link Outlook to your server's self-issued security certificate.

A Question of Security

What to do about your Security Certificate

The next time you start Outlook, compose a new email and run a 'Send and Receive,' Outlook will ask you whether you are happy to use the server: the dialogue is shown below...

Security Question.jpg


Click 'View Certificate' and a Window like this will appear...

Cert.jpg

Click 'Install Certificate' to get this dialogue...

Install Cert.jpg

Click 'Next' and you will see...


Next cert.jpg


Don't change any settings. Just click 'Next' - it gives this dialogue...


Install.jpg

Click 'Install' to go to this result...


Done.jpg


And tell it you want to do it anyway, which will install the certificate and report the result...


Do it.jpg


At this stage the 'Do you want to use this server' dialogue may have timed out and given you a send-failure notice. Not to worry! Just hit 'Send and receive' again and say 'Yes' to the 'Do you want to use this server' question.


That's it! Outlook can now authenticate itself to your SME SMTP Server and send emails.

Other Domains

Repeat as required

If you have more than one domain on your server, with accounts set up in Outlook, you will need to change the settings shown in 'Section 5,' 'Things to do in Outlook' for each of them.

Things to Watch Out For

Self-signed certificates have dates incorporated. Does this mean that the installation of the Security Certificate will need to be repeated annually? If so it's a pain, especially if you have a lot of workstations to look after.