proc mi nejde SASL SMTP
Gabriel
gabriel at maxpark.cz
Wed Jan 28 22:17:48 CET 2009
On Wed, 28 Jan 2009 20:44:45 +0100, Martin Bubik
<martin.bubik at flashlink.cz> wrote:
> Postfix mi v zakladu funguje, emaily prichazeji. IMAP pres dovecot
> funguje taky vcetne TLS, SSL a zabezpecene autentizace.
> Nicmene potrebuju zabezpecit SMTP pro odesilani emailu zabezpecenou
> autentizaci (uzivatel + heslo) vcetne TLS
> abych nemusel kazdou IP zadavat do mynetworks coz se mi nedari rozchodit.
>
> main.cf postfixu:
> #smtpd_sasl_auth_enable = yes
> smtpd_tls_key_file = /etc/ssl/private/dovecot.pem
> smtpd_tls_cert_file = /etc/ssl/certs/dovecot.pem
> smtpd_tls_security_level = may
> smtpd_use_tls=yes
> smtpd_sasl_authenticated_header = yes
> smtpd_sasl_type = dovecot
> smtpd_sasl_path = private/auth
>
> tak jak to je ted to jeste funguje, v okamziku kdy odkomentuju prvni
> radek smtpd_sasl_auth_enable = yes
> tak smtp spadne.
>
main.cf:
...
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = mail.<tvoja_domena>.<tld>
broken_sasl_auth_clients = yes
...
dovecot.conf:
...
auth default {
mechanisms = plain login
passdb passwd {
}
passdb sql {
args = /usr/local/etc/dovecot-sql.conf
}
userdb passwd {
}
userdb sql {
args = /usr/local/etc/dovecot-sql.conf
}
user = root
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0660
user = maildrop
group = maildrop
}
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
...
Mozno pomoze. Vid moj mail par dni dozadu do konfery na podobny problem.
More information about the Users-l
mailing list