change key generation via SAM command
Signed-off-by: AGentooCat <agentoocat@mail.i2p>
This commit is contained in:
@ -8,7 +8,7 @@ directly into an I2P server hosting `itoomail` (or a similar server).
|
||||
- Ensure that your I2P router has it's [SAM](http://i2p-projekt.i2p/en/docs/api/samv3) port open.
|
||||
This can be done by starting (and ticking Run-at-startup) on [Java I2P settings](http://127.0.0.1:7657/configclients) or setting `enabled` key under `sam` section of your [I2Pd config](https://i2pd.readthedocs.io/en/latest/user-guide/configuration/) to `true` and restarting I2Pd.
|
||||
- Generate a private key for itoomail to use.
|
||||
A way to do this is to use the SAM bridge with this command: `echo -e "HELLO VERSION MIN=3.1 MAX=3.3\nDEST GENERATE SIGNATURE_TYPE=7" | nc 127.0.0.1 7656` and noting the `PUB` and `PRIV` responses.
|
||||
A way to do this is to use the SAM bridge with this command: `echo -e "HELLO VERSION MIN=3.1 MAX=3.3\nDEST GENERATE SIGNATURE_TYPE=7\nQUIT" | nc 127.0.0.1 7656 | sed -e s/' '/'\n '/g` and noting down the `PUB` and `PRIV` responses.
|
||||
Save the `PUB` field under `/.well-known/i2pmail.key` of your site you want to host your mail server under.
|
||||
- (Optionally) Make a seperate user/group for itoomail to run under.
|
||||
- (If not launching as root) Make a directory for itoomail to use as it's datadir.
|
||||
|
Reference in New Issue
Block a user