Skip to content
AsterDrive
Security update: Docker images from v0.4.0-rc.1 fix the high-severity FFmpeg MagicYUV decoder vulnerability (CVE-2026-8461). Upgrade instances using older images immediately.View CVE advisory
Security update: v0.4.0-beta.3 fixes a WebDAV request issue that can terminate the server process. Upgrade older instances promptly.View advisory

Mail

Features that depend on mail:

  • Email activation after public registration
  • Password recovery on the login page
  • Email address changes in Settings -> Security
  • Email verification when external authentication cannot directly match a local account
  • Email-code MFA during login second-factor verification
  • Test emails sent by administrators

Entry point:

Admin -> System Settings -> Mail Delivery
  1. Fill in SMTP server, port, and security mode
  2. Fill in username and password if needed
  3. Fill in sender address and sender name
  4. Send a test email to yourself first
  5. Then test registration activation, password reset, and email address changes
  6. If you will enable external-auth email verification or email-code MFA, run each real flow once too
OptionPurpose
mail_smtp_hostSMTP server address
mail_smtp_portSMTP port, default 587
mail_securitySecurity mode. 465 usually means implicit SSL/TLS; other ports usually use STARTTLS.
mail_smtp_usernameSMTP login username
mail_smtp_passwordSMTP login password
mail_from_addressSender email address shown to recipients
mail_from_nameSender name shown to recipients

If you do not usually manage mail systems, think of SMTP simply as “the connection information for the server that sends mail”.

The Mail Delivery page has a Send Test Email button.

Common usage:

  • Send directly to the current administrator email address
  • Temporarily change it to another external email address to confirm non-internal domains can receive mail too

After the test passes, do two more things:

  1. On the login page, try “register and receive activation email” or “forgot password” once
  2. Confirm that Admin -> System Settings -> Site Configuration -> Public Site URL is correct

AsterDrive currently has 7 built-in template groups:

  • Registration activation
  • Email address change confirmation
  • Password reset
  • Password reset result notification
  • Old email address change notification
  • External login email verification
  • Login email code

Each group can change:

  • Subject
  • Email body (HTML)

Activation links, password reset links, and email-change confirmation links all need to generate addresses that can be opened externally.

If the real access address is:

https://drive.example.com

Set it here:

Admin -> System Settings -> Site Configuration -> Public Site URL

If the same instance has multiple public entry points, enter them one by one in the list. Background flows such as email delivery do not have the current browser Host, so they use the first item as the default origin. Put the default origin you most want users to click first.

SymptomLikely Problem
New users can register but do not receive activation emailsSMTP cannot connect, or the recipient side rejects the email
The forgot-password button works, but no reset link appears in the mailboxSame as above, or Public Site URL is missing
Users can start an email address change, but the new mailbox does not receive confirmationSame as above
External login reaches email verification but no mail arrivesSMTP is not working, or the external login email verification template / public site URL is wrong
The MFA page can send an email code but no mail arrivesSMTP is not working, or the login email code template is broken
Test email failsSMTP configuration is wrong, or outbound network access is blocked

Troubleshooting checklist:

  1. SMTP host, port, security mode, account, and password
  2. Whether the SMTP service allows the sender address
  3. Whether Public Site URL has been changed to the real external HTTP(S) origin; if there are multiple entry points, whether the mail default origin is first
  4. Check both inbox and spam folders
  5. After mail is restored, resend activation emails or email-change confirmation emails