ssl3 mailx e rejeição

1

Eu configurei um servidor de e-mail (postfix com tsl3) e alcancei o objetivo para remover ssl2, mas o thunderbird funciona perfeito, mailx no. Eu fiz

echo prova|mail -S smtp-use-starttls user@domain

e todos os e-mails são devolvidos

said: 530 5.7.0 Must issue a STARTTLS command first (in reply to MAIL FROM command))
I use this configuration
master.cf

smtp      inet  n       -       n       -       -       smtpd
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_enforce_tls=yes
    -o smtpd_client_restrictions=permit_sasl_authenticated,permit_mynetworks,reject

main.cf

smtpd_sender_restrictions =
    permit_sasl_authenticated,
    permit_mynetworks,
    reject_non_fqdn_sender,
    reject_sender_login_mismatch,
    reject_authenticated_sender_login_mismatch,
    reject_unauthenticated_sender_login_mismatch,
    reject

# TLS parameters
smtp_use_tls=yes
smtpd_use_tls=yes
smtpd_tls_received_header = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_auth_only = no
smtpd_tls_CAfile = /etc/ssl/certs/domain.local.crt
smtpd_tls_cert_file=/etc/ssl/certs/slackware.domain.local.crt
smtpd_tls_key_file=/etc/ssl/private/slackware.domain.local.key
smtpd_tls_mandatory_ciphers = high
smtpd_tls_mandatory_exclude_ciphers = aNULL, MD5
smtpd_tls_mandatory_protocols = SSLv3

Thunderbird ok, mas mailx não, eu tento

mail -S smtp-use-starttls

Claro que o correio está ligado ao SSL.

    
por elbarna 11.11.2014 / 20:14

1 resposta

0

Solução encontrada

No main.cf

smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
smtpd_tls_protocols = !SSLv2, !SSLv3
smtp_tls_mandatory_protocols = !SSLv2, !SSLv3
smtp_tls_protocols = !SSLv2, !SSLv3

no master.cf

smtp      inet  n       -       n       -       -       smtpd
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_client_restrictions=permit_sasl_authenticated,permit_mynetworks,reject

Ssl3 e 2 desativados e correio recebido

    
por 04.01.2015 / 16:24

Tags