Skip to content

EMail administration tasks

Every command should be ran as the akkoma user from it's home directory. For example if you are superuser, you would have to wrap the command in su akkoma -s $SHELL -lc "$COMMAND".

From source note about MIX_ENV

The mix command should be prefixed with the name of environment your Akkoma server is running in, usually it's MIX_ENV=prod

Send test email (instance email by default)

 ./bin/pleroma_ctl email test [--to <destination email address>]
mix pleroma.email test [--to <destination email address>]

Example:

./bin/pleroma_ctl email test --to root@example.org
mix pleroma.email test --to root@example.org

Send confirmation emails to all unconfirmed user accounts

 ./bin/pleroma_ctl email resend_confirmation_emails
mix pleroma.email resend_confirmation_emails