Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

mitchellurgero/miab_user_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

User Scripts for Mail-In-A-Box by Mitchell Urgero info@urgero.org (@murgero on discourse)

BY RUNNING ANY SCRIPT IN THIS REPOSITORY YOU AGREE THAT YOU ARE LIABLE FOR ANY DAMAGES CAUSED. SCRIPT IS PROVIDED AS-IS. USE AT OWN RISK

Looking for help?

php miabscript.php --help

User Copy

This is a user migration tool for Mail-In-A-Box. It requires API access. This does not, I repeat, DOES NOT COPY EMAILS. Use imapsync for that: https://github.com/imapsync/imapsync

To use this script, you must edit the configuration below, then run

php miabscript.php --type=usercopy --hostname="box.example.com" --username="admin@example.com" --current-domain="example.net" --new-domain="example.org"

in your console. Any computer with PHP7+ will work fine with this tool. Once the tool starts, it will ask you to confirm before continuing.

User Archive

As it says on the tin, we archive all users in a given domain.

Will archive the whole domain!!

php miabscript.php --type=archive --hostname="box.example.com" --username="admin@example.com" --current-domain="example.net"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages