Manual · Accounts

Accounts and app passwords

One account covers all four areas — mail, calendar, contacts and files — and one sign-in covers them all. Desktop applications connect with an app password: a password created for an application, so your sign-in password is only ever typed into the web interface.

Single sign-inScoped app passwordsRevocableCLI

Create an app password

  1. Sign in at https://{host}/ and open your account settings.
  2. Choose the application type you are connecting — the scope must match what the application does: a mail client needs the mail scope, a file drive needs the files/WebDAV scope.
  3. Give the password a name you will recognise (which computer and which application), and create it. The password is shown once.

Put that password into the application's settings. Every connection page in this manual — Mail, Calendar, Contacts, Files — expects an app password in the password field.

Why an app password, and not your sign-in password

An app password can be revoked without touching anything else: if a laptop is lost, delete that laptop's app password and the applications on it lose access while your sign-in, your mail and your files stay untouched. Each app password is scoped — a mail-scoped password cannot read your files, and a files-scoped password cannot send mail. Creating one per application is the whole point.

The Ordner command line

Ordner has its own command-line client, ordner, that speaks all four areas from the shell — reading and sending mail with attachments and drafts, calendar entries, contacts, file upload and download, shares and quotas. It authenticates the same way: a credential named once, stored in the platform's keychain (the Secret Service, KWallet, the macOS keychain, the Windows Credential Manager), and every protocol command uses it.

The first steps with it are the same pattern as the desktop applications: create an app password for it in the web interface, then add the account:

ordner mail account add lab --url https://{host}/jmap/api --user you@your-domain
ordner credential password lab --password-stdin

The CLI's own documentation (ordner --help, and the command help on every subcommand) covers the rest.

Security notes

Next chapters

Administration and the rest of the manual: