system/notes/davmail.md

20 lines
407 B
Markdown
Raw Normal View History

2024-10-31 16:52:46 +03:00
# Davmail
## Update refresh token
Stop current `davmail.service` and clone properties to a temp file
```sh
sudo systemctl stop davmail.service
cat $(sudo systemctl cat davmail.service | awk '/ExecStart=/ { print $2; }') > /tmp/davmail.properties
```
Start davmail manually
```sh
davmail /tmp/davmail.properties
```
Open renew link in the browser and copy `refreshToken` from
`/tmp/davmail.properties`