[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postfix-tls i autentykacja smtp przez pam



On Fri, 7 Mar 2003, Tomasz T. Ciaszczyk wrote:

> Ja mam taki zagwozdz:
> postfix-tls + sasl na pamach (poza chrootem).
:) wczoraj wieczorem miałem iluminację, zresztą dzięki mailom od Grzegorza
Kolorza (dzieki :)

zaczęło to diabelstwo działać po:

master.cf:
----------

smtp      inet  n       n       n       -       -       smtpd

smtps     inet  n       -       n       -       -       smtpd -o
smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes

587       inet  n       -       n       -       -       smtpd -o
smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes

main.cf:
--------

smtpd_sasl_auth_enable=yes
broken_sasl_auth_clients = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated
smtpd_tls_receieived_header = yes
smtpd_use_tls = yes
#wymusza z korzystania z SMTP AUTH tylko  po tunelach TLS
#smtpd_tls_auth_only = yes
tls_random_source=dev:/dev/urandom
smtpd_tls_cert_file = /etc/ssl/certs/poczta.pem
smtpd_tls_key_file =$smtpd_tls_cert_file

/etc/postfix/sasl/smtpd.conf:
-----------------------------

pwcheck_method: pam
mech_list: plain login

---
Speak softly and carry a +6 two-handed sword.

PGP key fingerprint:
6896 B27A 7D31 484D 5AF9  12F6 BB0B E43A 5B74 164D







Reply to: