Mail

Turtle sends two kinds of mail: invitations and password reset links. It works without mail too.

Without mail

When you invite someone or create a password reset link under Members, Turtle shows you the link with Copy. Pass it on yourself, by chat or mail. A Member who forgot their password asks a Workspace Admin for a link.

With mail

Set three settings:

SettingExample
TURTLE_SMTP_URLsmtps://user:password@smtp.example.org, or smtp://user:password@smtp.example.org:587?tls=required
TURTLE_MAIL_FROMTurtle <turtle@example.org>
TURTLE_PUBLIC_URLhttps://turtle.example.org, for the links in the mail

Without TURTLE_MAIL_FROM or TURTLE_PUBLIC_URL, Turtle does not start and says which one is missing.

With mail set up:

  • Invite under Members mails the invitation.
  • Password reset link under Members mails the link.
  • The sign-in screen offers Forgot your password?, so Members can ask for a link themselves.

If an invitation or reset link you create under Members cannot be mailed, Turtle says so and shows the link to pass on instead.

How long links work

LinkWorks
InvitationOnce, within seven days.
Password resetOnce, within 24 hours.

Failed attempts

Someone who fails to sign in, or to use a single-use link, too often in a short time is turned away for 15 minutes. So is everyone trying an email address after five failed attempts with it. Behind a reverse proxy, set TURTLE_CLIENT_ADDRESS_HEADER so this counts each client on its own. See Running behind a reverse proxy.