docs/meli.conf.5: add SmtpPassword examples

jmap-eventsource
Manos Pitsidianakis 2020-10-30 22:40:56 +02:00
parent 6392904047
commit 6cc43540d6
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 20 additions and 1 deletions

View File

@ -1077,19 +1077,38 @@ subsection
For type "auto": For type "auto":
.Bl -tag -width 36n .Bl -tag -width 36n
.It Ic username Ar String .It Ic username Ar String
.It Ic password Ar String|SmtpPassword .It Ic password Ar SmtpPassword
.It Ic require_auth Ar bool .It Ic require_auth Ar bool
.Pq Em optional .Pq Em optional
require authentication in every case require authentication in every case
.\" default value .\" default value
.Pq Em true .Pq Em true
.El .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 .Ss SmtpPassword
.Bl -tag -width 36n .Bl -tag -width 36n
.It Ic type Ar "raw" | "command_evaluation" .It Ic type Ar "raw" | "command_evaluation"
.It Ic value Ar String .It Ic value Ar String
Either a raw password string, or command to execute. Either a raw password string, or command to execute.
.El .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 .Ss SmtpSecurity
Default security type is Default security type is
.Em auto Ns .Em auto Ns