Vandelay export how to bypass rate limits when running on stalwart server

Your question

When running an “vandelay export …” command to import email onto a stalwart server, the import is slowed by rate limits.

  1. Is there an option to ignore rate limits if vandelay is running on the stalwart host?

  2. Is there a method to temporarily override rate limits?

  3. Or is there a vandelay export command that allows the server admin account to import on behalf of a user account?

  4. When a rate limit is reset in the web admin, how long before the new rate limit takes effect? EG: If [email protected] is rate limited and the limit is increase from 1000 to 2000 does the new limit take effect immediately or only once the timeout has expired?

Let me check the import-export docs page and rate limit docs for authenticated user exemptions.

This gives me a solid answer regarding impersonation (question 3). Now let’s check how rate limits apply on the fields the admin account itself is subject to, and whether increasing a limit takes effect immediately.

To bypass rate limits run vandelay export to Stalwart using an Administrator, not the mailbox owner.

Thanks for helping, I think I’m confusing myself.

The command example is:

3. Push the archive into a target JMAP server.

export VANDELAY_PASSWORD=‘target-password’
vandelay export \
–url https://jmap.example.org \
–auth-basic [email protected] \
–account-name [email protected] \
alice.sqlite

so does that mean the --auth-basic would be the server admin like “[email protected]” and the --account-name is the user “[email protected]”?

You got it. Then you’ll be under the admin permissions, which ignore the limits.