diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-10-30 22:40:56 +0200 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-10-30 22:40:56 +0200 |
commit | 6cc43540d6e8a9e3237aaf4a3ffecaa550f6e4fd (patch) | |
tree | 8007b32cc457224e960ba1f73ef53fd168e530a0 /docs | |
parent | 6392904047919a8f6f4a3bbae3d371037f840300 (diff) |
docs/meli.conf.5: add SmtpPassword examples
Diffstat (limited to 'docs')
-rw-r--r-- | docs/meli.conf.5 | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/docs/meli.conf.5 b/docs/meli.conf.5 index 71dfd37b..e4918715 100644 --- a/docs/meli.conf.5 +++ b/docs/meli.conf.5 @@ -1077,19 +1077,38 @@ subsection For type "auto": .Bl -tag -width 36n .It Ic username Ar String -.It Ic password Ar String|SmtpPassword +.It Ic password Ar SmtpPassword .It Ic require_auth Ar bool .Pq Em optional require authentication in every case .\" default value .Pq Em true .El +.sp +Examples: +.Bd -literal +auth = { type = "auto", username = "user", password = { type = "raw", value = "hunter2" } } +.Ed +.Bd -literal +auth = { type = "auto", username = "user", password = "hunter2" } +.Ed +.Bd -literal +auth = { type = "none" } +.Ed .Ss SmtpPassword .Bl -tag -width 36n .It Ic type Ar "raw" | "command_evaluation" .It Ic value Ar String Either a raw password string, or command to execute. .El +.sp +Examples: +.Bd -literal +password = { type = "raw", value = "hunter2" } +.Ed +.Bd -literal +password = { type = "command_eval", value = "gpg2 --no-tty -q -d ~/.passwords/user.gpg" } +.Ed .Ss SmtpSecurity Default security type is .Em auto Ns |