Add missing "setup debug getmail" command and documentation (#4346)
This commit is contained in:
parent
0e61f170fd
commit
e116920f4d
|
@ -19,6 +19,7 @@ All notable changes to this project will be documented in this file. The format
|
||||||
- DMS v14 mistakenly relocated the _getmail state directory_ to the _DMS Config Volume_ as a `getmail/` subdirectory.
|
- DMS v14 mistakenly relocated the _getmail state directory_ to the _DMS Config Volume_ as a `getmail/` subdirectory.
|
||||||
- This has been corrected to `/var/lib/getmail` (_if you have mounted a DMS State Volume to `/var/mail-state`, `/var/lib/getmail` will be symlinked to `/var/mail-state/lib-getmail`_).
|
- This has been corrected to `/var/lib/getmail` (_if you have mounted a DMS State Volume to `/var/mail-state`, `/var/lib/getmail` will be symlinked to `/var/mail-state/lib-getmail`_).
|
||||||
- To preserve this state when upgrading to DMS v15, **you must manually migrate `getmail/` from the _DMS Config Volume_ to `lib-getmail/` in the _DMS State Volume_.**
|
- To preserve this state when upgrading to DMS v15, **you must manually migrate `getmail/` from the _DMS Config Volume_ to `lib-getmail/` in the _DMS State Volume_.**
|
||||||
|
- Added missing `debug getmail` subcommand to `setup` ([#4346](https://github.com/docker-mailserver/docker-mailserver/pull/4346))
|
||||||
- **removed `VERSION`** file that was used for checking version updates ([#3677](https://github.com/docker-mailserver/docker-mailserver/issues/3677),[#4321](https://github.com/docker-mailserver/docker-mailserver/pull/4321))
|
- **removed `VERSION`** file that was used for checking version updates ([#3677](https://github.com/docker-mailserver/docker-mailserver/issues/3677),[#4321](https://github.com/docker-mailserver/docker-mailserver/pull/4321))
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
|
@ -108,3 +108,11 @@ It is possible to utilize the `getmail-gmail-xoauth-tokens` helper to provide au
|
||||||
[getmail-docs]: https://getmail6.org/configuration.html
|
[getmail-docs]: https://getmail6.org/configuration.html
|
||||||
[getmail-docs-xoauth-12]: https://github.com/getmail6/getmail6/blob/1f95606156231f1e074ba62a9baa64f892a92ef8/docs/getmailrc-examples#L286
|
[getmail-docs-xoauth-12]: https://github.com/getmail6/getmail6/blob/1f95606156231f1e074ba62a9baa64f892a92ef8/docs/getmailrc-examples#L286
|
||||||
[getmail-docs-xoauth-13]: https://github.com/getmail6/getmail6/blob/1f95606156231f1e074ba62a9baa64f892a92ef8/docs/getmailrc-examples#L351
|
[getmail-docs-xoauth-13]: https://github.com/getmail6/getmail6/blob/1f95606156231f1e074ba62a9baa64f892a92ef8/docs/getmailrc-examples#L351
|
||||||
|
|
||||||
|
## Debugging
|
||||||
|
|
||||||
|
To debug your `getmail` configurations, run this `setup debug` command:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker exec -it dms-container-name setup debug getmail
|
||||||
|
```
|
||||||
|
|
|
@ -64,6 +64,7 @@ ${RED}[${ORANGE}SUB${RED}]${ORANGE}COMMANDS${RESET}
|
||||||
|
|
||||||
${LBLUE}COMMAND${RESET} debug ${RED}:=${RESET}
|
${LBLUE}COMMAND${RESET} debug ${RED}:=${RESET}
|
||||||
setup debug ${CYAN}fetchmail${RESET}
|
setup debug ${CYAN}fetchmail${RESET}
|
||||||
|
setup debug ${CYAN}getmail${RESET}
|
||||||
setup debug ${CYAN}login${RESET} <COMMANDS>
|
setup debug ${CYAN}login${RESET} <COMMANDS>
|
||||||
setup debug ${CYAN}show-mail-logs${RESET}
|
setup debug ${CYAN}show-mail-logs${RESET}
|
||||||
|
|
||||||
|
@ -150,6 +151,7 @@ function _main() {
|
||||||
( debug )
|
( debug )
|
||||||
case ${2:-} in
|
case ${2:-} in
|
||||||
( fetchmail ) debug-fetchmail ;;
|
( fetchmail ) debug-fetchmail ;;
|
||||||
|
( getmail ) debug-getmail ;;
|
||||||
( show-mail-logs ) cat /var/log/mail/mail.log ;;
|
( show-mail-logs ) cat /var/log/mail/mail.log ;;
|
||||||
( login )
|
( login )
|
||||||
shift 2
|
shift 2
|
||||||
|
|
Loading…
Reference in New Issue