site/content/wiki/emails.md
2025-04-25 23:36:01 -07:00

87 lines
4.2 KiB
Markdown

---
title: Email Account Guide
description: "How to log in with an email client, change your password, and the latest updates on the upcoming multi-factor authentication (MFA) mandate."
---
---
## NEW: Multi-Factor Authentication
The University is mandating that multi-factor authentication (MFA) be enabled for all email accounts by May 1, 2025. Specifically, we are using [Cisco Duo](https://duo.com/docs/duounix) as our MFA service, to be consistent with MyUCLA, UCLA Google Apps, and the UCLA Campus VPN. Even if you have UCLA Duo set up already, this uses a slightly different instance belonging to UCLA Computer Science specifically.
We have activated MFA starting on April 25. You must follow the below instructions to access your inbox.
### Enrollment Instructions
1. Install the Duo app on your mobile device ([iOS](https://apps.apple.com/us/app/duo-mobile/id422663827), [Android](https://play.google.com/store/apps/details?id=com.duosecurity.duomobile&hl=en-US&pli=1)). You can also use a compatible [security key](https://guide.duo.com/security-keys).
2. SSH into your virtual machine.
3. Run `ssh [your username]@10.0.0.10` in the shell—this connects to the mail server.
{{< figure src="/duo/Screenshot from 2025-04-25 16-46-23.png" >}}
4. You will be prompted to enroll in Duo MFA. Paste any one of the links into your browser and follow the on-screen instructions.
{{< figure src="/duo/Screenshot 2025-04-25 at 16-43-30 Duo Security - Device Management.png" >}}
We recommend against using text messages as your authentication method, because they leave you vulnerable to [SIM swap attacks](https://www.cnet.com/news/privacy/do-you-use-sms-for-two-factor-authentication-heres-why-you-shouldnt/).
{{< figure src="/duo/Screenshot 2025-04-25 at 16-43-47 Duo Security - Device Management.png" >}}
{{< figure src="/duo/Screenshot 2025-04-25 at 16-44-11 Duo Security - Device Management.png" >}}
{{< figure src="/duo/Screenshot 2025-04-25 at 16-44-24 Duo Security - Device Management.png" >}}
{{< figure src="/duo/Screenshot 2025-04-25 at 16-44-34 Duo Security - Device Management.png" >}}
{{< figure src="/duo/Screenshot 2025-04-25 at 16-44-55 Duo Security - Device Management.png" >}}
{{< figure src="/duo/Screenshot 2025-04-25 at 16-45-28 Duo Security - Device Management.png" >}}
{{< figure src="/duo/Screenshot 2025-04-25 at 16-45-42 Duo Security - Device Management.png" >}}
5. You can Ctrl+C out of the SSH password prompt once you've enrolled.
6. Try rerunning the last SSH command. You should now get a Duo push on your phone, which logs you in once accepted.
{{< figure src="/duo/IMG_6215.jpg" height="400" >}}
{{< figure src="/duo/Screenshot from 2025-04-25 16-59-20.png" >}}
Now would be a good time to change your password if you haven't done so already! Just run the `passwd` command on the "paris" server.
7. Now, you can log into your email inbox as you did before, with the added step of accepting the Duo push on your phone.
**NOTE:** your IMAP session is supposed to be cached for an hour to avoid spamming repeat Duo requests. Please contact us right away if this doesn't work as intended&mdash;hitting "deny" on the Duo pushes repeatedly will only lock you out of your account, requiring manual intervention from the CS Department! You can reach us on [Discord](/discord), [XMPP](https://xmpp.link/#main@room.linux.ucla.edu%3Fjoin), or use an alternative account to email [board@linux.ucla.edu](mailto:board@linux.ucla.edu).
---
## Logging in
I am using the following settings with Thunderbird to get in. I haven't tried it with another email client but you are welcome to.
### SMTP
Server Name: `mail.linux.ucla.edu`
Port: `587`
Authentication method: Normal password
Connection security: STARTTLS
### IMAP
Server Name: `mail.linux.ucla.edu`
Port: `993`
Authentication method: Normal Password
Connection security: SSL/TLS
## Changing your password
To change the password, SSH into your virtual machine and run the shell command `ssh [your username]@10.0.0.10`. Accept the Duo MFA push, or follow the MFA enrollment instructions if it's your first time. Then use the `passwd` command to change your password.
(Yes we know, this is a pretty crappy and inelegant solution, but it's good enough for now)