dovecot ssl authentikacio
Sziasztok,
Segiseget kernek.
Debian squeeze , postfix+dovezot kombo
SSL authentikacioval kapcsolodnaék a serverhez ,de nem igzn sikerul.
A main.cf ez :
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = no
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/postfix.pem
smtpd_tls_key_file=/etc/ssl/private/postfix.key
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_sasl_type = dovecot
myhostname = mail.serverem.hu
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.serverem.hu, localhost,
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128, 192.168.0.0/16
#mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
home_mailbox = Maildir/
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_application_name = smtpd
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
dovecot.conf:
protocols = imaps
disable_plaintext_auth = no
info_log_path =/var/log/dovecot
log_timestamp = "%Y-%m-%d %H:%M:%S"
listen = *:143
ssl_listen= *:993
ssl_cert_file = /etc/ssl/localcerts/postfix.pem
ssl_key_file = /etc/ssl/localcerts/postfix.key
ssl_key_password=secret
auth_username_format=%Lu
#mail_location = maildir:/home/it/%u/Maildir
mail_location = maildir:/home/%u/Maildir
login_process_per_connection = yes
protocol imap {
# listen = *:143
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}
auth default {
mechanisms = plain login
passdb pam {
}
userdb passwd {
}
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
dict {
}
plugin {
}
LOg:
2011-10-07 14:22:55imap-login: Info: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, TLS handshaking: SSL_accept() failed: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
Segitsetek legyszives !
Koszonom sztupi
- Tovább (dovecot ssl authentikacio)
- 1741 megtekintés