Tech:Mail

This pages documents all email services hosted on the Orain servers.

MediaWiki
MediaWiki mail produced by the system automatically is sent from help@orain.org and is always related to the MediaWiki software.

Staff
Staff or those associated with Orain's daily management (sysadmins, council members..) may be given or may make use of Orain emails for official or Orain-related business. Within this, role emails may also be made for specific cases.

End Users
Orain uses Postfix and Dovecot for the email services on Prod1. In order to use the Orain mail service on a third party client, the incoming and outgoing mail servers are the same. The hostname is 'mail.orain.org' and the username and password for connection will be given to you by a sysadmin when the account is set up. //TODO - probably make this, better?

How Tos
This is documentation for sysadmins. All commands should be ran on Prod1 unless stated.

useradd --create-home -s /sbin/nologin ; passwd is the part before @orain.org, so 123@orain.org would be just 123.
 * add new email

passwd
 * change email password

To enable an alias, add to, the following :   aliasmail would be test1 and targetmail test for emails to test1@orain.org to be sent to test@orain.org. After the alias has been added, run  for Postfix for refresh the aliases list.
 * aliases

Lacking of any real interface, to set up a mailing list under @orain.org, following the 'add new email' instructions for the group (e.g. council) and then edit  adding :  , , Where 'localemailuser' are ones such as 'test' and 'test1' while aliases to external emails are the full email. After run
 * mailing lists/groups

Orain uses an autoresponse system built into Postfix to allow autoresponses to be generated from different reasons from general 'we got the email' to 'this email is no longer used' to 'away' responses. To enable an autoresponse from an existing template (see ) cp ../responses/ \@orain.org Then modify it to suit the needs.
 * autoresponse

To create a new autoresponse, create a new file in the 'responses' folder with the name of \@orain.org. Then set it out as Subject:  The autoresponder will then pick it up next time and email is sent and respond automatically.

If you want to fully remove the email, do userdel -r and ensure the email is removed from all aliases. To disable it only, do passwd -l and add an auto responder as appropriate (see above). To undisable the account at a later date, do passwd -u and remove the auto responder (if one exists).
 * disable an email