These instructions are for OpenSkills hosts that run services that need to send email. For example, the membership system sends email messages regarding applications and account status.
All email from OpenSkills services must flow out through the SMTP server running on smtp.openskills.org.
To configure the local smtp service (assuming this is a single-purpose server and you are the admin for the machine):
- We are going to send all email messages out via the smtp.openskills.org server. To do this you need a username and a password from the email administrator, so before doing anything else with your email configuration:
- Ask the smtp.openskills.org administrator for a username and a password. The username will probably be the host name, e.g. brock.openskills.org. The password will probably be a load of gibberish, e.g. LJKSD876KJ.
- If it is not already installed, install the exim4 package: "
aptitude install exim4".
- Run "
- Go for the one large file (i.e. choose no)
- Choose "mail sent by smarthost; no local mail
- For the "mail name" enter the name of the host, not the service name. e.g. use "brock.openskills.org" not "mms.openskills.org"
- Listen only on 127.0.0.1
- Add no additional domains
- Make the visible name for local users the machine name e.g. "brock.openskills.org"
- The machine handling outgoing mail is "smtp.openskills.org"
- Answer "yes" to keep number of DNS queries minimal
- ... and if asked (e.g. if you have MailMan installed) Send 'postmaster' and other mail to 'root'
- Edit /etc/exim4/passwd.client
- In the file add a line *:<username>:<password> you were given by the smtp.openskills.org administrator. e.g.