Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions tls-options/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,25 @@ Example:
-a <Peer auth mode> -m <Verify mode>
```

#### Use SMTP client

You can use SMTP OVER TLS or STARTTLS client.

- SMTP OVER TLS - [RFC 8314](https://datatracker.ietf.org/doc/html/rfc8314)

- STARTTLS - [RFC 3207](https://datatracker.ietf.org/doc/html/rfc3207)

Example:
```sh
./client-smtp-starttls <SERVER_NAME> <CERT_FILE_PATH>
```

```sh
./client-smtp-over-tls <SERVER_NAME> <CERT_FILE_PATH>
```

When using Gmail SMTP server (```smtp.gmail.com```), you need to configure an app password in your Google account settings.

## Cleaning Up

You can remove executable files by doing:
Expand Down
Loading