diff --git a/README.md b/README.md index 23ee427..9ad5695 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Designed for dynamic alias based workflow where a different alias is used for ea 1. [Build](#building-from-source) / Download latest release - `mail4one.pyz` 1. Generate `config.json` from [config.sample](deploy_configs/config.sample) 1. Run `./mail4one.pyz -c config.json` - 1. [Optional] Setup systemd service and TLS certificates. See [deploy_configs](deploy_configs/) for examples + 1. Setup systemd service and TLS certificates. See [deploy_configs](deploy_configs/) for examples # Sending email diff --git a/mail4one/pop3.py b/mail4one/pop3.py index 5b993ae..3214ce9 100644 --- a/mail4one/pop3.py +++ b/mail4one/pop3.py @@ -116,8 +116,8 @@ async def expect_cmd(*commands: Command) -> Request: return req -def write(data) -> None: - logger.debug(f"Server: {data}") +def write(data: bytes) -> None: + logger.debug(f"Server: {data!r}") state().writer.write(data)