Differences between revisions 5 and 6
Revision 5 as of 2019-04-13 17:18:14
Size: 3748
Editor: frekk
Comment:
Revision 6 as of 2020-04-07 22:25:23
Size: 4434
Editor: MarkTearle
Comment:
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:
==== Autoconfiguration ====

UCC has DNS SRV records set up to auto-configure your mail settings per the details below for modern mail clients. If these do not work, please let us know / use the details below.
Line 31: Line 35:
 * '''Server Name (address)''': secure.ucc.asn.au  * '''Server Name (address)''': imaps.ucc.asn.au
Line 40: Line 44:
 * '''Server name''': secure.ucc.asn.au  * '''Server name''': pop3s.ucc.asn.au
Line 47: Line 51:
 * '''Server Name''': secure.ucc.asn.au
 * '''Port''': 465
 * '''Server Name''': submission.ucc.asn.au
 * '''Port''': 587
Line 60: Line 64:
`secure.ucc.asn.au` has a bunch of different ports used for different things that are redirected to different servers by our firewall, [[Murasoi]]. `imaps.ucc.asn.au`, `pop3s.ucc.asn.au` and `submission.ucc.asn.au` are DNS CNAMEs to be used for bunch of different ports used for different things that are redirected to different servers by by haproxy running on [[Mailauesi]]. All services require authentication.
 * IMAPS / POP3S (ports 993 and 995) redirect to [[Motsugo]] and are served by `dovecot`.
 * SMTP (port 587) redirect to [[Mooneye]] and are served by `postfix`

`secure.ucc.asn.au` was the legacy host for this, and had a bunch of different ports used for different things that are redirected to different servers by our firewall, [[Murasoi]].

Along with your UCC account, you get an email address of the form username@ucc.asn.au.

Much of this information is duplicated on the main website. This wiki page is however more up to date.

Forwarding your UCC email to another address

New members have the option to enter an email address to forward to upon creating their account. This will save the email address to the file .forward in your home directory.

You can change this any time, such as by connecting to motsugo over SSH and using nano ~/.forward. All you need is one line containing your email address, and all emails to your UCC email address will automatically be forwarded to the email address given in the file.

Accessing your UCC email

If you want to use your UCC email properly, and also be able to send mail from it, there are a number of options.

The settings necessary for popular email clients (Thunderbird, Outlook, etc) are listed below. For incoming mail, you can choose either POP3 (email is downloaded and kept locally) or IMAP (email is kept on the server and only cached locally).

For all mail-related authentication, use your UCC username (not email address) and password.

Webmail

UCC has multiple options for webmail: RoundCube and SOGo, and probably a few more that are no longer working. Simply log in using your UCC username and password.

Using another mail client

Autoconfiguration

UCC has DNS SRV records set up to auto-configure your mail settings per the details below for modern mail clients. If these do not work, please let us know / use the details below.

IMAPS (incoming)

These settings work in Thunderbird. They might not be applicable to other mail clients but you can probably figure it out.

  • Server Name (address): imaps.ucc.asn.au

  • Port: 993

  • Connection security: SSL/TLS (not STARTTLS)

  • Authentication method: Normal password

POP3S (incoming)

Use IMAP instead. It's much nicer.

  • Server name: pop3s.ucc.asn.au

  • Port: 995

  • Connection security: SSL/TLS (not STARTTLS)

  • Authentication method: Normal password

SMTP (outgoing)

  • Server Name: submission.ucc.asn.au

  • Port: 587

  • Connection security: SSL/TLS (not STARTTLS)

  • Authentication method: Normal password

Again, use your UCC username (not email address) and password for authentication.

Over SSH

If you like to use SSH or are paranoid about malicious 3rd parties sniffing your email configuration, you can check email with Alpine on Motsugo (run alpine).

Technical Details

imaps.ucc.asn.au, pop3s.ucc.asn.au and submission.ucc.asn.au are DNS CNAMEs to be used for bunch of different ports used for different things that are redirected to different servers by by haproxy running on Mailauesi. All services require authentication.

  • IMAPS / POP3S (ports 993 and 995) redirect to Motsugo and are served by dovecot.

  • SMTP (port 587) redirect to Mooneye and are served by postfix

secure.ucc.asn.au was the legacy host for this, and had a bunch of different ports used for different things that are redirected to different servers by our firewall, Murasoi.

  • IMAP / POP3 (ports 110 and 143) and IMAPS / POP3S (ports 993 and 995) redirect to Motsugo and are served by dovecot.

  • SMTP (ports 25 and 465) redirect to Mooneye and are served by postfix

Mail is stored in your home directory. A number of different configurations are permissible and will be recognised by postfix and dovecot (so your email can be stored correctly upon arrival and later accessed by your mail client), however only one that works is documented here.

  • postfix saves mail to /var/spool/mail/username.

  • dovecot reads mail from ~/mail/INBOX

  • To make the two work properly, a good idea is to symlink ~/mail/INBOX to /var/spool/mail/username.

    • You can do this from a shell on motsugo with mkdir -p ~/mail && ln -s /var/spool/mail/$USER ~/mail/INBOX

The various webmail interfaces generally use IMAP behind the scenes. Hence, if you not seeing your emails correctly, try the symlink fix above.