Set up your Yandex Mail email in a flash
Yandex requires two separate switches to be turned on, and the provider additionally requires an app password. A mail client fails exactly as though the password were wrong when either switch stays off, so you verify both switches before you trust the password.
Turn on both settings
- You sign in to Yandex Mail and you open Settings → Mail clients, which Yandex labels Все настройки → Почтовые программы.
- You enable "Use a mail client to retrieve your Yandex mail" → via IMAP, so that the account accepts IMAP connections at all.
- In Yandex ID, you open App passwords and you make sure that "App passwords and OAuth tokens" is enabled there.
Yandex requires both switches, because the first switch allows IMAP and the second one lets you mint the password that a client can use.
Then create an app password
In Yandex ID you open App passwords, you select Create, you choose Mail as the application type, you name the password, and you copy the result. Yandex will not accept your account password when a client connects, because the provider designs app passwords to be the only credential a client may use.
Settings
The IMAP row of the settings table gives imap.yandex.com as the hostname, 993 as the port, and SSL/TLS as the security. Yandex marks that row as the one to use, so you should choose IMAP for this account. Outgoing mail uses the SMTP row, which names smtp.yandex.com and reaches it on port 465 with SSL/TLS protection. The Username field takes the full email address, because Yandex expects the complete address rather than a shortened form. You enter the app password in the Password field, because your account password will not authenticate a mail client. The domains imap.yandex.ru and smtp.yandex.ru resolve to the same service, so either domain works with these settings. Yandex 360 for business uses the same hostnames, and only the sign-in policy that the organisation enforces differs.
Putting it in a client
- You add the account manually and you choose IMAP rather than letting the client autodetect the settings.
- You enter
imap.yandex.comon port 993 with SSL/TLS for the incoming server, exactly as the table above specifies. - The outgoing server takes
smtp.yandex.com, uses port 465, and keeps SSL/TLS protection in place while authentication stays enabled. - You send a message to yourself and reply to it, because outgoing faults appear only when you send.
If the client keeps asking for the password, then you are giving the client the account password rather than the generated one. You replace that value with the app password, and you revoke that credential once the job is done.
IMAP or POP3?
IMAP keeps the mailbox on the server and it keeps every device in step with that mailbox. You should therefore use IMAP, because Yandex requires a separate switch for POP3 access. That extra step leaves IMAP as the simpler path as well as the better one.
If you are moving the mailbox instead
Setting up a client is not a migration, so moving a mailbox out of Yandex or bringing one in needs a separate tool. MailMigrata copies the mailbox over IMAP, and that job uses an app password that you create for the purpose. See OAuth, passwords, and app passwords and Run your first migration.