|
1
|
# Running on a server |
|
2
|
|
|
3
|
These are quick notes for running the IMAP service manually while you are still in the prototype stage. |
|
4
|
|
|
5
|
## Run in the background |
|
6
|
|
|
7
|
```bash |
|
8
|
cargo run --release > output.log 2>&1 & |
|
9
|
``` |
|
10
|
|
|
11
|
## Check the listener |
|
12
|
|
|
13
|
For a local IMAP listener on port `1143`: |
|
14
|
|
|
15
|
```bash |
|
16
|
sudo lsof -nP -iTCP:1143 -sTCP:LISTEN |
|
17
|
``` |
|
18
|
|
|
19
|
If you change the port, update the command to match. |
|
20
|
|
|
21
|
## Note |
|
22
|
|
|
23
|
This is only a rough operator note for development and manual testing. It is not a deployment guide yet. |