E-mail Configuration

How to Read Your E-Mail

You can access your e-mail using IMAP4 or POP3. Check configurations for the following email clients:

Gmail Logo Thunderbird Logo Apple Mail Logo Outlook Logo

Generic Configuration for IMAP4 or POP3

  • Username: the user part of your email address (e.g., someone@dei.uc.pt → someone)
  • Server:
    • eden.dei.uc.pt - Teachers, postgraduate students, and researchers
    • student.dei.uc.pt - Students
  • IMAP4: SSL/TLS on port 993
  • POP3: SSL/TLS on port 995

How to Send E-Mail

Use the SMTP server smtp.dei.uc.pt. This server supports:

  • Virus filtering
  • SPAM message classification
  • STARTTLS/SSL
  • SMTP authentication (SMTP AUTH)
  • Relaying to authenticated clients
  • Attachment limit: 60 MB

SMTP Ports:

  • SSL: port 465
  • Submission: port 587

Storing SPAM on the Server

Use procmail to store messages tagged as SPAM in a separate file as they arrive. Create ~/.procmailrc:

:0 H
* ^Subject:.*\{Spam\?\}
{
  :0
  mail/spam
}

Set permissions:

chmod 600 ~/.procmailrc

Make sure mail/spam is listed in .subscriptions to subscribe via IMAP or webmail.

Forwarding Email

Edit ~/.forward (or via webmail) with:

user@domain.com, \login

Set permissions:

chmod 600 ~/.forward

Google Gmail Configuration

  1. Open Gmail > Settings > Accounts and Import > Add a POP3 mail account you own.
    Gmail step 1
  2. Enter your DEI login and password, select Label incoming messages, and click Add Account.
    Gmail step 2
  3. Under Send mail as, click Add another email address, enter your name and DEI email, then click Next Step.
    Gmail step 3
  4. Enter SMTP server smtp.dei.uc.pt, your login and password, then click Add Account.
    Gmail step 4
  5. Verify the code sent to your DEI email and click Verify.
    Gmail step 5

Microsoft Outlook Configuration

  1. In Outlook, go to Tools > Account Settings > New > POP/IMAP.
    Outlook step 1
  2. Select Manually configure server settings and click Next.
    Outlook step 2
  3. Choose Internet E-mail and click Next.
    Outlook step 3
  4. Enter account details and click More Settings....
    Outlook step 4
  5. On the Outgoing Server tab, enable SMTP authentication.
    Outlook step 5
  6. On the Advanced tab, set:
    • Incoming (IMAP): SSL on port 993
    • Outgoing (SMTP): TLS (or SSL) on port 465/587

    Outlook step 6

Mozilla Thunderbird Configuration

  1. In Thunderbird, go to Tools > Account Settings > Account Actions > Add Mail Account. Enter your details and click Continue.
    Thunderbird step 1
  2. Click Manual Configuration, enter server settings, then Re-test and Done.
    Thunderbird step 2
  3. Under Outgoing Server (SMTP), click Edit....
    Thunderbird step 3
  4. Use STARTTLS (or SSL) for Connection security, adjust ports, then click OK.
    Thunderbird step 4

Apple Mail Configuration

  1. In Apple Mail, go to File > Add Account > Continue.
    Apple Mail step 1
  2. Enter incoming server details, accept the certificate, and click Continue.
    Apple Mail step 2
  3. Enter outgoing server details and click Continue.
    Apple Mail step 3
  4. Review the Account Summary and click Create.
    Apple Mail step 4