|
1 | 1 | #!/bin/bash
|
2 | 2 |
|
3 |
| -cargo run -p stalwart-cli -- -u https://127.0.0.1:443 -c admin:secret domain create example.org |
4 |
| -cargo run -p stalwart-cli -- -u https://127.0.0.1:443 -c admin:secret account create john 12345 -d "John Doe" -a john@example.org -a john.doe@example.org |
5 |
| -#cargo run -p stalwart-cli -- -u https://127.0.0.1:443 -c admin:secret account create jane abcde -d "Jane Doe" -a jane@example.org |
6 |
| -#cargo run -p stalwart-cli -- -u https://127.0.0.1:443 -c admin:secret account create bill xyz12 -d "Bill Foobar" -a bill@example.org |
7 |
| -#cargo run -p stalwart-cli -- -u https://127.0.0.1:443 -c admin:secret group create sales -d "Sales Department" |
8 |
| -#cargo run -p stalwart-cli -- -u https://127.0.0.1:443 -c admin:secret group create support -d "Technical Support" |
9 |
| -#cargo run -p stalwart-cli -- -u https://127.0.0.1:443 -c admin:secret account add-to-group john sales support |
10 |
| -#cargo run -p stalwart-cli -- -u https://127.0.0.1:443 -c admin:secret account remove-from-group john support |
11 |
| -#cargo run -p stalwart-cli -- -u https://127.0.0.1:443 -c admin:secret account add-email jane jane.doe@example.org |
12 |
| -#cargo run -p stalwart-cli -- -u https://127.0.0.1:443 -c admin:secret list create everyone everyone@example.org |
13 |
| -#cargo run -p stalwart-cli -- -u https://127.0.0.1:443 -c admin:secret list add-members everyone jane john bill |
14 |
| -#cargo run -p stalwart-cli -- -u https://127.0.0.1:443 -c admin:secret account list |
15 |
| -#cargo run -p stalwart-cli -- -u https://127.0.0.1:443 -c admin:secret import messages --format mbox john _ignore/dovecot-crlf |
16 |
| -#cargo run -p stalwart-cli -- -u https://127.0.0.1:443 -c admin:secret import messages --format maildir john /var/mail/john |
| 3 | +URL="https://127.0.0.1:443" |
| 4 | +CREDENTIALS="admin:secret" |
| 5 | + |
| 6 | +cargo run -p stalwart-cli -- domain create example.org |
| 7 | +cargo run -p stalwart-cli -- account create john 12345 -d "John Doe" -a john@example.org -a john.doe@example.org |
| 8 | +#cargo run -p stalwart-cli -- account create jane abcde -d "Jane Doe" -a jane@example.org |
| 9 | +#cargo run -p stalwart-cli -- account create bill xyz12 -d "Bill Foobar" -a bill@example.org |
| 10 | +#cargo run -p stalwart-cli -- group create sales -d "Sales Department" |
| 11 | +#cargo run -p stalwart-cli -- group create support -d "Technical Support" |
| 12 | +#cargo run -p stalwart-cli -- account add-to-group john sales support |
| 13 | +#cargo run -p stalwart-cli -- account remove-from-group john support |
| 14 | +#cargo run -p stalwart-cli -- account add-email jane jane.doe@example.org |
| 15 | +#cargo run -p stalwart-cli -- list create everyone everyone@example.org |
| 16 | +#cargo run -p stalwart-cli -- list add-members everyone jane john bill |
| 17 | +#cargo run -p stalwart-cli -- account list |
| 18 | +#cargo run -p stalwart-cli -- import messages --format mbox john _ignore/dovecot-crlf |
| 19 | +#cargo run -p stalwart-cli -- import messages --format maildir john /var/mail/john |
0 commit comments