Connect generic IMAP to JustForwarding
This article explains how to connect any IMAP host, such as cPanel, Dovecot, Fastmail, or a university server, to one side of a JustForwarding pair.
Limitations
- JustForwarding copies new mail only. It does not copy existing history. For history, use MailMigrata.
- Each pair copies in one direction. The reverse direction (B to A) is a separate pair with its own trial.
- JustForwarding checks the source about every 30 minutes. It is not real-time.
- JustForwarding uses IMAP only. It does not support POP3.
- A webmail URL (Roundcube, Horde) is not an IMAP host.
- JustForwarding workers run on the public internet. They cannot reach servers on a private network.
Prerequisites
- The provider's IMAP host name, from its mail client or "connect devices" page.
- SSL/TLS on port 993.
- The mailbox password, or an app password if the host requires one.
- If this side is the destination, the server must allow APPEND.
Steps
- Enter the IMAP host name and enable SSL on port 993.
- Enter the username. This is usually the full email address.
- Confirm the folder list. Namespace prefixes such as
INBOX.are normal.
When the folder list loads, the connection works and you can finish the pair.
Troubleshooting
- LOGIN failed: Wrong password, or IMAP is off on the server. Reset the mailbox password in cPanel or the host's email accounts screen, not the hosting panel login.
- Timeout: Port 993 is blocked, or the server uses a private IP address. Allow JustForwarding's public workers through the firewall, or move IMAP to a public host name.
- Certificate error: The server uses a self-signed certificate. Install a valid TLS certificate. JustForwarding does not skip verification.
- Webmail URL entered: An address such as
https://webmail.example.comis not IMAP. Use the "incoming server" value, oftenmail.example.com. - POP3 works but IMAP fails: Enable IMAP on the server, or use a host that supports it.
- Old archive missing: See JustForwarding does not copy history.