Documentation

Help for MailMigrata and the whole suite

Set up your Mailfence email in a flash

Mailfence accepts your ordinary account password for as long as two-factor authentication stays switched off on the account. The moment you enable that second factor, every mail client must present a separate password that Mailfence generates for it alone.

Which password applies

  • While the second factor remains disabled, your normal account password authenticates IMAP, SMTP and POP3 connections without any further setup.
  • With two-factor authentication switched on, Mailfence refuses that account password, so you generate a service-specific password for each client under Settings → Account → Passwords.

Checking that single toggle first is worthwhile, because otherwise you may spend a long time hunting for a mistyped character. Identical server settings succeed or fail depending only on whether that protection is active on the account.

Settings

For incoming mail you should choose IMAP, which Mailfence serves at imap.mailfence.com on port 993 with SSL/TLS protection. Your Mailfence username or your full address serves as the username, exactly as your current plan displays it. If you prefer POP3 instead, Mailfence listens at pop.mailfence.com on port 995 under the same SSL/TLS protection. The password field takes your account password, or the service-specific password that two-factor authentication requires you to create. For outgoing mail Mailfence provides smtp.mailfence.com on port 465 with SSL/TLS, and you should try that combination first. An alternative outgoing route reaches the same smtp.mailfence.com host on port 587 with STARTTLS, so use it when the connection above cannot be established.

Two-factor changes the answer

Mailfence markets itself as a privacy-focused provider, which is why second-factor protection is common across its user base. When a client reports that the password stopped working, the usual cause is that two-factor authentication was switched on rather than a typo. You fix the problem by generating a service-specific password for that client, and you leave both two-factor and the account password exactly as they are. The same password protects nothing else, so revoking one client never disturbs your other devices or connections.

Putting it in a client

  1. You add the account manually and choose IMAP instead of relying on autodetection, so the client uses the settings listed above.
  2. The incoming server hostname is imap.mailfence.com on port 993, and SSL/TLS provides the encryption for those downloads.
  3. For outgoing mail you point the client at smtp.mailfence.com on port 465, enable SSL/TLS there as well, and switch authentication on.
  4. You send a message to yourself and reply to it, because outgoing faults appear only when a message is actually sent.

If sending fails on port 465, you should try port 587 with STARTTLS before you change anything else in the account.

IMAP or POP3?

IMAP stores the mailbox on the server, so every device stays in step with the same set of messages. You should use IMAP, because POP3 downloads messages rather than syncing them, and that weakness affects both a second device and any later migration.

If you are moving the mailbox instead

Setting up a client is not the same task as migrating a mailbox, because a client reads the mailbox while a migration copies it elsewhere. To copy a mailbox out of Mailfence, or to bring one in, you use MailMigrata over IMAP. With two-factor authentication on, you create a service-specific password for that job and revoke the password afterwards, so the credential does not outlive the migration. See OAuth, passwords, and app passwords and Run your first migration.