Uwierzytelnianie Dovecot SASL w Postfix

Zainstaluj Dovecot
[bash]apt-get install -y dovecot-imapd dovecot-pop3d
[/bash]
W pliku [code]/etc/dovecot/dovecot.conf[/code] dodaj
[code]service auth {
# Postfix smtp-auth
unix_listener /var/spool/postfix/private/auth {
mode = 0666
user = postfix
group = postfix
}
}[/code]
W konsoli podajesz
[bash]postconf -e 'smtpd_sasl_local_domain = $mydomain, $myhostname'
postconf -e 'smtpd_sasl_auth_enable = yes'
postconf -e 'smtpd_sasl_type = dovecot'
postconf -e 'smtpd_sasl_path = private/auth'
postconf -e 'smtpd_sasl_security_options = noanonymous'
postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination'[/bash]

Przeładuj Postfix
[bash]service postfix reload
[/bash]

Przeładuj Dovecot
[bash]service dovecot reload
[/bash]

Zastosowanie: 

Uwierzytelnianie Dovecot w Postfix

Wiedza: 
Praktyczna