-
smtp_sasl_security_options (default: noplaintext, noanonymous)
Postfix SMTP client SASL security options; as of Postfix 2.3 the list of available features depends on the SASL client implementation that is selected with smtp_sasl_type.
The following security features are defined for the cyrus client SASL implementation:
Specify zero or more of the following:
noplaintext
Disallow methods that use plaintext passwords.
noactive
Disallow methods subject to active (non-dictionary) attack.
nodictionary
Disallow methods subject to passive (dictionary) attack.
noanonymous
Disallow methods that allow anonymous authentication.
mutual_auth
Only allow methods that provide mutual authentication (not available with SASL version 1).
Example:
smtp_sasl_security_options = noplaintext
-
Quem quiser saber mais sobre o assunto, só entrar no site e dar os devidos créditos ao autor, segue link:
https://epxx.co/artigos_3rd/artigo_smtp-postfix.html
-
# specify SMTP relay host
relayhost = [mail.isp.example]:587
# enable SASL authentication
smtp_sasl_auth_enable = yes
# disallow methods that allow anonymous authentication.
smtp_sasl_security_options = noanonymous
# where to find sasl_passwd
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
# Enable STARTTLS encryption
smtp_use_tls = yes
# where to find CA certificates
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
-
O massa é que NINGUÉM RESPONDEU onde está o erro.
-
smtp_sasl_security_options se refere a autenticação e não a fazer relay.
-
Dois erros:
1) O Postfix não consegue fazer relay.
2) O comando smtp_sasl_security_options refere_se à autenticação.
bons estudos!